/* Explain: Base reset and typography defaults for the application. - */
* {
    box-sizing: border-box;
}

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

body {
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(79, 0, 255, 0.16), transparent 28rem),
        radial-gradient(circle at 88% 65%, rgba(0, 240, 255, 0.09), transparent 30rem),
        var(--background-color);
}

body,
button,
input,
textarea {
    font-family: var(--font-body);
}

h1,
h2,
h3,
.display-font {
    font-family: var(--font-heading);
}

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

a,
button,
input,
textarea {
    -webkit-tap-highlight-color: transparent;
}

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

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

.noise-layer {
    position: fixed;
    z-index: 60;
    inset: 0;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}