/* Estilos para la animación de carga */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
    overflow: hidden;
}

.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
    background-color: #000;
    text-align: center;
    opacity: 0; /* Inicia invisible */
    animation: fadeIn 1.5s ease-in-out forwards; /* Animación para aparecer */
    margin-top: -50px; /* Movemos el contenedor hacia arriba */
}
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px); /* Desplaza hacia abajo */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Vuelve a su posición original */
    }
}

.logo img {
    width: 320px; /* Aumentamos el tamaño de la imagen */
    margin-bottom: 30px;
    animation: logoFadeIn 2s ease-in-out forwards; /* Animación suave para la imagen */
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8); /* Empieza más pequeña */
    }
    100% {
        opacity: 1;
        transform: scale(1); /* Escala al tamaño completo */
    }
}

/* Estilo de la animación de carga */
.loader {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    width: 140px; /* Tamaño más grande del círculo */
    height: 140px;
    animation: fadeIn 2s ease-in-out forwards;
}

.loader .line {
    width: 100%;
    height: 100%;
    border: 5px solid transparent;
    border-top-color: #3498db;
    border-radius: 50%;
    position: absolute;
    animation: spin 1.2s linear infinite;
}

.loader .line:nth-child(2) {
    width: 85%;
    height: 85%;
    border-top-color: #f39c12;
    animation-duration: 1.5s;
}

.loader .line:nth-child(3) {
    width: 65%;
    height: 65%;
    border-top-color: #e74c3c;
    animation-duration: 1.8s;
}

.loader .line:nth-child(4) {
    width: 45%;
    height: 45%;
    border-top-color: #9b59b6;
    animation-duration: 2.1s;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader-container p {
    margin-top: 30px;
    font-size: 1.5em; /* Tamaño más grande del texto */
    color: #fff;
    letter-spacing: 1.5px;
    animation: fadeIn 2s ease-in-out forwards;
}

/* Estilos del contenido */
.content {
    padding: 20px;
    text-align: center;
    display: none;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-30px); /* Opcional: desplazar hacia arriba al desvanecerse */
    }
}
