.app{
    overflow: hidden;
}


/* NAV */

header{
    position: fixed;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px 0 15px;
    background-color: var(--bg-primary);
    z-index: 999;
}

header img{
    width: 100px;
    object-fit: contain;
}


.mobile{
    position: relative;
    width: 90%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: right;
}

.navbar-list a{
    padding: 0 25px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    color: var(--secondary);
    transition: .2s ease;
}

.navbar-list a:hover{
    color: var(--hover-text);
    text-decoration: underline;
}

/* NAV MOBIL */
.mobile input[type="checkbox"]{
    display: none;
}

.toggle_button{
    width: 30px;
    height: 23px;
    position: absolute;
    top: 18px;
    right: 25px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer; 
    transition: .5s ease; 
}

.bar{
    height: 4px;
    width: 100%;
    background: var(--secondary);
    border-radius: 100px;
}

.toggle_button:hover{
    transform: translateY(-3px);
}

@media(max-width: 768px){
    .toggle_button{
        display: flex;
    }

    #toggle_button:checked ~ .navbar-list{
        transform: translateX(0);
    }

    .mobile{
        width: 100%;
    }

    .navbar-list{
        position: absolute;
        top: 65px;
        right: -15px;
        width: 100%;
        height: 90vh;
        background: var(--bg-secondary);
        display:flex;
        flex-direction: column;
        align-items: center;
        overflow: hidden;
        transform: translateX(100%);
        transition: 0.4s;
        text-align: center;
        border-radius: 50% 0 50% 0;
    }

    .navbar-list :nth-child(1){
        margin-top: 40px;
    }

    .navbar-list a{
        height: min-content;
        width: 100%;
        padding: 5px;
        margin-bottom: 40px;
    }

    .navbar-list a{
        padding: 15px;
    }

    .navbar-list a:hover{
        transform: translateY(0px);
        scale: 1.2;
        background: var(--secondary);
    }
}

/* INTRO-SECTION */
.intro{
    position: relative;
    width: 100%;
    height: 100dvh;
    z-index: 1;
}

.intro_wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6.4rem;
    width: inherit;
    height: inherit;
    padding: var(--padding);
}

