/* Explain: Base reset and typography defaults with purple background accents. - */
* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    overflow-x: hidden;
    position: relative;
    z-index: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(107, 33, 168, 0.12), transparent 26rem),
        radial-gradient(circle at 88% 8%, rgba(88, 28, 135, 0.12), transparent 24rem);
    color: var(--text-color);
    font-family: var(--font-body);
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url('https://files.cdn-files-a.com/uploads/12385672/normal_6aa82754e33b9.png?format=avif');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: min(85vw, 600px);
    opacity: 0.12;
    z-index: -1;
    pointer-events: none;
}

button,
a,
select {
    cursor: pointer;
}

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

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