/* Slim top-of-page progress bar shown during navigation. */

.nav-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
    z-index: 2147483647;
    opacity: 0;
    pointer-events: none;
    transition: width 200ms ease-out, opacity 200ms ease-out;
}

.nav-progress.active {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .nav-progress {
        transition: opacity 100ms linear;
    }
}
