html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: 0;
    list-style: none;
}

h2 {
    font-size: 50px;
}
    
@media (max-width: 768px) {
    h2, .about-description h2, .o-que-fazemos-description h2, .transparencia h2, .atividades h2, .projects h2, .book h2, .map h2{
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    h2, .about-description h2, .o-que-fazemos-description h2, .transparencia h2, .atividades h2, .projects h2, .book h2, .map h2{
        font-size: 2rem;
    }
}

p{
    font-size: 15px;
    font-family: "Lexend", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

@media (max-width: 768px) {
    p, .about-description p, .o-que-fazemos-description p, .transparencia p, .atividades p, .projects p, .book p, .map p{
        font-size: 0.9rem;
    }
}
@media (max-width: 480px) {
    p, .about-description p, .o-que-fazemos-description p, .transparencia p, .atividades p, .projects p, .book p, .map p{
        font-size: 0.9rem;
    }
}

body {
    font-family: "Lexend", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

header{
    width: 100%;
    background-color: #fccd0e;
    overflow-x: hidden;
}

.header-content{
    display: flex;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #0429f4;

}

.menu ul {
    list-style: none; 
    padding: 0;
    margin: 0;
    display: flex;
    gap: 60px; 
    justify-content: center;

}

.menu ul li {
    margin: 0;
    padding: 0;

}

.menu-toggle {
    display: none; 
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #0429f4;
    margin-top: 10px; 
}

@media screen and (max-width: 768px) {
    .header-content {
        flex-direction: column;
        justify-content: space-between;
        padding: 10px 20px;
        position: relative;
    }

    .menu {
        display: none;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #fccd0e;
        text-align: center;
        padding: 20px 0;
    }

    .menu ul {
        flex-direction: column;
        gap: 15px;
    }

    .menu ul li {
        padding: 10px 0;
    }

    .menu-toggle {
        display: block;
    }

    .menu.active {
        display: block;
    }
}

@media (max-width: 480px) {
    .header-content {
        flex-direction: column;
        justify-content: space-between;
        padding: 10px 20px;
        position: relative;
    }

    .menu {
        display: none;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #fccd0e;
        text-align: center;
        padding: 20px 0;
    }

    .menu ul {
        flex-direction: column;
        gap: 15px;
    }

    .menu ul li {
        padding: 10px 0;
    }

    .menu-toggle {
        display: block;
    }

    .menu.active {
        display: block;
    }
}

h1 {
    font-family: "Lexend", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;;
}

button {
    font-family: "Lexend", serif;
    cursor: pointer;
}

@media screen and (max-width: 768px){
    .header-content{
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .header-logo img{
        width: 300px;
        margin-top: 0;
    }

    .menu ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 40px;
    }
}

.container {
    max-width: 100vw;
    overflow-x: hidden
}

.about {
    color: black
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 14px 64px 14px;
    margin-left: 80px;
    margin-right: 80px;
    img {
        max-width: 570px;
    }
}

.about-content div {
    flex:1;
}

.about-description {
    h2 {
        color:#0429f4;
        margin-bottom: 20px;
    }

    p{
        margin-bottom: 14px;
        line-height: 150%; /* aumenta a distancia entre cada linha do paragrafo */
    }

}.o-que-fazemos {
    background-color: #0429f4;
    color: white
}

.o-que-fazemos-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 14px 64px 14px;
    margin-left: 80px;
    margin-right: 80px;
    img {
        max-width: 570px;
    }
}

.o-que-fazemos-content div {
    flex:1;
}

.o-que-fazemos-description {
    h2 {
        color:white;
        margin-bottom: 20px;
        margin-top: 50px;
    }

    p{
        margin-bottom: 14px;
        line-height: 150%; /* aumenta a distancia entre cada linha do paragrafo */
    }
}

@media screen and (max-width: 768px){
    .about-content{
        flex-direction: column;
    }
}

.projects{
    background-color: white;
    color:black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 54px 14px 50px 14px; 

    img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        transition: transform 0.25;
    }
}

.projects-content h2{
    text-align: center;
    margin-bottom: 14px;
    color:#68ea13;
}

.projects-content p{
    line-height: 150%;
    margin-bottom: 14px;
    text-align: center;
    padding: 14px;
    margin-right: 80px;
    margin-left: 80px;
}

.each-project{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 100px;
    padding: 0px 44px 34px 44px; 
}

.project {
    flex:1; /*faz com que cada item fique do mesmo tamanho*/
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px -1px 17px -4px rgba(0, 0, 0, 0.5);
    overflow: hidden; 
    max-width: 354px;

    img {
        max-width: 354px;
        transition: transform 0.25s;
    }
}

.project img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.25s;
}

.project img:hover {
    transform: scale(1.1);
}

.project-info {
    width: 100%;
    display: flex;
    color: #3b3b3b;
    padding: 14px;
    background-color: white;
    z-index: 99; /* determina qual a camada que o elemento está */
}

