

/* CUSTOM CSS - LOADING */

div.loading {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999997;
    opacity: 0;
    visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: 0.4s;
}


div.loading.active {
    visibility: visible;
    opacity: 1;
    transition: 0.4s;
}



div.loading > div.bars {
    display: flex;
}


div.loading > div.bars > div.bar {
    margin: 0px 4px;
    height: 20px;
    width: 8px;
    background-color: #fff;
    transform: scale(0.8);
}

div.loading > div.bars > div.bar.one {
    animation: loadingAnimation 1.6s infinite;
}

div.loading > div.bars > div.bar.two {
    animation: loadingAnimation 1.6s infinite;
    animation-delay: 0.2s;
}

div.loading > div.bars > div.bar.three {
    animation: loadingAnimation 1.6s infinite;
    animation-delay: 0.4s;
}


@keyframes loadingAnimation {
    40% {
        transform: scale(2);
        background-color: var(--secondaryColor);
    }
}



div.loading > span.text {
    font-size: 20px;
    margin-top: 52px;
    color: #eee;
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.8);
}