html {
    box-sizing: border-box;
    --clr-black: #0C120C;
    --clr-red: #C20114;
    --clr-yellow: #F9CB40;
    --clr-white: #F0EFF4;
    --clr-blue: #048BA8;
    --heading-font: "Stack Sans Notch", sans-serif;
    --text-font: "Stack Sans Text", sans-serif;

  --step-0: clamp(0.875rem, 0.7216rem + 0.6818vw, 1.25rem);
  --step-1: clamp(1.05rem, 0.7125rem + 1.5vw, 1.875rem);
  --step-2: clamp(1.26rem, 0.6249rem + 2.8227vw, 2.8125rem);
  --step-3: clamp(1.512rem, 0.4047rem + 4.9214vw, 4.2188rem);
  --step-4: clamp(1.8144rem, -0.0321rem + 8.2068vw, 6.3281rem);
  --step-5: clamp(2.1773rem, -0.8152rem + 13.2998vw, 9.4922rem);
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--clr-black);
    color: var(--clr-white);
    display: grid;
    grid-template-rows: auto 1fr auto;
}

footer {
    display: flex;
    justify-content: center;
    padding: 1rem;
    margin-top: 4rem;

    > a {
        font-size: 0.75rem;
    }
}

h1, h2 {
    font-family: var(--heading-font);
    font-weight: 600;
    text-align: center;
}

h1 {
    font-size: var(--step-5);
}


h2 {
    font-size: var(--step-2);
    color: hsl(from currentColor h s l / 0.8)
}

/* @media (max-width: 768px) {
    h1 {
        font-size: var(--step-4);
    }
} */

p, a {
    font-family: var(--text-font);
    font-weight: 300;
    font-size: var(--step-0);
    color: hsl(from currentColor h s l / 0.6)
}

.container {
    width: min(90%, 700px);
    margin: 0 auto;

    &.wide {
        width: min(90%, 1200px);
    }
}

a {
    color: var(--clr-red);
    text-decoration: none;
}

a:focus, a:hover {
    text-decoration: underline;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8rem 0;
}

.logo-text {
    margin: 0;
}

.cta {
    width: min(90%, 400px);
    margin-top: 3rem;
    display: flex;
    background-color: hsl(from var(--clr-white) h s l / 0.7);
    justify-content: center;
    gap: 1rem;
    border-radius: 100vw;
}

.cta-img {
    width: var(--step-3);
}