#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000000;
    background-color: rgb(0,0,0,0.75);
    display: none;
}

#loading-overlay > div,
#loading-overlay > div:before,
#loading-overlay > div:after {
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    animation-fill-mode: both;
    animation: LoadingAnimation 1.8s infinite ease-in-out;
}

#loading-overlay > div {
    color: var(--btn-bg);
    font-size: 7px;
    position: fixed; /* Tam ekran için fixed pozisyon */
    top: 50%;
    left: 50%;
    text-indent: -9999em;
    transform: translateZ(0) translate(-50%, -50%); /* Ortalamak için */
    animation-delay: -0.16s;
}

#loading-overlay > div:before,
#loading-overlay > div:after {
    content: '';
    position: absolute;
    top: 0;
}

#loading-overlay > div:before {
    left: -3.5em;
    animation-delay: -0.32s;
}

#loading-overlay > div:after {
    left: 3.5em;
}

@keyframes LoadingAnimation {
    0%, 80%, 100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }
    40% {
        box-shadow: 0 2.5em 0 0;
    }
}
