#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* Garante que fique acima de tudo */
  margin: 0px;
} 

#cabecalho {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: clamp(5px, 2vw, 30px);
    background-color: #f8ba5e;
    padding-top: 15px;
    padding-bottom: 0px;
    margin-top: 0%;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.2rem;
    
  }
  
#cabecalho1 {
    color: black;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 0px;
    font-size: clamp(0.4rem, 2vw, 1.2rem);
  }
  #cabecalho1:hover{
    background-color: rgb(3, 92, 15);
    color: white;
    padding: 10px;
  }

  #foto1 {
    height: 700px;
    margin-top: 60px;
    background-image: url("../imagens/inicio2.jpg");
    background-size: cover;
    background-position: top;
    display: flex;
    flex-direction: column;
    align-items: center; /*centralizar horizontalmente*/
    justify-content: center; /* centraliza verticalmente */
    text-align: center;
    padding-top: 50px;
    margin: 0 auto;
  }

  #corpo{
    max-width: 1200px;
    margin: 0 auto;
  }

  .def{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    align-items: center;
}

.def1{
    width: 380px;
    border: hidden;
    padding: 5px;
    text-align: center;
}

.noticias {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.noticia {
  width: 350px;
  border: 1px solid #ccc;
  padding: 10px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  color: black;
  font-weight: bold;
}

.noticia img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.noticia:hover{
transform: scale(1.05);
box-shadow: 4px 4px 12px rgba(0,0,0,0.2);
color: rgb(27, 117, 235);
}

  .botao{
    background-color: green;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    transition: background-color 0.3s;
  }
  .botao:hover{
    background-color: #007BFF;
  }
  .botao-container {
    display: flex;
    justify-content: flex-end;
    margin: 20px 0;
    }

#fim{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    background-color: #f8ba5e;
    color: black;
}

#fim1{
    width: 300px;
    border: hidden;
    padding: 10px;
    text-align: center;
}

#fim2{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    color: #2c3e50;
}

#fim3{
    width: 500px;
    border: hidden;
    padding: 1px;
    text-align: center;
    color: #2c3e50;
}

h1 {
  color:#4e3730;
  text-align: center;
  font-size: clamp(2rem, 8vw, 6rem);
  text-transform: uppercase;
}

h2, h3 {
  color: #2c3e50;
  margin-bottom: 10px;
  text-transform: capitalize;
  font-size: 2rem;
}

p, li {
  font-size: 1rem;
  margin-bottom: 15px;
  text-align: justify;
  line-height: 1.5;
  font-size: 1.2rem;
  font-family: Courier New;
}
