*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Instrument Sans', sans-serif;
}
    
body{
    min-height: 100vh;
    width: 100%;
    background-color: black;
    overflow-x: hidden;
}

html{
    overflow-x: hidden;
}

body.no-scroll{
    overflow: hidden;
    height: 100vh;
}

#testtest{
    position: relative;
    height: 100%;
    overflow: hidden;
}

#smooth-content{
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.sectionnn{
    position: relative;
}

#cursor{
    position: fixed;
    background-color: rgb(224, 254, 83);
    z-index: 9999;
    height: 10px;
    width: 10px;
    border: none; 
    border-radius: 50%;
}

.page1{
    height: 100vh;
    width: 100%;
    background-color: black;
}

#main{
    display: none;
    background: transparent;
    padding: 1.5vw 2.5vw;
    position: relative;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
}

.intro{
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.nike-logo{
    height: 110px;
    position: fixed;
    top: 40px;
    left: 40px;
    z-index: 1200;
    cursor: pointer;
    display: block;
    opacity: 0;
    visibility: hidden;
}

.top-nav{
    position: fixed;
    top: 2vw;
    right: 2.5vw;
    display: flex;
    gap: 1.5rem;
    z-index: 1002;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0;
    visibility: hidden;
}

.top-nav a{
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.top-nav a:hover{
    color: rgb(243, 231, 82);
    border-color: rgb(243, 231, 82);
}

@media (max-width: 768px){
    .nike-logo{
        top: 20px;
        left: 20px;
        height: 80px;
    }

    .top-nav{
        top: 20px;
        right: 20px;
        gap: 1rem;
        letter-spacing: 0.12em;
    }

    .top-nav a{
        font-size: 0.8rem;
    }
}



.slogan-top{
    position: absolute;
    top: 25%;
    font-family: 'Instrument Sans', sans-serif;
    color: white;
    height: 40%;
    width: 40%;
    z-index: 5;
    pointer-events: none;
    overflow: visible;
}

.slogan-top::after{
    content: "";
    position: absolute;
    top: -10%;
    left: -15%;
    width: 160%;
    height: 140px;
    background: linear-gradient(110deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.4) 55%, rgba(255,255,255,0) 100%);
    filter: blur(12px);
    opacity: 0;
    transform: translateX(-140%) rotate(-8deg);
    animation: snakeTrail 10s ease-in-out infinite;
    pointer-events: none;
    box-shadow: 0 0 35px rgba(255,255,255,0.65);
}

.slogan-top h2,
.slogan-top h1{
    font-weight: 300;
    color: white;
    margin: 0;
    padding: 0;
    line-height: 0.95em;
    position: relative;
    z-index: 2;
}

.slogan-top h2{
    font-size: 5.4vw;
}

.slogan-top h1{
    font-size: 5.6vw;
}

@keyframes snakeTrail{
    0%{
        opacity: 0;
        transform: translateX(-140%) translateY(-30px) rotate(-8deg) scaleX(0.6);
    }
    10%{
        opacity: 0.85;
    }
    40%{
        opacity: 0.6;
        transform: translateX(10%) translateY(0px) rotate(6deg) scaleX(1);
    }
    70%{
        opacity: 0.35;
        transform: translateX(120%) translateY(25px) rotate(-4deg) scaleX(0.8);
    }
    100%{
        opacity: 0;
        transform: translateX(200%) translateY(60px) rotate(8deg) scaleX(0.5);
    }
}
.page2{
    height: 100vh;
    width: 100%;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.page2-overlay{
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6vw;
    pointer-events: none;
    z-index: 4;
}

.page2-caption{
    max-width: 320px;
    color: white;
    text-align: center;
}

.page2-caption .eyebrow{
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.65);
}

.page2-caption h3{
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    font-weight: 500;
    margin: 0.8rem 0;
}

.page2-caption p{
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
}

@media (max-width: 900px){
    .page2{
        height: auto;
        padding-bottom: 60px;
    }

    .page2-overlay{
        position: relative;
        flex-direction: column;
        gap: 30px;
        padding: 40px 20px;
    }

    .page2-caption{
        max-width: none;
    }

    .dual-images{
        flex-direction: column;
    }

    .dual-images img{
        width: 100%;
        height: 50vh;
    }
}

.page3{
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    background-color: black;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 100px 0;
    position: relative;
}

.dual-images{
    display: flex;
    width: 100%;
    height: 100%;
}

.dual-images img{
    width: 50%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

@media (max-width: 900px){
    .page2{
        height: auto;
    }

    .dual-images{
        flex-direction: column;
    }

    .dual-images img{
        width: 100%;
        height: 50vh;
    }
}


.elem{
    width: 100%;
    position: relative;
    cursor: pointer;
    z-index: 2;
}

.move {
    transform: scaleY(0);
    transition: transform 0.5s ease;
    transform-origin: top;
}

.elem:hover .move{
    transform: scaleY(1);
}

.elem h2{
    color:white;
    position: relative;
    font-size: 7vw;
    text-transform: uppercase;
    font-weight: 100;
    z-index: 10;
    font-family: 'Instrument Sans', sans-serif;
    line-height: 5.5vw;
}

.elem h5{
    color: black;
    display: inline-block;
    font-size: x-large;
    font-weight: 400;
    font-family: 'Instrument Sans', sans-serif;
    text-transform: uppercase;
    margin-right: 35px;
}

.elem .move{
    display: none;
}

.elem .moving{
    display: inline-block;
    white-space: nowrap;
}


.blur-vomero{
    width: 30%
}

.blur-dunk{
    width: 20%;
}

.blur-Grind{
    width: 34%;
}

.page3-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    z-index: 1;
    transition: opacity 0.4s ease;
}

.page3-video.is-hidden{
    opacity: 0;
}

.hover-img{
    position: absolute;
    width: 500px;
    height: 500px;
    object-fit: contain;
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.3s ease;
    top: 50%;
    will-change: transform;
}

.hover-img-left{
    left: 4%;
}

.hover-img-right{
    right: 4%;
}

.elem h2:hover ~ .hover-img,
.elem:hover .hover-img{
    opacity: 1;
}
.sr-only{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.footer-links{
    position: fixed;
    bottom: 40px;
    left: 40px;
    display: flex;
    gap: 18px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
}

.footer-links a{
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
}

.footer-links a:hover{
    color: rgb(243, 231, 82);
}

.footer-links i{
    font-size: 1.5rem;
    color: inherit;
    line-height: 1;
}

@media (max-width: 600px){
    .footer-links{
        position: fixed;
        bottom: 20px;
        left: 20px;
        padding: 0;
        justify-content: flex-start;
        gap: 12px;
        font-size: 0.85rem;
    }
    
    .footer-links a{
        font-size: 0.85rem;
    }

    .back-to-top{
        right: 16px;
        bottom: 20px;
        width: 48px;
        height: 48px;
    }
}