:root{
    --section-gap: 15rem;
}

*{
    box-sizing: border-box;
}

body{
    margin: 0;
    padding: 0;
    background-color: white;
    height: fit-content;
    color: black;
    font-family: "Instrument Sans", sans-serif;
    overflow-x: hidden;
    box-sizing: border-box;
}



/* TYPOGRAPHY */

h1{
    margin: 0;
    font-size: 6rem;
    text-align: center;
    line-height: 1;
}

h2{
    margin: 0;
    font-size: 2.5rem;
    font-weight: 550;
}

h3{
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
}

a{
    text-decoration: none;
    color: black;
}

.btn{
    padding: 0.8rem 1.5rem;
    background-color: #151717;
    color: white;
    border: none;
    font-weight: 500;
    border-radius: 500px;
    font-size: 0.9rem;
    width: fit-content;

    display: flex;
    gap: 10px;
}

.btn svg{
    height: 1.4em;
}

.btn span:last-child{
    position:absolute;
    left:0;
    top:100%;
}

.btn:hover span:first-child{
    transform:translateY(-100%);
}

.btn:hover span:last-child{
    transform:translateY(-100%);
}

.btn:hover{
    /* scale: 1.05; */
    transform: scale(1.05);
    transition: 0.5s;
}

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

@media (max-width: 1024px){
    h2{
        font-size: 1.8rem;
    }
    h3{
        font-size: 1rem;
    }

}

@media (max-width: 768px){
    h2{
        font-size: 1.4rem;
    }
    h3{
        font-size: 1rem;
    }
    p{
        font-size: 0.8rem;
    }
    a{
        font-size: 0.8rem;
    }
    .btn{
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
    }
}

@media (max-width: 600px){
    h1{
        font-size: 3rem;
    }
    h2{
        font-size: 1.6rem;
    }
    h3{
        font-size: 1.4rem;
    }
    p{
        font-size: 1rem;
    }
    a{
        font-size: 1rem;
    }
    .btn{
        font-size: 1rem;
        padding: 0.4rem 0.9rem;
    }
}