*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body,
h1,
h2,
h3,
p,
ul {
    margin: 0;
}

body {
    min-width: 20rem;
    font-family: var(--font-system);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-dark);
    background: var(--light-background);
    -webkit-font-smoothing: antialiased;
}

ul {
    padding: 0;
    list-style: none;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--latitudo-gold);
    outline-offset: 4px;
}

::selection {
    color: var(--black);
    background: var(--latitudo-gold);
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

