@use '../utils' as *;

/*----------------------------------------*/
/*  Preloader
/*----------------------------------------*/

.preloader {
    background-color: #000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container {
    text-align: center;
}

.logo-container svg {
    width: 200px;
    height: auto;
    animation: fadeOpacity 2s infinite;
}

@keyframes fadeOpacity {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

.bouncing-loader {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
}

.bouncing-loader span {
    width: 10px;
    height: 10px;
    background-color: #FDD702;
    border-radius: 50%;
    animation: bounce 1.4s infinite;
}

.bouncing-loader-2 span{
	background-color: #049A47;
}

.bouncing-loader span:nth-child(1) {
    animation-delay: 0s;
}
.bouncing-loader span:nth-child(2) {
    animation-delay: 0.2s;
}
.bouncing-loader span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}
