/* Explain: Styles for page background, typography, and watermark. */
* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    overflow-x: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 12% 18%, rgba(233, 30, 99, 0.16), transparent 30rem),
        radial-gradient(circle at 88% 8%, rgba(216, 27, 96, 0.12), transparent 28rem),
        var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    text-rendering: optimizeLegibility;
}

.page-watermark {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: url('https://files.cdn-files-a.com/uploads/12597638/normal_6aef2c4c6ed2c.jpg?format=avif');
    background-position: center;
    background-repeat: no-repeat;
    background-size: min(92vw, 900px) auto;
    filter: blur(3px);
    opacity: 0.18;
    pointer-events: none;
}

button,
a,
select {
    cursor: pointer;
}

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

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