@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Slab:wght@100;200;300;400;500;600;700;800;900&display=swap');
:root{
    --primary: #171c23;
    --secondary: #c4d8ee;
    --hover-text: #7b8794;
    --txt-hover: #2b30368c;
    --bg-primary: #252528a0;
    --mobile-bg: #8888a3;
    --mobile-hover: #2525d85d;
    --bg-secondary: #171717;

    --accent-clr: #ffffff;

    --gradient-bg: linear-gradient(180deg, #1017202f, #101720); 
    --padding: 4rem;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', serif;
}

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

body{
    width: 100vw;
    background-color: var(--primary);
    color: var(--secondary);
    overflow-x: hidden;
}

h1{
    font-size: 12rem;
    text-transform: uppercase;
    line-height: 1.2;
}

h2{
    font-size: 8rem;
    line-height: 1.3;
    font-family: 'Roboto Slab', serif;
}

h3{
    font-size: 4.5rem;
    font-family: 'Roboto Slab', serif;
}

h4{
    font-size: 3.8rem;
    font-family: 'Roboto Slab', serif;
}

p,
span{
    font-size: 3.2rem;
    line-height: 1.2;
    max-width: 55ch;
    text-wrap: pretty;
    font-family: 'Roboto Slab', serif;
}

li{
    font-family: 'Roboto Slab', serif;
}

button{
    font-family: 'Roboto Slab', serif;
}

label{
    font-size: 1.8rem;
}

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

.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);
}

html.Lenis{
    height: auto;
}

.Lenis.Lenis-smooth{
    scroll-behavior: auto;
}

.Lenis.Lenis-smooth[data-Lenis-prevent]{
    overscroll-behavior: contain;
}

.Lenis.Lenis-stopped{
    overflow: hidden;
}

.Lenis.Lenis-scrolling iframe{
    pointer-events: none;
}


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

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

    h1{
        font-size: 10rem;
    }

    h2{
        font-size: 8rem;
    }

    h3{
        font-size: 3.5rem;
    }

    p,
    li{
        font-size: 2.4rem;
    }

}