body {
    margin: 0;
    overflow-x: hidden;
    padding: 0;
    background-color: #5C917D;
    font-family: 'Merriweather', serif;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    font-size: 1.2em;
    overflow-x: hidden;
}

main {
    flex: 1;
    padding: 20px;
    width: 100%;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 20px 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.balao {
    padding: 20px;
    text-align: center;
    max-width: 90%;
    margin: 0 auto;
    border-radius: 30px;
}

#btn-voltar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0 20px;
    color: white;
    cursor: pointer;
    font-size: 5em;
}

.azul {
    background-color: #A2D9D1;
}

.verde {
    background-color: #5C917D;
}

.vermelho {
    background-color: #d66364;
}

.branco {
    background-color: white;
    color: white;
}

.moldura {
    width: 100%;
}

.verde-claro {
    background-color: #9eba58;
}

.cientifico {
    font-weight: bold;
    font-size: 1.2em;
    font-style: italic;
    color: black;
}

.texto-planta p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #004d40;
}

.texto-povo p {
    font-size: 1.2em;
    line-height: 1.6;
    color: black;
}

/* Lado esquerdo do texto */
.esquerdo {
    width: 50%;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.esquerdo h1 {
    font-size: 3.6em;
    font-weight: bold;
    margin: 0;
}

.esquerdo h2 {
    font-size: 1.8em;
}

.esquerdo h3 {
    font-size: 1.6em;
    font-weight: lighter;
}

.esquerdo p {
    margin-top: 20px;
    font-size: 1.2em;
    line-height: 1.6;
}

.esquerdo .btn {
    background-color: white;
    color: #5C917D;
    padding: 15px 30px;
    text-align: center;
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

hr {
    width: 100vw;
    color: grey;
}

.esquerdo li {
    line-height: 1.6;
    margin-bottom: 1em;
    list-style-type: none;
}

.direito li {
    line-height: 1.6;
    margin-bottom: 1em;
}

#planta-selecionada img {
    width: 20em;
}

/* Lado direito do mapa */
.direito {
    width: 50%;
    position: relative;
}

.direito img {
    width: 100%;
    height: auto;
}



/* Estilo para as imagens inseridas dinamicamente */
.plantas {
    color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.referencias {
    margin-bottom: 1em;
}

.plantas p {
    font-size: 1.2em;
    text-align: center;
    margin: 1em 0;
}

.plantas img {
    max-width: 10em;
    margin: 1em;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    align-self: center;
}

.plantas img:hover {
    transform: scale(1.05);
}

.informativo {
    margin: 1em;
}

.cartao-planta {
    padding: 20px;
    align-content: center;
    margin: 1em;
    display: flex;
    flex-direction: column;
}

.menu-bar {
    background-color: #5C917D;
    color: white;
    width: 100%;
    text-align: center;
    padding: 10px;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.menu-bar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin: 0 15px;
}

.menu-bar a:hover {
    text-decoration: underline;
}

.content {
    margin-top: 60px;
    /* Para garantir que o conteúdo não fique sob o menu */
}

.question {
    margin-bottom: 20px;
    font-size: 1.8em;
}

.choices {
    list-style: none;
    padding: 0;
}

.choices li {
    margin-bottom: 10px;
}

button {
    margin-top: 20px;
}

.explanation {
    margin-top: 20px;
    padding: 10px;
    background-color: #d9edf7;
    border: 1px solid #bce8f1;
    border-radius: 5px;
}

#next-button {
    display: none;
}

#quiz-container {
    box-shadow: 0px 4px 8px darkslategray;
    padding: 4em;
    background-color: WHEAT;
    margin: 2em;
}

.alert-info {
    padding: 15px;
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
    border-radius: 5px;
    font-size: 1.1em;
    text-align: center;
    margin: 10px 0;
}


/* Configurações de responsividade */
@media (max-width: 1200px) {

    .direito img {
        max-width: 60%;
    }

    .container {
        flex-direction: column;
        align-items: center;
        margin: 0;
        /* Remover margem para evitar scroll */
    }

    main {
        padding: 0;
    }

    .esquerdo,
    .direito {
        width: 100%;
        padding: 10px;
        /* Reduz padding para adaptar ao tamanho */
        text-align: center;
    }
}

@media (max-width: 768px) {
    .imagens-informativo img {
        width: 50%;
    }

    .container {
        margin: 0;
    }

    .balao {
        padding: 10px;
        /* Reduz padding */
    }

    .direito img {
        width: 50%;
        height: auto;
    }
}

@media (max-width: 480px) {

    /* Ajustes adicionais para telas menores */
    .esquerdo h1 {
        font-size: 3em;
    }

    .esquerdo h2,
    .esquerdo h3 {
        font-size: 1.2em;
    }

    p {
        font-size: 1em;
    }

    #btn-voltar {
        font-size: 2em;
        /* Reduz tamanho do botão */
        margin: 0 10px;
    }

    .balao,
    .informativo {
        padding: 5px;
        /* Padding menor para caixas de informação */
    }
}

/* Responsividade para o quiz */
@media (max-width: 768px) {
    #quiz-container {
        padding: 2em 1em;
        /* Ajuste de padding para telas pequenas */
        margin: 1em 0;
    }


    .menu-bar {
        font-size: 0.9em;
        /* Reduz o tamanho da fonte no menu */
    }

    .question {
        font-size: 1.5em;
        /* Reduz o tamanho da fonte para perguntas */
    }

    .choices label {
        font-size: 1em;
        /* Reduz o tamanho das opções */
    }

    #submit-button,
    #next-button {
        padding: 10px 15px;
        /* Ajuste de padding para botões */
    }
}

@media (max-width: 480px) {
    #quiz-container {
        width: 90%;
        padding: 1em;
    }

    .menu-bar a {
        margin: 0 10px;
        /* Ajuste de espaçamento entre links */
    }

    h1,
    .question {
        font-size: 1.2em;
    }

    #submit-button,
    #next-button {
        font-size: 0.9em;
        width: 100%;
        /* Deixar os botões com 100% da largura */
    }

    footer p {
        font-size: 0.8em;
        text-align: center;
    }
}