* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    overflow-x: hidden;
    background-color: var(--background-color);
    background-image:
        radial-gradient(circle at 12% 8%, rgba(212, 175, 55, 0.18), transparent 33rem),
        radial-gradient(circle at 88% 2%, rgba(201, 162, 39, 0.14), transparent 35rem),
        radial-gradient(circle at 70% 96%, rgba(47, 122, 82, 0.09), transparent 32rem),
        radial-gradient(circle at 50% 45%, transparent 42%, rgba(201, 162, 39, 0.07) 100%);
    background-attachment: fixed;
    color: var(--text-color);
    font-family: var(--font-body);
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
    letter-spacing: -0.02em;
}

button,
a,
select {
    cursor: pointer;
}

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

main {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

a {
    transition: color 250ms ease, opacity 250ms ease;
}

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

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #F3ECD9;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 999px;
    border: 2px solid #FBF7EC;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}