

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


body{
    font-family: "PP Neue Montreal", sans-serif;
    overflow-x: hidden;
}


img{
    width:100%;
    height: 100%;
    object-fit: cover;
}

h1{
    text-align: center;
    color: #fff;
    font-size: 5rem;
    font-weight: 500;
    line-height: 1;
}

h1 span {
    font-family : "PP Editorial Old", "PP Neue Montreal";
    font-weight: 500;
    font-style: italic;
    -webkit-font-smoothing: antialised;
}

a,p{
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    -webkit-font-smoothing: antialised;
}

.container{
    position: relative;
    width: 100vw;
    height: 100svh;
    overflow: hidden;
}

.hero-img{
    position: absolute;
    top: 0;
    width: 100vw;
    height: 100svh;
    overflow: hidden;
    z-index: -1;
}

.nav {
    position: absolute;
    top: 0;
    width: 100vw;
    height: 1.2em 1.5em;
    display: flex;
    align-items: center;
    gap: 10em;
    will-change: transform;
    margin-top: 20px;
}

.nav > div{
    flex: 1;
}

.logo a {
    text-transform: capitalize;
    font-size: 14px;
    font-weight: bolder;
}

.nav-links { 
    display: flex;
    gap: 1.5em;
    justify-content: center;
}

.btn{
    display: flex;
    justify-content: end;
}

.btn a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    width: 60px;
    height: 40px;
    color: #000;
    background-color: #fff;
    border-radius: 40px;
}




.header{
    width:100%;
    height: 100%;
    padding-top: 25svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
}


.cta { 
    position: absolute;
    left: 50%;
    bottom: 3em;
    transform: translateX(-50%);
    width: 50%;
    height: 60px;
    padding: 0.5rem;
    display: flex;
    justify-content: flex-end;
    background-color: #fff;
    border-radius: 4rem;
    will-change: transform;
}


.cta-label {
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.cta-label p { 
    color: #000;
}

.cta-icon {
    position: relative;
    height: 100%;
   aspect-ratio: 1; 
   display: flex;
   justify-content: center;
   align-items: center;
   color: #fff;
   background-color: #303030;
   border-radius: 60px;
   will-change: transform;
}

.loader{
    position: fixed;
    top:0 ; 
    left : 0;
    width: 100vw;   
    height: 100svh;
    overflow: hidden;
    z-index: 2;
}


.overlay{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
}

.block{
    background-color: #303030;
    width: 100%;
    height: 100%;
}

.intro-logo{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 0.25rem;
}

#word-1{
    position:relative;
    left: -0.1rem;
    padding-right: 0.25rem;
}

#word-2{
    position:relative;
    right: -0.1rem;
    padding-left: 0.25rem;
}

.word h1{
    font-size: 2.5rem;
}

.divider{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translatex(-50%);
    width: 1px;
    height: 100%;
    background-color: #fff;
}

.spinner-container{
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
}

.spinner{
    width: 50px;
    height: 50px;
    border: 1.4px solid #fff;
    border-radius: 50%;
    border-top-color: rgba(255, 255, 255, 0.125);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to{
        transform: rotate(360deg);
    }
}


.counter{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.count{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
}

.digit{
    flex: 1;
    padding-top: 1rem;
}

.count .digit h1{
    font-family: "PP Editorial Old", "PP Neue Montreal";
    font-size: 15rem;
    font-weight: 400;
}

.nav{
    transform: translateY(-120%);
}


.cta{
    transform: translateX(-50%) scale(0);
}

.cta-icon{
    transform: scale(0);
}

.line, .cta-label, .word, .count, .digit{
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.line h1, .line p, .cta-label p, .count .digit h1{
    position: relative;
    transform: translateY(120%);
    will-change: transform;
}


#word-1 h1{
    transform: translatey(120%);
}

#word-2 h1{
    transform: translateY(-120%);
}

.block{
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.divider{
    transform: scaleY(0%);
}


.hero-img{
    transform: scale(1.5);
    will-change: transform;
}

@media(max-width: 900px){
    h1{
        font-size: 2.5rem;
    }

    .nav-links{
        display: none;
    }

    .cta{
        width: 90%;
    }

}