/* Estilos para pantallas grandes */
body {
    font-family: Arial, sans-serif;
    background-image: url('../img/fondo1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.game-container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    width: 90%;
    max-width: 500px;
    box-sizing: border-box;
}

header h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
}

.question-container p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

button {
    font-size: 1rem;
    margin: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background-color: #cfcfcf;
    color: #333;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #b3b3b3;
}

/* Estilos para pantallas pequeñas */
@media (max-width: 768px) {
    body {
        font-size: 14px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        margin: 0;
    }

    .game-container {
        width: 100%;
        max-width: 300px;
        padding: 20px;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .question-container p {
        font-size: 1rem;
    }

    button {
        font-size: 0.8rem;
        padding: 8px 12px;
    }

    .question-container p,
    #question-text {
        font-size: 1rem;
    }
}

/* Estilos para pantallas muy pequeñas */
@media (max-width: 480px) {
    body {
        font-size: 12px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        margin: 0;
    }

    .game-container {
        width: 100%;
        max-width: 200px;
        padding: 15px;
    }

    header h1 {
        font-size: 1.2rem;
    }

    .question-container p,
    #question-text {
        font-size: 0.8rem;
    }

    button {
        font-size: 0.6rem;
        padding: 6px 10px;
    }
}

/* Estilos para imágenes */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* INICIO DE CONTENEDOR CENTRAL AL SELECCION DE TRIVIA*/

.transparent {
    background-color: rgba(255, 255, 255, 0);
}

.transparent-text header h1 {
    color: white; /* Cambia el color del título específicamente */
}

.transparent-text {
    color: white; /* Cambia el color del texto a blanco */
}

.transparent-text button {
    background-color: rgba(255, 255, 255, 0.2); /* Botones más transparentes */
    color: white; /* Cambia el color del texto de los botones */
    border: 1px solid white; /* Añade un borde blanco a los botones */
}

.transparent-text button:hover {
    background-color: rgba(255, 255, 255, 0.4); /* Botón un poco más visible al pasar el mouse */
}