/* #loader {
    position: fixed;
    
} */
#init-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 50;
    display: flex;

}
#init-loader > img {
    margin: auto;
    width: 180px;
    height: auto;
}

.loader-main {
    margin: auto;
    border-radius: 10px;
    padding: 10px;
    padding-inline: 20px;
    aspect-ratio: 1;
}
.loader-main > img {
    height: 80px;
}
.loader-main > div {
    width: 80px;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--light-theme-3);
}
.loader-main > div > span {
    background-color: var(--theme-color);
    width: 40%;
    display: block;
    height: 100%;
    margin-left: 0;
    animation-name: loader-anim;
    animation-duration: 0.5s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
    animation-direction: alternate-reverse;
}

@keyframes loader-anim {
    from {
        margin-left: 0;
    }
    to {
        margin-left: 60%;
    }
}

#min-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 25;
    display: flex;
    background: rgba(0,0,0,0);
}

#min-loader > .loader-main {
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    background: var(--light-theme-1);
}
.dark-theme #min-loader > .loader-main {
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    background: var(--dark-theme-2);
}