@font-face {
    font-family: 'Aeonik';
    src:  url('fonts/Aeonik-Regular.woff2') format('woff2'),
          url('fonts/Aeonik-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aeonik';
    src:  url('fonts/Aeonik-Bold.woff2') format('woff2'),
          url('fonts/Aeonik-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html {
    font-size: 16px;
    font-family: Aeonik, sans-serif;
    letter-spacing: 0.01em;
}

header {
    margin-top: 4.5rem;
    display: flex;
    justify-content: center;
}

header img {
    width: 10rem;
    height: 2.5rem;
}

.on-laptop {
    margin-top: 9.5rem;
    display: flex;
    justify-content: center;
}

.text {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
}

.text h1 {
    font-size: 3rem;
    font-weight: 400;
    margin: 0;
    line-height: 3.5rem;
}

.text p {
    text-align: center;
    margin: 0;
    margin-top: 2rem;
    line-height: 1.5rem;
}

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

.text a {
    margin-top: 4rem;
    margin-bottom: 5.75rem;
}

.text .button {
    background-color: #0A7DD9;
    border: #0A7DD9;
    border-radius: .5rem;
    color: #FFFFFF;
    text-decoration: none;
    font-family: Aeonik, sans-serif;
    font-weight: 700;
    width: 10.375rem;
    height: 3.5rem;

    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 1180px) {
    .on-laptop {
        margin-top: 6rem;
    }
}

@media screen and (max-width: 480px) {
    header {
        margin-top: 2rem;
    }

    header img {
        width: 30%;
    }

    .on-laptop {
        margin-top: 2rem;
    }

    .on-laptop img {
        width: 80%;
    }

    .text {
        margin-top: 2rem;
    }

    .text h1 {
        font-size: 2rem;
    }

    .text a {
        margin-top: 2rem;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 280px) {
    header {
        margin-top: 1rem;
    }

    .on-laptop {
        margin-top: 1rem;
    }

    .text {
        margin-top: 1rem;
    }

    .text h1 {
        font-size: 1.5rem;
    }

    .text p {
        font-size: .75rem;
        margin-top: 1.5rem;
        line-height: 1.25rem;
    }
}