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

html {
    overflow-x: clip;
    scroll-behavior: smooth;
    text-size-adjust: 100%;
}

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

body {
    overflow-x: clip;
    min-width: 20rem;
    min-height: 100vh;
    background: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    -webkit-font-smoothing: antialiased;
}

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

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

img,
picture,
video,
svg {
    display: block;
    max-width: 100%;
}

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

:focus-visible {
    outline: 0.1875rem solid var(--color-focus);
    outline-offset: 0.25rem;
}

::selection {
    background: var(--color-primary);
    color: var(--color-on-primary);
}
