@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

*{
padding: 0;
margin: 0;
box-sizing: border-box;
list-style: none;
text-decoration: none;
border: none;
outline: none;
scroll-behavior: smooth;

}/*pro celou stranku*/
:root{
--text-color: #fff;
--bg-color: #000000;
--main-color: purple;

--h1-font: 6rem;
--h2-font: 3rem;
--p-font: 1rem;
}/*na pevno danna barva kde staci prepsat a zmeni se na cele strance*/

body{
    font-family: "Montserrat", sans-serif;
    color: var(--text-color);
    background: var(--bg-color);
    background: url("img/pozadi.jpg")  ; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

header{
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    background: transparent;
    padding: 27px 17%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all .50s ease;
}
.scrolled .navbar a{
    opacity: 0%;
    transition: 0.5s;
}

.scrolled .ikonka{
    opacity: 0%;
    transition: 0.5s;
}


span{
    color: var(--main-color);
}/*meni barvu pouze u span např. lean v Koleanskey*/
.navbar{
    display: flex;
}/*navbar*/

.navbar a{
    color: white;
    background:none;
    font-size: var(--p-font);
    font-weight: 500;
    margin: 15px 22px;
    padding: 10px 20px;
    transition: all .50s ease;
    display: inline-block;
    border: 2px solid purple;
    text-decoration: none;
    border-radius: 5px;
    transition: color 0.3s ease, background-color 0.3s ease, padding 0.3s;
    
}/*jednotlive prokliky v navbaru*/

.navbar a:hover{
    color: white;
    background:none;
    font-size: var(--p-font);
    font-weight: 500;
    margin: 15px 22px;
    padding: 10px 25px;
    transition: all .50s ease;
    display: inline-block;
    border: 2px solid purple;
    text-decoration: none;
    border-radius: 5px;
    transition: color 0.3s ease, background-color 0.3s ease, padding 0.3s;

    
}/*zmena navbaru pri prejeti*/


.ikonka{
    display: flex;
    align-items: center;
}/*ikony vpravo nahore*/



.ikonka a{
    vertical-align: middle;
    font-size: 20px;
    color: var(--text-color);
    margin-right: 18px;
    margin-left: 5px;
    transition: all .50s ease;
}/*jednotlive ikony*/

.ikonka a:hover{
    color: var(--main-color);
    transform: translateY(-1px);
}/*zmena ikony po prejeti*/

#menu-icon{
    color: var(--text-color);
    font-size: 30px;
    cursor: painter;
    z-index: 10001;
    display: none;
}/*ukaze ikonku pro menu*/

section{
    padding: 70px 17% 60px;
}/*jednotlive sekce*/


.Home img{
    width: 50%;
    height: auto;
    border-radius: 10px;
    display: block;
    padding-top: 10%;
    margin-left: auto;
    margin-right: auto;
}


.nadpis-text h1{
    font-size: var(--h1-font);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}
.nadpis-text p{
    font-size: var(--p-font);
    font-weight: 500;
    line-height: 30px;
    color: #ffffff;
    margin-bottom: 35px;

}
.btn {
    display: inline-block;
    padding: 13px 40px;
    background: var(--main-color);
    color: white;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: all .50s ease;
    cursor: pointer;
}/*upravuje vsechny talcitka*/

.btn2 {
    display: inline-block;
    padding: 10px 20px;
    background: var(--main-color);
    color: white;
    font-size: 10px;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: all .50s ease;
    cursor: pointer;
}/*upravuje talcitko pro formular*/
.btn3 {
    display: inline-block;
    padding: 13px 40px;
    background: var(--main-color);
    color: white;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 5px;
}

