/* Estilo global */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: url('background.webp') no-repeat center center/cover;
    color: #444;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2e7d32;
    padding: 15px 20px;
    position: relative;
}

.nav-links {
    display: flex;
    list-style: none;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

/* Estilo para exibição do menu dropdown em celulares */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: #2e7d32;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }
}

/* Container do Quiz */
#quiz-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
}

#question-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2e7d32;
    margin-bottom: 20px;
}

#question-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#options button {
    padding: 10px;
    font-size: 1rem;
    border: none;
    background: #4caf50;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#options button:hover {
    background: #388e3c;
}

p {
    margin-top: 20px;
    font-size: 1.1rem;
}

#prev-btn, #next-btn {
    margin-top: 20px;
    padding: 10px 15px;
    font-size: 1rem;
    border: none;
    background: #2e7d32;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#prev-btn:hover, #next-btn:hover {
    background: #1b5e20;
}
