/* Explain: Base HTML resets and global body styles. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    color: var(--text-color);
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 14%, rgba(201, 162, 39, 0.12), transparent 26rem),
        radial-gradient(circle at 88% 6%, rgba(22, 51, 127, 0.10), transparent 24rem),
        var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    text-rendering: optimizeLegibility;
}

button,
a,
select {
    cursor: pointer;
}

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

::selection {
    background: var(--accent-color);
    color: #12295E;
}

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