@font-face {
    font-family: Anybody;
    src: url(fonts/Anybody.ttf);
    line-height: normal;
  }

  @font-face {
    font-family: OpenSans;
    src: url(fonts/OpenSans.ttf);
    line-height: normal;
  }

  .noscroll {
    touch-action: none;
  }


* {
    margin: 0;
    padding: 0;
    font-family: Montserrat;
    text-decoration: none;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: #000;
}

html {
    scroll-behavior: smooth;
}

p {
    text-wrap: wrap;
}

.section h1 {
    font-size: 40px;
    margin-top: 10px;
    font-weight: bold; 
}


h2 {
    font-size: 40px;
    margin-top: 10px;
    font-weight: bold; 
}

header.pc {
        display: block;
    }

    header.mobile {
        display: none;
    }
  

header * {
    color:rgb(255, 255, 255);   

 }

header.pc {
    width: 100%;
    padding-block: 40px;
}

header.pc > div > img, header.pc > div > a > img {
    max-width: 240px;
    margin-top: -15px;
    margin-right: -80px;
}

header.pc > div > a {
    height: fit-content;
}

header.pc > div > a {
    font-weight: bold;
    font-size: 20px;
}

header.pc > .flex-c {
    padding-inline: 120px;
    
}

header.pc  .flex-c {
    justify-content: space-between;
    flex-direction: row;

}

header.pc > .flex-c .flex-c {
    height: fit-content;
    justify-content: space-between;
    gap:60px;
    font-weight: bold;
    font-size: 24px;
}

.section {
   width: 100%;
   background-color: #ffffff;
   padding-block: 50px;
}

.max-1200 {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.container {
    display: flex;
    flex-direction: row;
    max-width: 100%;
}



.mt-15 {
    margin-top: 15px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-60 {
    margin-top: 60px;
}

.mt-120 {
    margin-top: 120px;
}


.mb-30 {
    margin-bottom: 30px;
}
.gap-30 {
    gap: 30px;
}

.gap-120 {
    gap:120px;
}

.r-gap-30 {
   row-gap:30px;
}

.center {
    display: flex;
    justify-content: center;
}

.text-center {
    text-align: center;
}

.a-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.v-center {
    display: flex;
    align-items: center;
}

.col {
    flex-direction: column;
}


.flex-c {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;

}

.icon {
    width: 52px;
}

.btn {
    color:white;
    padding: 13px 70px;
    font-size: 24px;
    background-color: #766454;
    border-radius: 10px;
    font-family: OpenSans;
}


.section > p {
    display: block;
    margin-top: 30px;
    text-align: center;
    font-size: 24px;
    white-space: normal;
}



.shadow {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.c-shadow > *{
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}



.card {
    background-color: #F8F8F7;
    height: 200px;
    width: 350px;
    min-width: 150px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 35px;
}

.flex-one {
    flex: 1;
}

.img-l {
   max-width: 650px;
   min-width: 200px;
   width: 100%;
   border-radius: 15px;
   height: auto;
  /* margin-inline: 20px;*/
}

.between {
    display: flex;
    justify-content: space-between;
}

.even {
    display: flex;
    justify-content: space-evenly;
}

.flex-wrap {
    flex-wrap: nowrap;
}



footer  {
    background-color: #F4F3F2;
    
}

footer.section {
    padding-bottom: 25px;
}

footer img {
    max-width: 200px;
    
}

/* transitions */

nav > a:hover {
    filter: brightness(85%);
}

/* .card, .card-img {
    transition: 0.1s ease;
}

.card:hover, .card-img:hover {
    transform: scale(105%);
    transition: 0.1s ease;
}
 */
.btn {
    transition: 0.1s ease;
}

.btn:hover {
    filter: brightness(80%);
    transition: 0.1s ease;
}

.hamburger {
    transition: 0.2s ease;
}

.hamburger:hover {
    filter: brightness(80%);
    transition: 0.2s ease;
}




/* CUSTOM */




.icon-home {
    height: 30px;
    width: 30px;
    margin-top: -8px;
    padding: 0;
}


.btn-to-top {
    visibility: hidden;
    border-radius: 15px;
    position: fixed;
    right: 20px;
    bottom: 20px;
    height: 50px;
    width: 50px;
    background-color: #766454cc;
    opacity: 0;

    transition: opacity 0.3s ease;

}

.btn-to-top.visible {
    visibility: visible;
    opacity: 1;

}

.btn-to-top img {
    padding-top: 5px;
    height: 30px;
    width: 30px;
}

.hamburger {
    position: relative;;
    width: 62px;
    height: 62px;
    cursor: pointer;
    z-index: 999;
   /*  border: 1.5px solid white;
    border-radius: 10px; */
}
.menu-expand {
    position:absolute;    
    display: none;
    z-index: 2;
}



 .menu-expand.active {
    display: flex;
    opacity: 100%;
    top: 0;
    left: 0;
    bottom: -20%;
    padding-bottom: 20%;
    right: 0;
    background-color: rgba(53, 53, 53, 0.938);
    font-size: 40px;
} 






.bar {
    position: absolute;
    background-color: #ffffff;
    height: 7px;
    width: 80%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}



.bar:nth-child(1)
{
    top:20%;
}

.bar:nth-child(2)
{
    top:50%;

}
.bar:nth-child(3)
{
    top: 80%;
}

.section.section-main {
    background: linear-gradient(to top ,rgba(255,255,255,1) ,rgba(255,255,255,0.0) 10%,rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url(images/hero.webp);
    height: 111vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 0;
    color: white;
    margin-bottom: -1px;

}


.hero-container {
    position: absolute;
    left:50vw;
    top: 50vh;
    transform:  translateX(-50%) translateY(-50%);
    z-index: 1;

}

.section-main p.hero-text{
    padding-top: 40px;
    font-size: 80px;
    font-weight: 800;
    max-width: 900px;
    text-align: center;
}

.section-main > p{
    padding-top: 40px;
    font-size: 20px;
    max-width: 710px;
    font-weight: 200;
    text-align: center;
}


header .icon {
    position: absolute;
    left:-45px;
    top: 7px;
    height: 35px;
    width: 35px;
}

header > .flex-c > a {
    position: relative;
}

.section:nth-child(odd):not(:nth-child(0))
{
    background-color: #F8F8F7;
}

footer {
    padding-bottom: 10px;
}

#kontakt .card {
    font-weight: 400;

}

.card-img {
    height: 190px;
    max-width: 585px;
    min-width: 300px;
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: auto 2fr;
    border-radius: 15px;
    font-weight: bold;
    font-size: 30px;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.15);
}

.card-img img {
    height: inherit;
    width: auto;
    border-radius: 15px 0 0 15px;
}

.card-img p {
    margin-left: 30px;
}

#kontakt .card {
    min-width: 350px;
    font-size: 24px;
    max-width: 500px;
}


.gallery-grid {
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap:2vw;
    overflow: hidden;
    max-width: 1200px;


}

.gallery-grid .g-img {
    display: block;
    object-fit: cover;
    width: 100%;
    aspect-ratio: 1 / 1;

    border-radius: 15px;
    grid-area: span 1/span 1;
    transition: filter 0.15s ease;

}

.gallery-grid .g-img:hover {
    filter: brightness(0.5) blur(1px);
    transition: filter 0.15s ease;
    cursor: pointer;
}

.gallery-popup {
    z-index: 999;
    position: fixed;
    left: 0;
    right: 0;
    top:0;
    bottom:0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.8));
    height: 120vh;
    width: 100vw;
    padding-bottom: 20vh;
}

