@import url('https://fonts.googleapis.com/css2?family=Capriola&display=swap');
html{
    scroll-behavior: smooth;
}
body {
    font-family: 'Capriola', sans-serif;
    background-color: #d0bcf1;
    color: #261e36;
    margin: 0; 
    padding: 0;
    overflow-x: hidden; 
}

#landing {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    position: relative;
    padding-top: 8vh; 
    box-sizing: border-box;
}

#landing-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 90%;
    z-index: 2; 
}

#landing-left #logo {
    width: 100%;
    max-width: 250px;
    margin-bottom: 10px;
}

#logo img {
    width: 100%;
    height: auto;
}

#landing-left p {
    font-size: clamp(16px, 5vw, 22px);
    margin-bottom: 20px;
    font-weight: bold;
}

.button {
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%); 
    z-index: 10;
}

.next-btn img {
    width: 60px;
    transition: transform 0.2s ease; 
}

.next-btn:hover img {
    transform: translateY(5px);
}

#landing-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end; 
    flex-grow: 1; 
    width: 100%;
    pointer-events: none; 
    margin-bottom: 5px;
}

#landing-right img {
    width: 100%;
    max-width: 450px;
    height: auto;
    max-height: 60vh; 
    object-fit: contain;
    object-position: bottom center; 
    display: block;
    margin-bottom: 60px;
    margin-right: 40px;
}

.content-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 5vh 0;
    box-sizing: border-box;
    gap: 30px;
}

.section-content {
    display: contents; 
}

.up-btn { order: 1; }
.text-and-video { order: 2; }
.section-image { order: 3; }
.down-btn { order: 4; }

.nav-btn img {
    width: 50px;
    transition: transform 0.2s ease;
}

.nav-btn:hover img {
    transform: scale(1.1);
}

.text-and-video {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.text-and-video h2 {
    font-size: clamp(22px, 5vw, 36px);
    margin: 0;
}


.video-frame {
    width: 80vw;
    max-width: 400px;
    aspect-ratio: 16 / 9; 
    background-color: #261e36;
    border-radius: 15px;
    overflow: hidden; 
    box-shadow: 0 10px 20px rgba(38, 30, 54, 0.2); 
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.section-image img {
    width: 60vw;
    max-width: 300px;
    height: auto;
    object-fit: contain;
}
footer{
    padding-left: 5%;
    padding-bottom: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
footer a:link, a:visited {
    color: #634b7b;
    text-decoration: none;
    font-weight: bold;
}
footer a:hover{
color: #261e36;
}
@media (min-width: 768px) {
    
    #landing {
        flex-direction: row; 
        padding-top: 0;
        overflow: hidden;
    }

    #landing-left {
        width: 50%;
        height: 100vh;
        justify-content: center; 
        padding-left: 5vw; 
    }

    #landing-left #logo {
        max-width: 350px; 
    }

    #landing-left p {
        font-size: clamp(20px, 2.5vw, 30px);
        margin-bottom: 40px;
    }

    .button {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
    }

    .next-btn img {
        width: 70px;
    }

    #landing-right {
        width: 50%;
        height: 100vh;
        justify-content: flex-end;
        align-items: flex-end; 
    }

    #landing-right img {
        max-width: 90%; 
        max-height: 90vh; 
        object-position: bottom right; 
        margin-right: -2vw; 
    }

    .content-section {
        flex-direction: row; 
        justify-content: space-evenly;
        padding: 0 10vw;
        gap: 0;
    }

    .section-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 45%;
        gap: 30px;
        order: 2; 
    }

    .video-frame {
        width: 100%;
        max-width: 450px;
    }

    .section-image {
        width: 45%;
        display: flex;
        justify-content: center;
        order: 1;
    }
    
    .section-image img {
        max-width: 400px;
        width: 100%;
    }

    .content-section:nth-child(odd) {
        flex-direction: row-reverse;
    }
}