html.is-animating .transition-fade {
    opacity: 0;
    transition: opacity 0.4s ease;
}

html.is-rendering .transition-fade {
    opacity: 1;
}

.swup-progress-bar {
    height: 4px;
    background-color: blue;
}

#swup-container {
    position: relative;
}

.custom-progress-bar {
position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background-color: var(--phoenix-link-color);
    width: 0%;
    z-index: 10;
    transition: width 0.3s ease, opacity 0.3s ease;
    opacity: 1;
    box-shadow: 0 0 5px var(--phoenix-link-color);
}