/* pop_instrucciones.css */

/* Estilo para el overlay del popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Fondo semi-transparente */
    display: none; /* Inicialmente oculto */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Por encima de otros elementos */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Mostrar el overlay con animación */
.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Estilo para el contenido del popup */
.popup-content {
    background-color: #ffffff; /* Fondo blanco */
    padding: 30px 40px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    position: relative;
    transform: translateY(-50px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Animación para el contenido al aparecer */
.popup-overlay.show .popup-content {
    transform: translateY(0);
    opacity: 1;
}

/* Logo opcional */
.popup-logo {
    display: block;
    margin: 0 auto 20px auto;
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* Estilo para el título */
.popup-content h2 {
    margin-top: 0;
    font-size: 28px;
    text-align: center;
    color: #2c3e50;
    font-family: 'Roboto', sans-serif;
}

/* Estilo para el subtítulo */
.popup-content p {
    text-align: center;
    font-size: 16px;
    color: #34495e;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
}

/* Estilo para la lista de controles */
.popup-content ul {
    list-style-type: none; /* Sin viñetas */
    padding: 0;
    margin: 0 0 20px 0;
}

.popup-content li {
    margin-bottom: 15px;
    font-size: 16px;
    color: #555555;
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
}

.popup-content li strong {
    color: #2c3e50;
}

.popup-content li em {
    color: #2980b9;
    font-style: normal;
}

/* Estilo para el botón de cierre */
.popup-close-btn {
    display: block;
    margin: 0 auto;
    padding: 12px 24px;
    background-color: #27ae60; /* Verde elegante */
    color: #ffffff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.popup-close-btn:hover {
    background-color: #219150; /* Verde más oscuro al pasar el mouse */
    transform: translateY(-2px);
}

.popup-close-btn:active {
    transform: translateY(0);
}

/* Estilo para la atribución */
.popup-attribution {
    margin-top: 25px;
    font-size: 14px;
    text-align: center;
    color: #7f8c8d;
    font-family: 'Roboto', sans-serif;
}

.popup-attribution a {
    color: #2980b9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.popup-attribution a:hover {
    color: #1c6690;
    text-decoration: underline;
}

/* Fuente personalizada (opcional) */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Responsividad */
@media (max-width: 480px) {
    .popup-content {
        padding: 20px 20px;
    }

    .popup-content h2 {
        font-size: 24px;
    }

    .popup-content li {
        font-size: 14px;
    }

    .popup-close-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
