/* CONTENEDOR DE LA IMAGEN */
#imagen-carga {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

/* IMAGEN */
#imagen-carga img {
    max-width: 300px;
    height: auto;
}

/* EFECTO DE MOVIMIENTO DE IMAGEN */
.move-effect {
    width: 300px;
    height: auto;
    opacity: 0;
    transform: scale(0.5) translateX(-100%);/* Empieza fuera de la pantalla*/
    animation: moveInOut 4s ease-in-out forwards; /* Animación */
}

/* ANIMACIÓN DE MOVIMIENTO ENTRADA Y SALIDA */
@keyframes moveInOut {
    0% {
        opacity: 0;
        transform: scale(0.5) translateX(-100%); /* Empieza fuera de la pantalla desde la izquierda */
    }
    25% {
        opacity: 1;
        transform: scale(1.2) translateX(20%); /* Se mueve hacia la derecha ligeramente fuera del centro */
    }
    50% {
        opacity: 1;
        transform: scale(1) translateX(0); /* Se queda en la posición central */
    }
    75% {
        opacity: 0.8;
        transform: scale(1) translateX(20%); /* Se mueve hacia la derecha */
    }
    100% {
        opacity: 0;
        transform: scale(0.5) translateX(100%); /* Se mueve hacia la derecha para desaparecer*/
    }
}

/* ESLOGAN */

#Eslogan {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    text-align: center;
    position: absolute;
    top: 50%; /* CENTRADO VERTICAL */
    left: 50%;/* CENTRADO HORIZONTAL */
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto; /* Para que no ocupe todo el alto de la pantalla */
}

#instructions-modal {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.modal {    
    display: flex; /* Cambié 'display: none' a 'display: flex' para que esté visible */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-content {
    background-color: white;
    border-color: 3px solid black;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    text-align: center;
}

.imagenes {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    gap: 30px; /* Espaciado entre las imágenes */
    margin-bottom: 20px; /* Espaciado entre imágenes y contenido */
    
}

#TP {
    text-align: center;
    margin-bottom: 20px;
    color: black;
}

#PP{
    margin: 0; /* Elimina el margen por defecto */
    margin-bottom: 20px; /* Espaciado entre imágenes y contenido */
    color: black;
}
#repse{
    background-color: white; 
    width: 140px; 
    height: 70px; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    
}
#iso{
    background-color: white; 
    width: 145px; 
    height: 100px; 
    border-radius: 20%; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
}

#start-btn{
    background-color: #014694;
    color: #fff;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s background-color;
}

#start-btn:hover {
    background-color: #192557;
}