/* Estilos Generales y Tipografía */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f4f8;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 1rem;
    box-sizing: border-box;
}

/* Contenedor Principal */
.container {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    text-align: center;
}

/* Manejo de Pantallas (activa y oculta) */
.screen {
    display: none; /* Oculta todas las pantallas por defecto */
}
.screen.active {
    display: block; /* Muestra solo la pantalla activa */
}

/* Títulos y Párrafos */
h1, h2 {
    color: #007bff;
    margin-top: 0;
}
p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Formularios y Entradas */
input[type="text"] {
    width: calc(100% - 2rem);
    padding: 0.8rem 1rem;
    margin: 1rem 0;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
}
input[type="text"]:focus {
    border-color: #007bff;
    outline: none;
}

/* Botones */
.btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    max-width: 250px;
    transition: background-color 0.3s, transform 0.2s;
}
.btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Cabecera del Juego */
.game-header {
    display: flex;
    justify-content: space-around;
    background-color: #e9ecef;
    padding: 0.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}
.game-header p {
    margin: 0;
    font-size: 1rem;
}

/* Contenedor de la Pregunta */
.question-description-text {
    font-size: 1.2rem;
    color: #5a6772;
    margin-bottom: -0.5rem;
    font-style: italic;
}

#question-text {
    font-size: 1.8rem;
    font-weight: 600;
    color: #343a40;
    margin: 2rem 0;
}

/* Mensajes de Retroalimentación */
.feedback-message {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    min-height: 25px;
}
.feedback-message.correct {
    color: #28a745;
}
.feedback-message.incorrect {
    color: #dc3545;
}