.intro_info{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.intro_title{
    text-align: center;
}

.intro_title h1{
    font-size: 16rem;
}

.intro_title_info{
    display: inline-flex;
    justify-content: space-between;
    width: 100%;
}

.intro_scroll{
    position: absolute;
    bottom: 0;
    left: 0;
    padding: var(--padding);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.intro_scroll span{
    display: block;
    font-size: 4rem;
}

.intro_media{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.intro_media_image{
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* MEDIA-SECTION */
.media{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 200dvh;
    z-index: 10;

    clip-path: polygon(40% 100%, 60% 100%, 60% 100%, 40% 100%);
    overflow: hidden;
}

.figure.media_figure{
    position: relative;
    width: 100%;
    height: inherit;
    overflow: hidden;
}

.media_figure::after{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
    background-color: var(--primary);
}

img.media_image{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CONTENT-SECTION */
.content{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100dvh;
    z-index: 20;
}

.content_wrapper{
    position: relative;
    width: inherit;
    height: inherit;
    padding: var(--padding);
}

.content_item{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: inherit;
    height: inherit;
    text-align: center;
}

.content_item_row{
    height: 50px;
    overflow: hidden;
}

/* .content_item_row:nth-child(2){
    padding: 4rem 0;
    text-transform: uppercase;
} */

.content_item_row_text{
    font-weight: 700;
    text-transform: capitalize;
    transform-origin: top left;
}


.content_media{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.content_media_figure{
    position: absolute;
    width: 25rem;
    height: 35rem;
}

.content_media_figure:nth-child(1){
    top: 10rem;
    left: 18rem;
}

.content_media_figure:nth-child(2){
    bottom: 12rem;
    right: 14rem;
    width: 35rem;
    height: 20rem;
}

.content_media_image{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
/* NEXT-SECTION */
.next{
    position: relative;
    width: 100%;
    height: 100dvh;
    z-index: 20;
    margin-bottom: 20px;
}

.next_wrapper{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    width: inherit;
    height: inherit;
    padding: var(--padding);

    background: linear-gradient(rgba(0, 0, 0, 0) 0%, var(--primary) 75%);
    overflow: hidden;
}

.next_wrapper img{
    position: absolute;
    width: 60%;
    object-fit: cover;
    z-index: -1;
    border-radius: 8px;
}

.next_item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: inherit;
    height: inherit;
    overflow: hidden;
    text-align: center;
}

.next_item ul{
    padding: 20px 10px;
    text-align: left;
    z-index: 2;
}

.next_item  ul li{
    font-size: 3.2rem;
    font-weight: 700;
}

.btn{
    position: relative;
    background: none;
    border: 2px solid var(--secondary);
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 20px;
    min-width: 200px;
    margin: 10px;
    cursor: pointer;
    transition: color 0.4s linear;
    color: var(--secondary);
    font-size: 2.8rem;
    z-index: 1;
}

.btn:hover{
    color: var(--bg-secondary);
}

.btn::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-clr);
    z-index: -1;
    transition: transform 0.5s;
    transform-origin: 0 0;
    transition-timing-function: cubic-bezier(0.5, 1.6, 0.4, 0.7);
}

.btn1::before{
    transform: scaleX(0);
}

.btn1:hover::before{
    transform: scaleX(1);
}

@media screen and (max-width: 768px){

    .media{
        height: 150dvh;
    }

    .next{
        height: 80dvh;
    }

    .next_wrapper img{
        width: 100%;
    }
}

/* GUIDE */

.guide{
    width: 100%;
    height: 100dvh;
}

.guide_wrapper{
    width: inherit;
    height: inherit;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide_instructions_text{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.guide_instructions_text ul{
    text-align: left;
}

.guide_instructions_text ul li{
    font-size: 2.8rem;
    line-height: 1.2;
}

/* ABOUT */

.about{
    width: 100%;
    padding: 80px 5% 0 5%;
}

.about h2{
    text-align: center;
    color: var(--secondary);
}

.about-wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0;
}

.about-text p{
    font-size: clamp(24px, 2.6rem + .15rem, 32px);
    color: var(--secondary);
    line-height: 175%;
}

.about-media{
    width: 50%;  
}

.about-media img{
    width: 100%;
    object-fit: cover;
    border-radius: 30px;
}

@media screen and (max-width: 768px){
    .about-wrapper{
        flex-direction: column;
    }

    .about-text p{
        text-align: center;
        font-size: 18px;
    }

    .about-media{
        margin-top: 50px;
    }
}


/* FOOTER */

.footer_container{
    width: 100%;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 150px;
}

.footer_container h3{
    font-size: clamp(22px, 2vw, 2rem);
}

.footer_container p{
    font-size: clamp(12px, 1.5vw, 1.5rem);
}

.footer_container :is(h3, p){
    color: var(--secondary);
    text-align: center;
    line-height: 175%;
}

.footer-content{
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 25px;
}

.footer-content a{
    text-decoration: none;
    color: var(--secondary);
    font-size: clamp(14px, 1.5vw, 1.5rem);
    text-align: center;
}

.footer-content a:hover{
    color: var(--bg-primary);
}

@media(max-width: 768px){
    .footer-content{
        justify-content: center;
        gap: 20px;
    }
}

/* RESPONSIVE */
@media screen and (max-width: 768px){

    :root{
        --padding: 3.2rem;
    }

    html{
        font-size: calc(100vw / 768 * 10);
    }

    h1{
        font-size: 8rem;
    }

    h2{
        font-size: 6rem;
    }

    h3{
        font-size: 4rem;
    }

    .intro_title h1{
        font-size: 10rem;
    }

    .content_media_figure:nth-child(1){
        left: 8rem;
    }

    .content_media_figure:nth-child(2){
        right: 4rem;
    }
}