* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Cabeçalho */
header {
    background-color: #005a35;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: relative;
}
header .logo img {
    max-width: 150px;
    height: auto;
}

/* Estilo para o menu de navegação */
.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap; 
}
.navbar li {
    margin: 0 15px;
}
.navbar a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
}

/* Efeito de hover para os links */
.navbar a:hover {
    color: #ffcc00;
}

/* Menu responsivo */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.menu-toggle div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
}

.content {
    padding: 40px 20px;
    background-color: #fff;
}

.article {
    max-width: 800px;
    margin: 0 auto;
}

.article h1 {
    font-size: 2.5rem;
    color: #005a35;
    margin-bottom: 20px;
}

.article p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.image-container {
    text-align: center;
    margin: 20px 0;

}

.imagem-reduzida {
    transform: scale(0.7); /* Reduz o tamanho para 70% */
    display: block;
    margin: auto;
  }  


.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

footer {
    background-color: #005a35;
    color: white;
    text-align: center;
    padding: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
    font-size: 0.9rem;
}

@media screen and (max-width: 980px) {
    .article h1 {
        font-size: 2rem;
    }

    .article p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 837px) {
    .navbar {
        display: flex;
        flex-direction: column;
        background-color: #005a35;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        text-align: center;
        z-index: 100;
        overflow: hidden;
        height: 0; 
        transition: height 0.3s ease-in-out, background-color 0.3s ease; 
    }
    .navbar ul {
        flex-direction: column;
        opacity: 0; 
        transition: opacity 0.3s ease-in-out; 
    }
    .navbar li {
        margin: 10px 0;
    }
    .menu-toggle {
        display: flex;
    }
    /* Cor mais clara quando o menu é aberto */
    .navbar.active {
        height: 300px; 
        background-color: #007b4f; 
    }
    .navbar.active ul {
        opacity: 1; 
    }
}
