/* Explain: Base reset, typography, and responsive design defaults. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    margin: 0;
    color: var(--text-color);
}

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

img {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
    touch-action: manipulation;
}

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

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