.project-conselhos {
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 14px 14px 64px 14px;
    list-style-type: disc;

}

@media screen and (max-width: 768px) {
    .each-project {
        flex-direction: column;
        align-items: center;
    }

    .projects-content p {
        margin-left: 5%;
        margin-right: 5%;
    }

    .project {
        max-width: 100%; 
    }
}

.atividades {
    background-color:#fccd0e;
    padding: 50px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.atividades h2 {
    margin-bottom: 20px;
    color:#0429f4
}

.atividades p {
    color: #0429f4;
    max-width: 700px;
    margin: 0 auto 40px;
}

.atividades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: auto;
}

.atividade {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s;
}

.atividade img {
    width: 60px;
    margin-bottom: 10px;
}

.atividade h3 {
    font-size: 1.5rem;
    color:#0429f4;
    margin-bottom: 14px;
}

.atividade p {
    font-size: 1rem;
    color: #3b3b3b;
}

.atividade:hover {
    transform: translateY(-5px);
}


.map {
    color:#0429f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 54px 14px;

    img {
        width: 250px;
    }
}

footer {
    background-color: #fccd0e;
    color: #0429f4;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 54px 20px;
    gap: 16px;
    text-align: center;

    h2 {
        font-size: 20px;
    }
}

.contact {
    max-width: 600px;
    margin: 0 auto;
}

.contact a {
    display: flex;
    align-items: center;
    justify-content: center; 
    text-decoration: none; 
    color: #0429f4;
    font-size: 15px; 
    margin-top: 20px;
}

.contact i {
    margin-right: 8px;
    font-size: 20px; 
}

@media screen and (max-width: 768px){
    footer {
        padding: 40px 10px;
    }

    .contact {
        max-width: 90%;
    }

    .contact a {
        flex-direction: column;
        text-align: center;
    }

    .contact i {
        margin-right: 0;
        margin-bottom: 5px;
    }
}

.timeline {
    text-align: center;
    padding: 20px;
}

.timeline-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.timeline-item {
    background-color:#68ea13;
    color: #3b3b3b;
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.timeline-item:hover {
    background: #0429f4;
}

.year {
    font-weight: bold;
    display: block;
    font-size: 1.2em;
}

.title {
    font-size: 0.9em;
}

.midias {
    padding: 0 15px;

    h2{
        color:#9c04f4;
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
    }

    p {
        display: flex;
        justify-content: center;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    color:black;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 50%;
}

.close {
    float: right;
    font-size: 24px;
    cursor: pointer;
}

.noticias {
    text-align: center;
    padding: 20px;
}

.noticias-container { 
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 70px;

}

.noticias-item {
    background-color:#0429f4;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    max-width: 400px;
    text-align: left;
}

.noticias-item:hover {
    background:#9c04f4;
    color: white;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .noticias-container {
        justify-content: space-between;  
    }

    .noticias-item {
        max-width: 100%;
        margin: 10px 0;
    }

    .midias h2 {
        font-size: 2rem;  
    }

    .midias p {
        font-size: 0.875rem;  
    }
}

@media (max-width: 480px) {
    .midias h2 {
        font-size: 1.5rem;
    }

    .midias p {
        font-size: 0.75rem;
    }
}

.title {
    font-size: 0.9em;
}

.transparencia {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    background-color: white;
    text-align: center; 
    padding: 50px 20px;
}
    h2 {
        color: #0429f4;
        font-size: 50px;
    }

.table-container {
    width: 90%;
    max-width: 800px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-bottom: 14px;

}
table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    padding: 50px 20px;
    
}
th, td {
    padding: 12px;
    border: 1px solid white;
    text-align: left;
}
th {
    background-color:#fccd0e;
    color: black;
}
tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:nth-child(odd) {
    background-color: #ffffff;
}
@media (max-width: 600px) {
    th, td {
        font-size: 14px;
        padding: 8px;
    }
}

.book {
    text-align: center;
    padding: 20px;

    h2 {
        color:#f42804;
        margin-bottom: 30px;
    }
}
.book-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px; 
    padding: 20px;
    max-width: 1000px;
    margin: auto;
}

.book-description {
    flex: 1;
    text-align: left;
    max-width: 500px;
}

.book-description p {
    margin-bottom: 14px;
    line-height: 1.5;
}

.book-image img {
    max-width: 400px;
    height: auto;
}

.buy-button {
    display: inline-block;
    background-color: #f42804;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 18px;
    margin-top: 20px;
    transition: 0.3s;
}

.buy-button:hover {
    background-color:  #e21d03;
}

.book-image img {
    max-width: 400px; 
    height: auto;
}

@media screen and (max-width: 768px) {
    .book-content {
        flex-direction: column;
        text-align: center;
    }

    .book-description {
        text-align: center;
    }
}




