*{
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

:root{
    --primary-white: rgb(145, 145, 145);
    --border-after: linear-gradient(90deg, transparent, var(--primary-white), transparent);
}
@font-face {
    font-family: tilt;
    src: url(./public/fonts/tilt/static/TiltNeon-Regular.ttf) format('truetype');
    font-display: swap;
}
body{
    height: 100svh;
    background-color: black;
    color: white;
    overflow: hidden;
    font-family: tilt;
}

main{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4rem;
    background-image: linear-gradient(135deg ,black, rgb(20, 20, 20), black);
}
nav{
    z-index: 1;
}


section{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80%;
    gap: 4rem;
    z-index: 1;

}

.overlapping-titles{
    position: relative;
    top: 0;
    left: 0;
    height: 10em;
    width: 100%;
    -webkit-transform: scale(0.6);
    transform: scale(0.6);
    -webkit-animation: scale-up 3s forwards;
    animation: scale-up 3s forwards;
}
 

.title{
    font-size: -webkit-clamp(5rem, 24vw, 14em);
    font-size: clamp(5rem, 24vw, 14em);
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    opacity: 0.90;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-size: 100% 0%;
    background-repeat: no-repeat;
    background-position: center;
    will-change: background-size, font-size;
    -webkit-animation: sizing-background-image 3s 1s forwards;
    animation: sizing-background-image 3s 1s forwards;
    -webkit-text-stroke: .1px rgba(145, 145, 145, 0.1);
    pointer-events: none;

}

.title::after{
    display: none;
    content: '';
    height: 100%;
    width: 20px;
    background-color: rgb(134, 134, 134);
    box-shadow: 0px 0px 100px white;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    filter: blur(10px);
    will-change: opacity, transform;
    -webkit-animation: moveToRight 1s infinite;
    animation: moveToRight 1s infinite;
}

.title-one{
    background-image: linear-gradient(transparent, white, transparent) ;
    z-index: 3;
}

.title-two{
    background-image: linear-gradient(transparent, rgb(98, 32, 230), transparent) ;
    top: 49.5%;
    /* left: 50.5%; */
    z-index: 2;
}

.title-three{
    background-image: linear-gradient(transparent, yellow, transparent) ;
    top: 49%;
    /* left: 51%; */
    z-index: 1;
}



.toggle-animation{
    height: 100%;
    width: 100%;
    background-color: transparent;
    appearance: none;
    position: absolute;
    top: 0;
    left: 0;
}

p, a{
    color: var(--primary-white);
    text-decoration: none;

    transition-behavior: allow-discrete;

    @starting-style {
      opacity: 0;
    }

    opacity: 0;
    will-change: opacity;
    -webkit-animation: show-content 250ms 2.5s forwards;
    animation: show-content 250ms 2.5s forwards;
    text-align: center;
    font-size: clamp(10pt, 10vh, 13pt);
}



ul{
    list-style: none;
    display: flex;
    gap: 2rem;
}


.opener{
    position: fixed;
    width: 100%;
    height: 50%;
    background-color: rgb(15, 15, 15);
    left: 0%;
    z-index: 1000;
}

.opener-up{
    top: 0%;
    -webkit-animation: slide-up 3s 1s forwards ease-in;
    animation: slide-up 3s 1s forwards ease-in;
}
.opener-up::after{
    bottom: 0px;
}


.opener-down{
    bottom: 0%;
    -webkit-animation: slide-down 3s 1s forwards ease-in;
    animation: slide-down 3s 1s forwards ease-in;
}



.opener-down::after{
    top: 0px;
}

.opener::after{
    content: '';
    width: 100%;
    position: absolute;
    background-image: var(--border-after);
    background-size: 20% 100%;
    background-repeat: no-repeat;
    background-position: center;
    height: .5px;
    -webkit-animation: size-up-after 1s forwards;
    animation: size-up-after 1s forwards;
}
