/* Explain: Base reset and dark canvas defaults for the BEE SERVE website. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--background-color);
    color: var(--text-color);
}

body.modal-open {
    overflow: hidden;
}

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

button,
a {
    cursor: pointer;
}

input,
button,
textarea,
select {
    font: inherit;
}

:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--accent-color) 70%, transparent);
    outline-offset: 3px;
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.rise {
    animation: riseIn 700ms ease both;
}

.rise-2 {
    animation-delay: 120ms;
}

.rise-3 {
    animation-delay: 240ms;
}

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