:root {
    --space-s: 12px;
    --space-m: 20px;
    --space-l: 32px;
    --space-xl: 52px;
    --space-xxl: 84px;

    --font-size-s: 12px;
    --font-size-m: 20px;
    --font-size-l: 32px;
    --font-size-xl: 52px;
    --font-size-xxl: 84px;

    --color-main: black;
    --color-secondary: gray;
    /* --color-cta: yellow; */
    --color-cta: #ffc286;
}

body,
html {
    padding: 0;
    margin: 0;
    font-family: "Roboto Mono", monospace;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: var(--font-size-m);
    overflow-x: hidden;
}

main {
    max-width: 1720px;
    margin-inline: auto;
}

* {
    box-sizing: border-box;
}

h1,
h2,
h3 {
    margin: 0;
}
h1 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    letter-spacing: 0.9px;
}
h2 {
    font-size: var(--font-size-xl);
    line-height: 1.2;
    letter-spacing: 1.2px;
    font-weight: bold;
    position: relative;
    width: fit-content;
    padding-bottom: 4px;
    z-index: 1;
}
h2::before {
    content: "";
    width: 100%;
    height: 40%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: var(--color-cta);
    z-index: -1;
    display: block;
}
h3 {
    font-size: var(--font-size-m);
    font-weight: 400;
    letter-spacing: 1.5;
    line-height: 1.75;
}
p, li {
    margin: 0;
    margin-bottom: 10px;
    letter-spacing: 1.5px;
    line-height: 1.75;
}
p:last-child {
    margin-bottom: 0;
}

h2 + p {
    margin-top: var(--space-l);
}

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

ol {
    padding-left: 25px;
}

img {
    width: auto;
    max-width: 100%;
    height: auto;
}

li:not(:last-child) {
    margin-bottom: var(--space-s);
}

header {
    display: flex;
    justify-content: center;
    gap: var(--space-m);
    padding: 0 var(--space-m);
    align-items: center;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    transition: 0.25s;
    z-index: 100;
}
header:not(.minified) .logo {
    opacity: 0;
    position: absolute;
    pointer-events: none;
    transition: 0.25s;
}
header.minified .logo {
    margin-right: auto;
    color: white;
    position: relative;
    pointer-events: all;
    transition: 0s;
}
nav {
    position: fixed;
    top: var(--space-m);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-m);
    background-color: var(--color-main);
    padding: var(--space-s) var(--space-l);
    border-radius: 50px;
    transition: 0.25s;
}
header.minified nav {
    top: 0;
    width: 100%;
    border-radius: 0;
    justify-content: center;
}
.nav-link {
    cursor: pointer;
    font-size: calc(var(--font-size-l) * 0.6);
    letter-spacing: 1px;
    color: white;
    transition: 0.25s;
}
.nav-link:hover {
    color: var(--color-cta);
}
.nav-button {
    cursor: pointer;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--space-s) var(--space-m);
    background: black;
    color: var(--color-cta);
    text-align: center;
    font-weight: bold;
    letter-spacing: 1.75px;
}

main {
    margin-top: var(--margin-top);
    padding-inline: var(--space-m);
    position: relative;
}

.spacer {
    height: var(--space-xxl);
}

section:not(.hero) {
    padding-top: calc(var(--space-xxl) + 30px);
    margin-top: var(--space-xl);
}
.row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-l);
    justify-content: center;
}
.gap-xxl {
    gap: var(--space-xxl);
}
.justify-content-left {
    justify-content: start;
}
.column {
    flex: 1;
}
.full-width {
    width: calc(100vw - var(--space-m) / 2);
    margin-left: calc(0px - var(--space-m));
}
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-main);
    margin: 0;
    background-color: var(--color-cta);
}
.hero h2 {
    font-size: var(--font-size-xl);
    margin-inline: auto;
    border-bottom: 4px solid;
}
.hero h2::after {
    display: none;
}
.hero h3 {
    font-size: var(--font-size-l);
    font-weight: bold;
    margin-top: var(--space-l);
}
.scroll-down {
    cursor: pointer;
    width: fit-content;
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
    font-size: var(--font-size-L);
}
.scroll-down div {
    transition: 0.25s;
}
.scroll-down:hover .scroll-down-icon {
    transform: translateY(10px);
}
.scroll-down-icon {
    margin-top: 15px;
}

