/* Explain: Base reset, typography, and smooth scrolling behavior */
* {
    box-sizing: border-box;
}

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

body {
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 18% 8%, rgba(230, 0, 0, 0.28), transparent 34rem),
        radial-gradient(circle at 82% 28%, rgba(229, 229, 229, 0.10), transparent 26rem),
        var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    text-rendering: optimizeLegibility;
}

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

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

section {
    scroll-margin-top: 96px;
}

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