* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #faf5ea;
  color: #333;
}

/* TOP BAR */
.top-bar {
  background: #2f5d5b;
  color: white;
  text-align: center;
  padding: 8px;
  font-size: 20px;
}

/* HEADER */
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 250px;
}

.header img {
  max-height: 400px;
  width: auto;
}
.posts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  gap: 30px;
}

.post {
  text-align: left;
  max-width: 1200px;
  width: 100%;
  padding-left: 10px;
}

.post img {
  width: 50%; 
  height: auto;
  display: block;
  margin: 0 auto;
}
.post h3 {
  margin-top: 10px;
  text-align: left;
}s

.category {
  margin-top: 6px;
}

.postBlog{
    font-size: 20px;
}
@media (max-width: 768px) {

  .posts {
    grid-template-columns: 1fr; /* 1 post por linha */
    padding: 20px;
  }

  .post {
    max-width: 100%;
    padding-left: 0;
  }

  .post img {
    width: 100%;
  }

  .post h5 {
    font-size: 1.5rem;
  }

  .category {
    font-size: 0.9rem;
  }

  .postBlog {
    font-size: 1rem;
  }
  
}
@media (max-width: 600px) {
  .post {
    grid-template-columns: 1fr;
  }


}

