/* Keep the themed canvas stable until the final CSS has been parsed. */
html.ui-first-paint,
html.ui-first-paint body {
    background: #ffffff;
    color: #000000;
}

html.ui-first-paint[data-theme="dark"],
html.ui-first-paint[data-theme="dark"] body {
    background: #000000;
    color: #ffffff;
}

html.ui-first-paint body > :not(#navbar):not(.skip-link):not(script):not(style):not(link) {
    opacity: 0;
}

@keyframes ui-page-enter {
    0% {
        opacity: 0;
        transform: translate3d(0, 3px, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

html.ui-page-enter body > :not(#navbar):not(.skip-link):not(script):not(style):not(link) {
    animation: ui-page-enter 820ms cubic-bezier(0.22, 0.1, 0.18, 1) both;
    will-change: opacity, transform;
}

html.ui-motion-disabled.ui-page-enter body > :not(#navbar):not(.skip-link):not(script):not(style):not(link) {
    animation: none;
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html.ui-page-enter body > :not(#navbar):not(.skip-link):not(script):not(style):not(link) {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
