.preload-screen {
    position: absolute;
    inset: 0;
    
    display: flex;
    flex-direction: column;
    
    align-items: center;
    justify-content: center;
    
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    
    z-index: 9999;
}

.preload-screen.portrait {
    background-image:
        url("../assets/images/preload_bg_portrait.jpg");
}

.preload-screen.landscape {
    background-image:
        url("../assets/images/preload_bg_landscape.jpg");
}

.preload-progress {
    width: min(32vw, 190px);
    height: min(32vw, 190px);
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    margin-bottom: 1.5rem;
}

.preload-circle {
    width: 100%;
    height: 100%;
    
    transform: rotate(-90deg);
    
    overflow: visible;
}

.preload-circle-track,
.preload-circle-progress {
    fill: none;
    
    stroke-width: 7;
}

.preload-circle-track {
    stroke: rgba(255, 255, 255, 0.18);
}

.preload-circle-progress {
    stroke: #ffd43b;
    
    stroke-linecap: round;
    
    stroke-dasharray: 326.73;
    stroke-dashoffset: 326.73;
    
    filter:
        drop-shadow(
            0 0 8px rgba(255, 212, 59, 0.7)
        );
    
    transition:
        stroke-dashoffset 0.15s ease-out;
}

.preload-percentage {
    transform: rotate(90deg);
    
    transform-origin: center;
    
    fill: white;
    
    font-family: "myOtherOtherFont", sans-serif;
    font-size: 22px;
    
    text-anchor: middle;
    dominant-baseline: central;
    
    filter:
        drop-shadow(
            0 0 6px rgba(255, 255, 255, 0.4)
        );
}

.preload-loading-text,
.preload-wait-text {
    color: white;
    
    font-family: "myOtherOtherFont", sans-serif;
    
    font-size: 24px;
    
    text-align: center;
    
    text-shadow:
        0 0 8px rgba(0, 0, 0, 0.7);
}

.preload-wait-text {
    margin-top: 5px;
    
    font-size: 18px;
    
    opacity: 0.8;
}

@media (orientation: portrait) {
    .preload-progress {
        width: min(42vw, 210px);
        height: min(42vw, 210px);
    }
}

@media (orientation: landscape) {
    .preload-progress {
        width: min(25vh, 190px);
        height: min(25vh, 190px);
    }
}