/* main site sections */
html{
    height: 100%;
}
@font-face {
    font-family: 'Century Gothic';
    src: url('fonts/CenturyGothic.ttf') format('truetype'),
}
body{
    min-height: 100%;
    margin: 0;
    font-family: 'century-gothic','Century Gothic', 'Poppins', sans-serif;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}
@media (max-width: 1080px) {
    body {
      font-size: 15px;
    }
    .a2{
        margin-left: 2vh;
    }
  }
.container{
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1000px) {
    .container {
        flex:auto;
        height: 25vh;
    }
  }
  @media (max-width: 385px) {
    .container {
      height: 35vh;
    }
  }
.a1{
    margin-top: 3vh;
    float: left;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: self-start;
}
.a2{
    float: left;
    width: auto;
    margin-top: 3vh;
    margin-left: 5vh;
    min-width: 150px;
    align-self: self-start;
    align-items: start;
    text-align: left;

}
.a3{
    float: right;
    min-width: 150px;
    align-self: self-start;
    margin-right: 5vh;
    margin-top: 3vh;
}
.a4{
    text-align: center;
    padding: 0;
    padding-top: 20vh;
    padding-bottom: 20vh;
}
.a5{
    display: block;
    text-align: center;
    
    padding-bottom: 25vh;
    margin-left: 3vw;
    margin-right: 3vw;
    color: #d3d3d3;
}
h2{
    font-size: 30px;
    margin: 0;
    margin-top: 5vh;
    margin-left: 5vh;
    font-weight: normal;
    color: #d3d3d3;
}
@media (max-width: 768px) {
    h2{
        font-size: 20px;
    }
}
/* kontakt */
.kontakt{
    flex: 40vh;
    display: block;
    padding: 5vh;
    height: 30vh;
    color: #d3d3d3;
}
.kontakt p.secondary_content{
    margin-top: 40px;
    margin: 0;
}
.kontakt p.bottom_content{
    font-weight: bold;
    padding-top: 30px;
    margin: 0;
}
.kontakt p.main_content{
    font-weight: bold;
    padding-bottom: 30px;
    margin: 0;
}
/* about us gallery */
.about-us-gallery{
    margin: auto;
    display: grid;
    grid-template-columns: max-content(100%) repeat(2, 1fr);
    gap: 3vw;
    padding: 5vh;
    color: black;
}

.about-us-gallery-item.small{
    height: auto;
    
}
.about-us-gallery-item.small img{
    height: 100%;
    
}
.about-us-gallery-item.small p{
    font-weight: bold;
    margin: 0;
    padding: 2vh;
    height: max-content;
    text-align: center;
}
.about-us-gallery-item.wide {
    grid-column: span 2;
    
} 
.about-us-gallery-item.wide p {
    margin: 0;
    position: relative;
    text-align: justify;
} 
.about-us-gallery-item img {
    
    object-fit: cover;
    position: relative;
    top: 0;
    left: 0;
    width: 30vw;
    margin: 0;
}
@media (max-width: 768px) {
    .about-us-gallery {
        grid-template-columns: 1fr;
        display: block;
    }
    .about-us-gallery-item img {
        width: calc(100% + 3vw);
    }
  }
  
  @media (max-width: 480px) {
    .gallery {
      grid-template-columns: 1fr;
    }
  }
/* project gallery */
.project-gallery{
    margin: 0px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1vh;
    padding: 5vh;
    
}
.project-gallery-item{
    position: relative;
    display: inline-block;
    height: auto;
    object-fit: cover;
    padding-top: 30vw;
    top: 0;
    left: 0;
}

.project-gallery-item img {
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
}
.project-gallery-item.small{
    padding-top: 100%;
    
}
.project-gallery p{
    position: relative;
    overflow: hidden;
    margin: 0;
    top: 0;
    left: 0;
    text-align: justify;
}

.project-gallery-item.wide {
    grid-column: span 3;
    padding-top: 100%;
} 

.project-gallery-item.wide p {
    margin: 0;
    position: relative;
    text-align: justify;
}
.project-gallery-item.mid {
    padding-top: 30vw;
    grid-column: span 2;
}
.project-gallery-item.rectang{
    padding-top: 100%;
    grid-row: span 2;
    grid-column: span 2;
}
.project-gallery-item.tall{
    grid-row: span 2;
    padding-top: 100%;
}
@media (max-width: 1500px) {
    .project-gallery{
        grid-template-columns: repeat(1,1fr);
    }
    .project-gallery-item.wide {
        grid-column: span 1;
    }
    .project-gallery-item.mid{
        padding-top: 100%;
        grid-column: span 1;
    }
    .project-gallery-item.rectang{
        grid-row: span 1;
        grid-column: span 1;
    }
    .project-gallery-item.tall{
        grid-row: span 1;
    }
    
  }

