/* Estilo Global e Fundo */
body {
    font-family: 'Arial', sans-serif;
    background-image: url('pets.jpeg'); 
    background-size: cover; 
    background-repeat: no-repeat; 
    background-attachment: fixed; 
    background-position: center center;
    color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    /*min-height: 100vh;*/
    margin: 0;
    padding: 20px;
}

body::after {
    content: ''; 
    background-size: cover;
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.6; /* <-- AQUI VOCÊ CONTROLA A TRANSPARÊNCIA (0.0 é transparente, 1.0 é opaco) */
    z-index: -1; 
}
/* Container Principal do Quiz */
.quiz-container {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 600px;
    text-align: center;
    transition: all 0.5s ease-in-out;
}

h1 {
    font-size: 2.5em;
    color: #a05afc; /* Amarelo/Dourado */
    margin-bottom: 20px;
}

h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    min-height: 30px; /* Para evitar pulos de layout */
}

/* Opções de Resposta (Botões) */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.option-button {
    background-color: #3a3f5b;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s, transform 0.2s; /* Transição "Bonita" */
    font-size: 1em;
}

.option-button:hover {
    background-color: #4b5275;
    transform: translateY(-2px); /* Efeito sutil ao passar o mouse */
}

.option-button.selected {
    background-color: #f7b731; /* Dourado/Seleção */
    color: #1f1c2c;
    border: 2px solid #fff;
}

/* Botão Próxima Pergunta */
#next-button {
    background-color: #00bcd4; /* Azul vibrante */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s;
    opacity: 0.5;
    pointer-events: none; /* Desabilitado por padrão */
}

#next-button.active {
    background-color: #0097a7;
    opacity: 1;
    pointer-events: auto;
}

#next-button:hover.active {
    background-color: #007a86;
}

/* Estilo do Resultado */
.result-container {
    padding-top: 20px;
}

#result-description {
    background-color: #3a3f5b;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: left;
    line-height: 1.6;
    margin-bottom: 20px; /* Adiciona um respiro antes do botão */
}

/* Estilo para o botão Recomeçar */
.result-container button {
    margin-top: 20px;
    background-color: #e53935; /* Vermelho/Recomeçar */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.result-container button:hover {
    background-color: #c62828;
}

.pet-image {
    max-width: 40%; /* Garante que a imagem se ajuste ao container */
    height: auto;
    border-radius: 10px;
    margin: 20px auto; /* Espaçamento e centralização */
    display: block; /* Garante que 'margin: auto' funcione */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Media Query para Telas Menores */
@media (max-width: 650px) {
    .quiz-container {
        margin: 10px;
        padding: 25px;
    }
}