﻿* {
    margin: 0;
    padding: 0;
}


.loading-area {
    display: grid;
    place-items: center;
    height: 100vh;
    z-index: 9999999999;
    position: absolute;
}

.loader-container {
    margin: 0px !important;
    height: 100vh;
    position: fixed;
    z-index: 400000000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.1);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-container-element {
    width: 100%;
    height: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader div {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    transform: scale(0);
    animation: animate 1.5s ease-in-out infinite;
    display: inline-block;
    margin: .5rem;
}

    .loader div:nth-child(0) {
        animation-delay: 0s;
        background-color: var(--azul);
    }

    .loader div:nth-child(1) {
        animation-delay: 0.2s;
        background-color: var(--verde);
    }

    .loader div:nth-child(2) {
        animation-delay: 0.4s;
        background-color: var(--gris);
    }

    .loader div:nth-child(3) {
        animation-delay: 0.6s;
        background-color: var(--rojo);
    }

    .loader div:nth-child(4) {
        animation-delay: 0.8s;
        background-color: var(--azul);
    }

    .loader div:nth-child(5) {
        background-color: var(--verde);
        animation-delay: 1s;
    }

    .loader div:nth-child(6) {
        animation-delay: 1.2s;
        background-color: var(--gris);
    }

    .loader div:nth-child(7) {
        animation-delay: 1.4s;
        background-color: var(--rojo);
    }

@keyframes animate {
    0%, 100% {
        transform: scale(0.2);
    }

    40% {
        transform: scale(1);
    }

    50% {
        transform: scale(1);
    }
}
