* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

#secoes {
  display: grid;
  grid-template-columns: 1fr 2fr;
  /* 60% 40% ou 50% 50% */


}

#header {
  background-color: #02A28F;
  color: #FFFFFF;
  margin: 0;
}

.headerText {
  padding: 1rem 0 1rem 9rem;
  font-size: 36px;
}

#imagem-Text {
  width: 100%;
}

#container {
  display: grid;
  margin-left: 7rem;
  margin-top: 3.12rem;
}

#title-cards {
  display: flex;
  background-color: #02A28F;
  border-radius: 0.625rem;
  width: 47rem;
  margin-left: 1rem;
  color: #FFFFFF;
}

#title-txt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

#title-txt h3 {
  padding: 1rem 0 1rem 1.5rem;
  font-size: 1.25rem;
}

#title-txt a {
  padding-right: 1.5rem;
  color: white;
  font-size: 0.87rem;
}

#cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2 colunas */
  gap: 2rem;
  /* Espaço entre os cards */
  padding: 2rem 1rem;
  max-width: 49rem;
}


.card {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.card img {
  max-width: 100vw;
  height: auto;
  object-fit: cover;
}

.card-content {
  padding: 1rem;
}


.categoria {
  color: #02A28F;
  font-size: 0.85rem;
  text-transform: lowercase;
}


.card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.card p {
  margin: 0.4rem 0;
  color: #444;
  font-size: 0.95rem;
}

.resumo {
  font-size: 0.9rem;
  color: #000000;
}

.data {
  font-size: 0.8rem;
  color: #616161;
}


#postsTxt {
  background-color: #02A28F;
  margin-top: 3.5rem;
  max-width: 28rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

#postsTxt h3 {
  padding: 1rem 0 1rem 1.5rem;
  color: white;

}

#postsCard {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}


.postCard {
  display: flex;
  background-color: white;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 28rem;
}

.postCard img {
  padding: 1rem;
}

.postcard-txt h4 {
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: .5rem;
}

.postCard p {
  font-size: 0.8rem;
  color: #616161;
}

#categorias {
  display: flex;
}

#categorias-txt {
  background-color: #02A28F;
  margin-top: 1.5rem;
  max-width: 28rem;
  width: 100vw;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

#categorias-txt h3 {
  padding: 1rem 0 1rem 1.5rem;
  color: white;
}

#categorias-info {
  color: #555555;
  font-size: 1rem;
  display: flex;
}

.infos-txt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 28rem;
  width: 100vw;
  margin-bottom: 1rem;
}

footer {
  background-color: #02A28F;
  color: #FFFFFF;
  text-align: center;
}

footer p {
  padding: 1rem 0 1rem 0;
}

@media screen and (max-width: 768px) {

 
  #secoes {
    display: flex;
    flex-direction: column;
    align-items: center;


  }

  #title-txt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
 
}

  #imagem-Text img {
    width: 100%;
    height: auto;
    display: block;
  }

 #title-cards {
  width: 96%;
  margin-left: 1rem;
  border-radius: 0.5rem;
}

#container {
  margin-left: 0;
}

  #cards {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .card {
    width: 100%;
  }

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

  #postsCard {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .postCard {
    flex-direction: row;
    width: 100%;
    max-width: 100%;
  }

  .postCard img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin: 1rem;
    border-radius: 0.5rem;
  }

  .postcard-txt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
  }

  /* Ajuste geral de padding e texto */
  body {
    padding: 0;
    margin: 0;
  }

  #postsTxt {
    width: 100%;
    max-width: 100%;
    padding: 1rem;
  }



}