#header {
  top: 0;
  left: 0;
  width: 100%;
} 

#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%;
    margin-bottom: 0px;
    font-family: 'Courier New', Courier, monospace;
  }
  
#cabecalho1 {
    color: black;
    text-decoration: none;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 0px;
    font-size: clamp(0.4rem, 2vw, 1.2rem);
  }
  #cabecalho1:hover{
    background-color: rgb(3, 92, 15);
    color: white;
    padding: 10px;
  }

  #foto1{
    width: 100%;
    height: 700px;
    margin-top: 40px; /* para compensar o header fixo */
    background-image: url("../imagens/inicio3.jpg");
    background-size: cover;
    background-position: top;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* centraliza verticalmente */
    text-align: center;
    padding-top: 50px; /* ou use gap no flexbox */
    margin: 0 auto;
  }

  #corpo{
    max-width: 1200px;
    margin: 0 auto;
  }

#principio0{
  background-image: url("../imagens/principios1.jpg");
  color: rgb(117, 117, 117);
  background-size: cover;
}

.principios {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.principio {
    width: 370px;
    border: hidden;
    padding: 10px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    
}

.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: center;
  margin: 20px 0;
  }

#fim{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    background-color: #f8ba5e;
    color: black;
}

#fim1{
    width: 300px;
    border: hidden;
    padding: 10px;
    text-align: center;
}

@media screen and (max-width: 768px) {
  #fim {
    flex-direction: column;
    align-items: center;
  }

  #fim1 {
    width: 100%;
    max-width: 300px; /* opcional, para não ficar muito largo */
  }
}

#fim1 ul{
  padding: 0;
  margin: 0;
}

#fim1 ul li{
  padding: 0;
  margin: 0;
  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: white;
  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 {
  margin-bottom: 15px;
  text-align: justify;
  line-height: 1.5;
  font-size: 1.2rem;
  font-family: 'Courier New', Courier, monospace;
}
