@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: #ba00c0;

--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;
}

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

.navbar a{
    color: var(--text-color);
    font-size: var(--p-font);
    font-weight: 500;
    margin: 15px 22px;
    transition: all .50s ease;
}/*jednotlive prokliky v navbaru*/

.navbar a:hover{
    color: var(--main-color);
}/*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*/

.nadpis{
    position: relative;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: bottom center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}


.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: var(--bg-color);
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: all .50s ease;
    cursor: pointer;
}/*upravuje vsechny talcitka*/

.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-img img{
    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;

}
.con{

width: 100vw;
height: 20vh;
display: flex;
justify-content: center;
align-items: center;
}
.content{
    top: 50%;
    position: relative;
    transform: translateY(-50%);
    color: white;
}

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


}

.cas-vydani{
display: flex;
}

.cas-vydani div{
    flex-basis: 100px;
}
.cas-vydani div p{
    font-size: 60px;
    margin-bottom: -14px;
}

.datum-text{
    font-size: 60px;
    margin-bottom: 0%;
    text-align: center;
    margin-top: 5%;
}/*odpocet do vydani*/



.test{
    margin-top: 5%;


}
.testhry{
margin-top: 5%;


}
.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;
    margin-top: 5%;
    position: relative;
    
}/*galerie*/

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

.carousel-image {
    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;
    border: none;
    cursor: pointer;
}
/*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*/