*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
}

body {
    min-height: 100vh;

    font-family: var(--font-sans);

    background: var(--white);
    color: var(--text);

    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea {
    font-family: inherit;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: 0;
    background: none;
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid var(--brand-red);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

.container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin-inline: auto;
}

@media (max-width: 650px) {

    .container {
        width: min(
            calc(100% - 32px),
            var(--container)
        );
    }

}
