@font-face{
    font-family:Space Grotesk;
    font-style:normal;
    font-weight:300 700;
    font-display:swap;
    src:url(/assets/SpaceGrotesk-VariableFont.ttf) format("truetype")
}

:root {
    --block-padding-0_5: 0.5rem;
    --block-padding: 1rem;
    --block-padding-2: 2rem;
    --block-padding-3: 3rem;

    --gap: 1rem;
    --gap-2: 2rem;

    --rounded: 5px;

    --max-width: 921px;

    --color-primary: #2d66c4;
    --color-secondary: #e1f7ff;
    --color-success: #209966;
    --color-bg: #fff;
    --color-code: #eeeeee;
    --color-text: #262831;
    --color-text-muted: #4b5162;
    --color-text-light: #e2ecfe;
}

* {
    padding: 0;
    margin: 0;
    box-sizing:border-box;
    font-family: Space Grotesk, sans-serif;
    scroll-behavior: smooth;
    color: var(--color-text);
    background-color: transparent;
    text-decoration: none;
}

body {
    background-color: var(--color-bg);
}

.w-full {
    width: 100% !important;
    max-width: 100% !important;
}

.w-content {
    max-width: max-content;
}

.mw-1 {
    max-width: 400px;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-bold {
    font-weight: 600;
}

.text-muted {
    color: var(--color-text-muted)
}

.text-success {
    color: var(--color-success) !important;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-center {
    justify-content: center !important;
    align-items: center !important;
}

.flex-gap {
    gap: var(--gap);
}

.flex-gap-2 {
    gap: var(--gap-2);
}

.button {
    display: flex;
    flex-direction: row;
    border: none;
    border-radius: var(--rounded);
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: 1.5rem;
    max-width: max-content;
    cursor: pointer;
    transition: .2s;
}

.button:hover {
    opacity: 0.8;
}

.button-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: var(--block-padding);
}

.input {
    border-radius: var(--rounded);
    border: var(--color-primary) solid 2px;
    font-size: 1.5rem;
    padding: var(--block-padding);
}

.header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    .header__container {
        display: flex;
        flex-direction: row;
        justify-content: start;
        align-items: center;
        padding: var(--block-padding) 0;
        gap: var(--gap);
        max-width: var(--max-width);
        width: 100%;

        .header__logo {
            width: 128px;
            height: 74px;
        }

        .header__text {
            font-size: 4rem;
            font-weight: 700;
            letter-spacing: 0.2rem;
            color: var(--color-primary);
            text-shadow: 6px 5px 5px rgb(0 0 0 / 0.2);
        }
    }
}

.section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-2);
    padding: var(--block-padding-2);

    .section__block {
        display: flex;
        flex-direction: column;
        gap: var(--gap-2);
        align-items: start;
        justify-content: center;
        max-width: var(--max-width);
        width: 100%;
    }

    .section__text {
        font-weight: 400;
        font-size: 1.5rem;
        color: var(--color-text-muted);
    }

    .section__heading {
        font-weight: 600;
        font-size: 2.5rem;
    }

    .section__heading-2 {
        font-weight: 600;
        font-size: 2rem;
    }

    .section__list {
        text-align: left;
        list-style: square;

        li {
            margin-left: var(--block-padding-2);
        }
    }

    .section__list-numbered {
        list-style: decimal;
    }

    .section__code {
        background-color: var(--color-code);
        border-radius: var(--rounded);
        padding: var(--block-padding);
        text-align: left;

        code, pre {
            font-family: ui-monospace, SFMono-Regular, Consolas;
            line-height: 1;
            margin: 0;
            padding: 0;
            display: block;
            overflow: hidden;
        }
    }

    .section__examples {
        display: flex;
        flex-direction: column;
        gap: var(--gap-2);
        align-items: start;
        width: 100%;
    }

    .section__example {
        display: flex;
        flex-direction: column;
        align-items: start;
        width: 100%;
        gap: var(--gap);

        .section__code {
            width: 100%;
        }
    }

    .section__form {
        padding-top: var(--block-padding-3);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--gap);
    }
}

.section.section-secondary {
    background-color: var(--color-secondary);
}

.section.section-primary {
    background-color: var(--color-primary);

    .section__heading, .section__heading-2, .section__text {
        color: var(--color-text-light);
    }
}

.footer {
    display: flex;
    flex-direction: row;
    padding: var(--block-padding-3);
    justify-content: center;
    align-items: center;

    .footer__text {
        text-align: center;
    }
}

@media (max-width: 921px) {
    .header {
        .header__container {
            padding-left: var(--block-padding-2);
            padding-right: var(--block-padding-2);
        }
    }
}

@media (max-width: 767px) {
    .header {
        .header__container {
            .header__logo {
                width: 83px;
                height: 48px;
            }

            .header__text {
                font-size: 3rem;
            }
        }
    }

    .section {
        .section__heading {
            font-size: 1.7rem;
        }

        .section__heading-2 {
            font-size: 1.4rem;
        }

        .section__text {
            font-size: 1.2rem;
        }
    }

    .button {
        font-size: 1.2rem;
    }

    .input {
        font-size: 1.2rem;
        padding: var(--block-padding-0_5);
    }

    .footer {
        .footer__text {
            font-size: .9rem;
        }
    }
}

@media (max-width: 479px) {
    .header {
        .header__container {
            justify-content: center;
        }
    }
    .section {
        .section__heading {
            font-size: 1.4rem;
        }

        .section__heading-2 {
            font-size: 1.1rem;
        }

        .section__text {
            font-size: 1rem;
        }

        .section__example {
            .section__code {
                font-size: 0.8rem;
            }
        }
    }
}