.cards {
    margin-top: 100px;
}
.card {
    display: flex;
    flex-direction: column;
    /* gap: var(--space-s); */
    width: calc((100% - (var(--space-l) * 1)) / 2);
    color: black;
    border-radius: 5px;
    text-align: center;
}
.card img {
    max-width: 200px;
}
.card .content {
    padding: var(--space-m);
}
.card h2 {
    font-size: var(--font-size-l);
    margin-bottom: var(--space-s);
    padding: 0;
    text-align: left;
}
.card h2::before {
    display: none;
    padding: 0;
}
.card h3 {
    text-align: left;
}

form {
    display: flex;
    flex-direction: column;
    gap: var(--space-l);
    max-width: 800px;
}
form label {
    display: flex;
    flex-direction: column;
}
form label div {
    font-size: calc(var(--font-size-l) * 0.8);
    margin-bottom: 8px;
}
form input,
form textarea {
    padding: var(--space-s) var(--space-m);
    border: 1px solid black;
    border-radius: 10px;
    outline: none;
    font-size: var(--font-size-m);
    letter-spacing: 1px;
}
form textarea {
    resize: none;
    height: 150px;
}

.button {
    padding: var(--space-s) var(--space-l);
    border: 1px solid;
    width: fit-content;
    border-radius: 50px;
    cursor: pointer;
    font-size: calc(var(--font-size-l) * 0.8);
    letter-spacing: 1.2px;
    transition: 0.25s;
}
.button:hover {
    background: black;
    color: white;
}
.cta-button {
    font-weight: bold;
    background: var(--color-cta);
    border-color: var(--color-cta);
    color: black;
}
.cta-button:hover {
    background: var(--color-cta);
    letter-spacing: 3px;
    color: black;
}

footer {
    background: black;
    color: white;
    text-align: center;
    padding: var(--space-s) var(--space-m);
}



@media (max-width: 1200px) {
    :root {
        --space-s: 8px;
        --space-m: 12px;
        --space-l: 20px;
        --space-xl: 32px;
        --space-xxl: 48px;

        --font-size-s: 10px;
        --font-size-m: 14px;
        --font-size-l: 20px;
        --font-size-xl: 28px;
        --font-size-xxl: 40px;
    }

    .hero {
        height: calc(100vh - 35px);
    }
    .hero .column {
        padding-inline: var(--space-m);
    }
    .hero .column {
        flex: unset;
    }
    .scroll-down {
        bottom: calc(var(--space-xxl) + 35px);
    }
    .row {
        flex-direction: column;
    }
    .row.reverse {
        flex-direction: column-reverse;
    }
    section:not(.hero) {
        padding-top: var(--space-l);
    }
    .cards {
        padding-top: 0;
        margin-top: 0;
    }
    .card h2 {
        height: auto!important;
    }
    .card {
        width: 100%;
    }
    /* h2 {
        margin-bottom: 0;
    } */
    nav {
        width: fit-content!important;
        left: 0;
        top: 0;
        transform: none;
        border-radius: 0;
        flex-direction: column;
        height: 100vh;
        transform: translateX(-100%);
        padding: var(--space-l);
    }
    nav .logo {
        font-size: var(--font-size-xl);
        margin-right: 0!important;
        margin-bottom: var(--space-l);
    }
    .nav-link {
        font-size: var(--font-size-l);
        margin-bottom: var(--space-m);
    }
    nav.active {
        transform: translateX(0);
    }
    .nav-overlay {
        transition: 0.25s;
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        background: black;
        opacity: 0;
        pointer-events: none;
        cursor: pointer;
    }
    .nav-overlay.active {
        opacity: 0.3;
        pointer-events: all;
    }
    footer {
        margin-bottom: 35px;
    }
}

@media (min-width: 1201px) {
    .nav-button {
        display: none;
    }
}
