/* ESTILOS PARA O JOGO DE QUIZ */

.quiz-container {
    padding: 30px;
    background-color: var(--cor-card);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.screen {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza os itens horizontalmente */
    text-align: center;    /* Mantém o texto dentro dos itens centralizado */
}

.hide {
    display: none;
}

#question-header {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    font-weight: bold;
    margin-bottom: 20px;
}

#question-text {
    font-size: 1.4em;
    margin-bottom: 30px;
    min-height: 3em;
}

.btn-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.btn {
    background-color: #e1e1e1;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn:hover {
    border-color: #999;
}

.btn.correct {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
}

.btn.wrong {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
}

#end-screen h2 {
    margin-bottom: 15px;
}
#end-screen p {
    font-size: 1.2em;
    margin-bottom: 25px;
}

/* --- ESTILOS PARA OS BOTÕES DE CONTROLE (NOVO E PADRONIZADO) --- */
.game-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.control-btn {
    background-color: var(--cor-principal);
    color: white;
    border: none;
    margin-top: 10px;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.control-btn:hover {
    background-color: #0056b3;
}