body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

.container {
    max-width: 700px;
    margin: 40px auto;
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1, h2 {
    text-align: center;
}

button {
    width: 100%;
    padding: 15px;
    margin-top: 15px;
    border: none;
    border-radius: 8px;
    background-color: #2d6cdf;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #1f4fa8;
}

#cronometro {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #d62828;
    margin-bottom: 20px;
}

#numero-questao {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

#pergunta {
    font-size: 22px;
    margin-bottom: 20px;
}

.alternativa {
    background-color: #eeeeee;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.alternativa:hover {
    background-color: #dfe9ff;
}

.alternativa.selecionada {
    background-color: #2d6cdf;
    color: white;
}

#resultado-texto {
    font-size: 22px;
    text-align: center;
    line-height: 1.8;
}

@media (max-width: 600px) {

    .container {
        margin: 10px;
        padding: 20px;
    }

    #pergunta {
        font-size: 20px;
    }

}

.erro-card {
    background-color: #f8f8f8;
    border-left: 5px solid #d62828;
    padding: 15px;
    margin-top: 20px;
    border-radius: 8px;
}

.imagem-pergunta {
    width: 100%;
    max-width: 500px;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
}

.boas-vindas {
    margin-bottom: 30px;
    line-height: 1.7;
}

.boas-vindas h2 {
    margin-bottom: 20px;
}

.alerta {
    background-color: #fff3cd;
    border-left: 5px solid #ffcc00;
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
}