#loader {
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: black;
    position: fixed;
    z-index: 255;
    top: 0;
    height: 100%;
    width: 100%;
}
#loader:has(#loader-wheel-error) {
    display:flex;
}
#loader noscript {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    top: 0;
    height: 100%;
    width: 100%;
}
.loader-logo {
    height: 90px;
    width: 90px;
}
.loader-title {
    font-size: 2rem;
    margin-top: 1.5rem;
    color: red;
}
.loader-error{
    color: #929292;
}
.loader-subtitle {
    font-size: 4rem;
    color: white;
}
.loader-title,
.loader-subtitle {
    font-family: Arial, sans-serif;
    font-weight: bold;
    text-align: center;
}
#loader .button {
    margin-top: 1rem;
}
.loader-notice {
    font-family: Arial, sans-serif;
    color: white;
    font-size: 1rem;
    position: absolute;
    bottom: 10px;
    text-align: center;
}
.loader-notice a {
    font-family: Arial, sans-serif;
    color: white;
}
#loader-wheel {
    border: 16px solid #821e17;
    border-top: 16px solid #af2d24;
    border-bottom: 16px solid #af2d24;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}
#loader-wheel-error {
    border: 16px solid #929292;
    border-top: 16px solid #bdbdbd;
    border-bottom: 16px solid #a8a8a8;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#loader-screen {
    display: none;
    visibility: hidden;
}
@media (max-width: 480px) {
    .loader-title {
        font-size: 1rem;
    }
    .loader-subtitle {
        font-size: 2rem;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