.btn:hover{
    transform: translateY(5px);
    border: 2px solid vad(--text-color);
    background: transparent;
    color: var(--text-color);
    text-decoration: underline;

}/*zmena tlacitka pri prejeti*/
.studio{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 9rem;
}
.studio-img img{
    width: 100%;
    height: auto;
    border-radius: 10px;
}/*jednotlive obrazky*/
.studio-text h5{
    font-size: 22px;
    font-weight: 600;
    color: var(--main-color);
    letter-spacing: 6px;
    margin-bottom: 20px;
}
.studio-text h2{
    font-size: var(--h2-font);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}
.studio-text p{
 font-size: var(--p-font);
 font-weight: 500;
 line-height: 30px;
 color: #ffffff;
 margin-bottom: 35px;
}/*odstavce*/
.stred-text{
    text-align: center;
}/*zarovna text na stred*/
.stred-text h2{
    font-size: var(--h2-font);
    font-weight: 800;
}
.tym-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, auto));
    align-items: center;
    gap: 3rem;
    margin-top: 5rem;
}
.box {
    position: relative;
}
.box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    filter: brightness(70%);
    transition: all .3s cubic-bezier(.499,.05,.55.95);
    will-change: filter;
    display: block;
}
.box h6 {
    position: absolute;
    left: 25px;
    bottom: 95px;
    font-size: 18px;
    font-weight: 500;
}
.box h4 {
    position: absolute;
    left: 25px;
    bottom: 65px;
    font-size: 20px;
    font-weight: 700;
}
.box img:hover{
    filter: brightness(50%) hue-rotate(50deq);
    transform: scale(1.04);
    
}
.stred-btn{
    text-align: center;
    margin-top: 4rem
}
.Culture{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 9rem;
}
.Culture-text ul {
    color: white;
    background:none;
    font-size: var(--p-font);
    font-weight: 500;
    padding: 10px 20px;
    transition: all .50s ease;
    display: inline-block;
    border: 2px solid purple;
    text-decoration: none;
    border-radius: 5px;
}
.studio-text ul {
    color: white;
    background:none;
    font-size: var(--p-font);
    font-weight: 500;
    padding: 10px 20px;
    transition: all .50s ease;
    display: inline-block;
    border: 2px solid purple;
    text-decoration: none;
    border-radius: 5px;
}
.Culture-img img{
    border-radius: 3%;
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.Culture-text h5{
    font-size: 22px;
    font-weight: 600;
    color: var(--main-color);
    letter-spacing: 6px;
    margin-bottom: 20px;
}
.Culture-text h2{
    font-size: var(--h2-font);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}
.Culture-text p{
 font-size: var(--p-font);
 font-weight: 500;
 line-height: 30px;
 color: #ffffff;
 margin-bottom: 35px;
}
.error-text{
    font-size: var(--h1-font);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-align: center;

}
.lean{
color: purple;

}

.content{
    top: 50%;
    position: relative;
    transform: translateY(-50%);
    color: white;
}

.content h1 {
font-size: 64px;
font-weight: 600;


}


.instagram{
    
    color: #fff;

}


.paticka{
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
    width: 100%;
    position: sticky;
    bottom: 0;
}
.beticka{
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
    width: 100%;
    position: fixed;
    bottom: 0;

}/*paticka na strankach kde puvodne nefungovala*/

.carousel-container {
    width: 100%;
    height: 80vh;
    overflow: hidden;
    position: relative;
    
}/*galerie*/

.carousel-images {
    height: 100%;
    position: relative; /* Přidáno */
}

.carousel-image {
    border: 3px solid purple;
    border-radius: 3%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%; /* Maximální šířka obrázku bude 100% rodičovského kontejneru */
    max-height: 100%; /* Maximální výška obrázku bude 100% rodičovského kontejneru */
    width: auto; /* Automatické nastavení šířky obrázku */
    height: auto; /* Automatické nastavení výšky obrázku */
    object-fit: contain; /* Zobrazení celého obrázku bez deformace */
    object-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}/*jednotlive obrazky*/

.carousel-image.active {
    opacity: 1;
}

.carousel-controls {
    position: absolute;
    bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.control-button {
    margin: 0 5px;
    padding: 5px 10px;
    background-color: #333;
    color: #fff;
    font-size: 30px;
    border: none;
    cursor: pointer;
    border: 2px solid purple;
    text-decoration: none;
    border-radius: 5px;
    
}

/*sipky na posouvani obrazku*/

@media (max-width: 1700px){
    header{
        padding: 18px 8%;
    }
    header.sticky{
        padding: 7px 8%;
    }
    section{
        padding: 50px 8% 40px;
    }
}
@media (max-width: 1200px){
    header{
        padding: 14px 5%;
    }
    header.sticky{
        padding: 7px 5%;
    }
    section{
        padding: 45px 5% 35px;
    }
    :root{
        --h1-font: 4.6rem;
        --h2-font: 2.8rem;
        --p-font: 15px;

    }
    .nadpis{
        height: 90vh;
    }

}
@media (max-width: 1050px){
    .feature-content{
        gap: 1.5rem;
    }
    .studio{
        gap: 3rem;
    }
    .Culture{
        gap: 3rem;
    }
    #menu-icon{
        display: block;
    }
    .navbar{
        position: absolute;
        width: 100%;
        height: 100vh;
        padding: 40px 60px;
        top: 0;
        bottom: 0;
        left: 100%;
        right: 0;
        display: flex;
        flex-direction: column;
        background: var(--bg-color);
        transition: all .50s ease;
    }
    .navbar a{
        display: block;
        color: #979797;
        padding: 0;
        margin: 0px 0px 40px 0px;
        font-size: 2.2rem;
        font-weight: 400;
    }
    .navbar.open{
        left: 0;
    }


}



@media (max-width: 800px){
    .studio{
        grid-template-columns: 1fr;
    }
    .Culture{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px){
    :root{
        --h1-font: 3.5rem;
        --h2-font: 2.1rem;
        
}
}
@media (max-width: 450px){
    header{
        padding: 12px 3%;
    }
    header.sticky{
        padding: 7px 3%;
    }
    section{
        padding: 60px 3% 50px;
    }
}
/*responzivita*/

.container header {
    font-size: 1.5rem;
    color: #333;
    font-weight: 500;
    text-align: center;
  }
  .container .form {
    margin-top: 30px;
  }
  .form .input-box {
    width: 100%;
    margin-top: 20px;
  }
  .input-box label {
    color: #333;
  }
  .form :where(.input-box input, .select-box) {
    position: relative;
    height: 50px;
    width: 100%;
    outline: none;
    font-size: 1rem;
    color: #707070;
    margin-top: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 15px;
  }
  .input-box input:focus {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  }
  .form .column {
    display: flex;
    column-gap: 15px;
  }
  .form .gender-box {
    margin-top: 20px;
  }
  .gender-box h3 {
    color: #333;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 8px;
  }
  .form :where(.gender-option, .gender) {
    display: flex;
    align-items: center;
    column-gap: 50px;
    flex-wrap: wrap;
  }
  .form .gender {
    column-gap: 5px;
  }
  .gender input {
    accent-color: rgb(130, 106, 251);
  }
  .form :where(.gender input, .gender label) {
    cursor: pointer;
  }
  .gender label {
    color: white;
  }
  .address :where(input, .select-box) {
    margin-top: 15px;
  }
  .select-box select {
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    color: #707070;
    font-size: 1rem;
  }
  .form button {
    height: 55px;
    width: 100%;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgb(130, 106, 251);
  }
  .form button:hover {
    background: rgb(88, 56, 250);
  }
/*formular*/
  @media screen and (max-width: 500px) {
    .form .column {
      flex-wrap: wrap;
    }
    .form :where(.gender-option, .gender) {
      row-gap: 15px;
    }
  }
  /*Responzivita*/

  .box{
    display: flex;
}
#upload{
    display: none;
}