/* Portfolio gallery */
.gallery{
    
    margin: 0px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1vh;
    padding: 5vh;

}
@media (max-width: 900px) {
    .gallery {
      grid-template-columns: 2fr;
    }
  }
.gallery-item img{
    width: 200px;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    min-width: 100%;
    height: 100%;
    display: block;
}
.gallery-item {
    position: relative;
    display: inline-block;
    height: auto;
    
}
.gallery-item.small{
    padding-top: 100%;

}
.gallery-item.tall {
    padding-top: 100%;
    grid-row: span 2;
} 

.gallery-item .overlay{

    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: rgba(255, 255, 255, 0.8);
}
.gallery-item .overlay:hover{
    opacity: 1;
    
}
.gallery-item.image:hover{
    cursor: pointer;
    opacity: 20%;
    
}
.text {
    font-weight: bold;
    color: #464646;
    font-size: 50px;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.text-small{
    color: #464646;
    font-size: 30px;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
@media (max-width: 1920px) {
    .text{
        font-size: 40px;
    }
    .text-small{
        font-size: 20px;
        top: 65%;
    }
  }
  @media (max-width: 1080px) {
    .gallery-item.tall {
        grid-row: span 1;
      }
    .text{
        font-size: 35px;
    }
    .text-small{
        font-size: 15px;
        top: 65%;
    }
  }
@media (max-width: 700px) {
    
    .text{
        font-size: 35px;
    }
    .text-small{
        font-size: 15px;
    }
  }

/* menu button */
.menu{
    
    padding: 0;
    display: none;
    flex-direction: column;
    position: absolute;
    background-color: transparent;
    border: none;
    position: relative;
    height: auto;
}
.menu a{
    padding-top: 3px;

    width: auto;
    text-decoration: none;
    color: #d3d3d3 ;
    transition: color 0.5ms;
    cursor: pointer;
    display: block;
}

.menu a:hover {
    color: black;
}
.button{
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-around;
    background-color: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 0px;
}
.menu-shape{
    width: 25px;
    height: 25px;
    margin-top: 10px;
    background-color: #d3d3d3;
    transition: background-color 0.1s, border-rafius 0.5s;
}
@media (max-width: 1080px) {
    .menu-shape{
        width: 20px;
        height: 20px;
    }
  }
@media (max-width: 768px) {
    .menu-shape{
        width: 15px;
        height: 15px;
    }
  }
.arrow-left {

  margin-top: 10px;
  height: 5px;
  width: 30px;
  background-color:  #d3d3d3;
}
.arrow-left:hover{
    background-color: black;
}

.button:hover .menu-shape {
    border-radius: 50%;
}
.button:hover .menu-shape:nth-child(2) {
    background-color: black;
}
.backspace{
    margin-top: 10px;
    height: 2px;
    width: auto;
    background-color:  #d3d3d3;
}
/* language selection menu */
.language-menu{
    height: 80px;
    padding: 10px;
    text-align: right;
}
.language-menu a {
    text-decoration: none;
    display: block;
    color: #d3d3d3;
    float: right;
    margin-left: 20px;
    width: auto;
}
.language-menu a:hover{
    color: black;
}


/* main logo */
.logo-img {
    width: 30vw;
    display: block;
    margin: auto;
    cursor: pointer;
    margin-top: 2vh;
    
}
/* footer */
footer{
    display: block;
    padding-bottom: 30px;
    position: relative;
    width: 100%;
    height: auto;
    text-align: center;
    color: #d3d3d3;
    bottom: 0;
}
.no-underline-text{
    height: max-content;
    text-decoration: none;
}
svg {
    padding-left: 40px;
    fill: #d3d3d3;
    transition: fill 0.5ms;
    cursor: pointer;
    height: 50px;
    width: auto;
}
svg:hover{
    fill: black;
}
@media (max-width: 768px) {
    svg {
      height: 30px;
      padding: 10px;
      width: auto;
    }
footer p{
    margin: 8px;
}


  @media (max-width: 768px) {
    .gallery {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 480px) {
    footer{
        font-size: 15px;
    }
    .menu a{
        font-size: 15px;
    }
    .a2{
        min-width: 100px;
        margin-left: 20px;
    }
    .a3{
        min-width: 100px;
        margin-right: 20px;
    }
    .gallery {
      grid-template-columns: 1fr;
    }
  }
