body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f4f4f4;
}
#gameContainer {
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    position: relative; /* Añadido para permitir que el popup se posicione dentro del contenedor */
}
#question {
    font-size: 24px;
    margin-bottom: 20px;
}
.answer-btn {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.answer-btn:hover {
    background-color: #0056b3;
}
#score {
    margin-top: 20px;
    font-size: 18px;
}
#restart-btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}
#restart-btn:hover {
    background-color: #218838;
}
/* Estilo para el popup de respuesta dentro del contenedor */
#popup {
    display: none;
    position: absolute;
    top: -20px; /* Ajusta según sea necesario */
    left: 50%;
    transform: translate(-50%, -100%); /* Centra el mensaje horizontalmente y lo posiciona arriba */
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border-radius: 10px;
    font-size: 18px;
    text-align: center;
    z-index: 10;
    width: 80%; /* Para ajustar mejor dentro del contenedor */
}