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

html {
    background: var(--background-color);
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
}

section {
    scroll-snap-align: start;
    scroll-margin-top: 5rem;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--background-color);
    color: var(--text-color);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

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

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

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

.font-heading {
    font-family: var(--font-heading);
}