/* Explain: Base document styles, selection styling, and motion preferences. */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

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

button,
a,
summary,
select,
input[type="submit"] {
    cursor: pointer;
}

button {
    font: inherit;
}

input,
textarea,
select {
    color: var(--text-color);
}

::selection {
    background: var(--pink-soft);
    color: var(--text-color);
}

summary {
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}