@font-face {
    font-family: 'Dirtyline';
    font-display: swap;
    src: url('./Dirtyline 36daysoftype 2022.otf') format('opentype');
}

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

body {
    max-height: 100svh;
}

body * {
    font-family: 'Dirtyline', sans-serif;
    font-weight: 400;
}

section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

p {
    max-width: 450px;

    line-height: 1.5;
    text-align: center;
}

p,
p * {
    font-family: 'Helvetica Neue', sans-serif;
    text-wrap: pretty;
}

.buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta {
    text-decoration: none;
    line-height: 1;

    max-height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 1rem;
    padding: 1rem 2rem;

    background-color: black;
    color: white;

    border: 1px solid white;
    border-radius: 2rem;
}

.cta.rounded {
    padding: 0;
    width: 40px;
    height: 100%;
}

a {
    transition: all 0.1s ease-in-out;
}

a:hover {
    background-color: white;
    color: black;

    border-color: rgb(226, 226, 226);

    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.20);
}

a:active {
    /* Inset shadow */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.20);
}

.absolute {
    position: absolute;
    bottom: 1rem;

    padding: 1rem;

    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    text-align: center;
}

h1 {
    font-size: 52px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 16px;
}

@media only screen and (min-width: 768px) {
    h1 {
        margin-left: 13rem;
    }

    h2 {
        margin-right: 3rem;
    }
}
