/* Explain: Base reset, typography, and page background. */
* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    overflow-x: hidden;
    background-color: var(--background-color);
    background-image: url('https://clicks.aweber.com/y/ct/?l=KyW8JH&m=ki7AAkEFCmzUAoq&b=MIwmsEKzuJibE0TileXbYA');
    background-position: center;
    background-attachment: scroll;
    background-size: cover;
    background-repeat: no-repeat;
    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: #ffffff;
}

/* The large background picture is pinned only on big screens - a pinned background makes phones scroll slowly */
@media (min-width: 1024px) {
    body {
        background-attachment: fixed;
    }
}

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