.gallery-popup .arrow, .gallery-popup .close {
    position: fixed;
    height: 120px;
    width: auto;
    z-index: 1001;
    cursor: pointer;
    transition: filter 0.1s ease-out;

}

.gallery-popup .arrow:hover, .gallery-popup .close:hover {
    filter: brightness(70%);
    transition: filter 0.1s ease-in;
}

.gallery-popup .arrow-left {
    left:1.5vw;
    top:50%;
    transform: translateY(-50%) rotate(-90deg);
}

.gallery-popup .arrow-right {
    right:1.5vw;
    top:50%;
    transform: translateY(-50%) rotate(90deg);
}

.gallery-popup .close {
    top:1.5vw;
    right: 1.5vw;
    height: 50px;

}



.gallery-popup img {
   max-height: 95vh;
   max-width: 95vw;
   object-fit: contain;
    z-index: 1000;
   
}

.gallery-popup .toolbar {
    width:100%;
    max-width: 1000px;
}

.gallery-popup .toolbar a {
    display: block;
    cursor: pointer;
    background-color: white;
}


@media only screen and (max-width: 1500px) {

.flex-wrap {
     flex-wrap:wrap;
     justify-content: center;
}

.card-img {
    height: 140px;
    font-size: 25px;

}

#kontakt .card {
    font-size: 20px;
    
}

}


@media only screen and (max-width: 1220px) {

 
   /* TADY SE BDUE VYPINAT PC HEADER A ZAPNE SE MOBILNI MENU*/
    header.pc {
        display: none;
    }

    header.mobile {
        display: block;
        padding-top: 25px;
    }


    header.mobile > div > img{
        max-width: 200px;
        margin-top: -7px;
        margin-right: -80px;
    }

    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    
    }
   


    .gallery-popup .arrow {
        display: none;
    
    }

    .gallery-popup .close {
        top:3vw;
        right: 3vw;
        height: 50px;
    
    }
  
    }



@media only screen and (max-width: 1000px) {

    
    
   

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-main p.hero-text{
   
    font-size: 40px;
    }

    
  
    }
    

    @media only screen and (max-width: 850px) {

        .section h2 {
        font-size: 30px;

        }

        .section h1 {
            font-size: 30px;
    
            }
        
        .card-img {
            height: 90px;
         font-size: 20px;

        }

        .card {
          
            font-size: 25px;
        }
        
        }
        



