/* Estilo para el contenedor del loader */
/* .loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
} */
/* Estilo para el contenedor del loader */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.loader-container .message {
    position: absolute;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    font-weight: 400;
    color: white;
    opacity: 0.8;
    margin-top: 10px;
    font-family: "Poppins", Arial, sans-serif;

}



/* Estilo para tarjetas */
.card-revas {
    width: 300px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #131b33;
    overflow: hidden;
    opacity: 0.5;
}

/* Estilos para las tarjetas dentro del loader */
.card-revas .card,
.card2 {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Estilos para los spans dentro de las tarjetas */
.card-revas .card span,
.card2 span {
    position: absolute;
    width: 100%;
    height: 2px;
    /*  background: linear-gradient(to right, transparent, #131b33);
    opacity: 0.5; */
}

/* Anima los spans dentro de la tarjeta 1 */
.card-revas .card span:nth-child(1) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #17f3fd);
    animation: cardanimate-1 1s linear infinite;
    /* animation-delay: 1s; */
}

.card-revas .card span:nth-child(2) {
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to left, transparent, #17f3fd);
    animation: cardanimate-2 1s linear infinite;
    /* animation-delay: 2s; */
}

.card-revas .card span:nth-child(3) {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to left, transparent, #17f3fd);
    animation: cardanimate-3 1s linear infinite;
    /* animation-delay: 1s; */
}

.card-revas .card span:nth-child(4) {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to right, transparent, #17f3fd);
    animation: cardanimate-4 1s linear infinite;
}

/* ESTILOS TARJETA 1*/

.card {
    position: relative;
    background: #131b33;
    width: 300px;
    height: 150px;
    overflow: hidden;
}

.card span:nth-child(1) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #17f3fd);
    animation: animate-1 2s linear infinite;
}

@keyframes animate-1 {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.card span:nth-child(2) {
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #17f3fd);
    animation: animate-2 2s linear infinite;
    animation-delay: 2s;
}

@keyframes animate-2 {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

.card span:nth-child(3) {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to left, transparent, #17f3fd);
    animation: animate-3 2s linear infinite;
    animation-delay: 1s;
}

@keyframes animate-3 {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.card span:nth-child(4) {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to left, transparent, #17f3fd);
    animation: animate-4 2s linear infinite;
    animation-delay: 1s;
}

@keyframes animate-4 {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(-100%);
    }
}

/* ESTILOS TARJETA 2 */

.card2 {
    width: 300px;
    height: 150px;
    position: absolute;
    margin-top: 20px;
    margin-left: 20px;
    background: #131b33;
    overflow: hidden;
    opacity: 0.5;
}

.card2 span:nth-child(1) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #17f3fd);
    animation: cardanimate-1 1s linear infinite;
    /* animation-delay: 1s; */
}

@keyframes cardanimate-1 {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.card2 span:nth-child(2) {
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to left, transparent, #17f3fd);
    animation: cardanimate-2 1s linear infinite;
    /* animation-delay: 2s; */
}

@keyframes cardanimate-2 {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(-100%);
    }
}

.card2 span:nth-child(3) {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to left, transparent, #17f3fd);
    animation: cardanimate-3 1s linear infinite;
    /* animation-delay: 1s; */
}

@keyframes cardanimate-3 {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.card2 span:nth-child(4) {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to right, transparent, #17f3fd);
    animation: cardanimate-4 1s linear infinite;
}

@keyframes cardanimate-4 {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }