body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
}

nav {
  background-color: #ffffff;
  padding: 10px;
  display: flex;
  gap: 20px;
  justify-content: center;
  border-bottom: 1px solid #ddd;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

h1 {
  font-size: 2rem;
  margin: 20px;
}

#map {
  height: 80vh;
  width: 100%;
  margin-top: 10px;
}

table {
  margin: 20px auto;
  border-collapse: collapse;
  width: 90%;
  background: white;
}
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 2rem;
  background: white;
  color: #333;
}

nav {
  margin-bottom: 2rem;
  padding-top: 1rem;
  text-align: center;
}

nav a {
  margin-right: 20px;
  text-decoration: none;
  font-weight: 600;
  color: inherit;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

h2 {
  font-size: 1.2rem;
  font-weight: 400;
  color: #666;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  margin-top: 1rem;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-post {
  border: 1px solid #ccc;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.blog-post h3 a {
  font-size: 1.2rem;
  color: #0070f3;
  text-decoration: none;
}

.blog-post p {
  color: #555;
}

.post-container {
  max-width: 800px;
  margin: 0 auto;
}

.post-image {
  width: 100%;
  height: auto;
  margin-top: 1rem;
  border-radius: 8px;
}

.post-content {
  margin-top: 1rem;
  line-height: 1.6;
}

.post-category {
  margin-top: 1rem;
  font-weight: 600;
}

footer {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
}

footer a {
  color: #0070f3;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .blog-list {
    padding: 0 1rem;
  }

  .post-container {
    padding: 0 1rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1rem;
  }
}
/* Estilos para o formulário da newsletter */
.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.newsletter-form input,
.newsletter-form button {
  width: 100%; /* Campos e botões com largura total */
  margin: 8px 0; /* Espaçamento entre os campos */
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Nome e email */
.newsletter-form input[name="name"],
.newsletter-form input[name="email"] {
  max-width: 300px; /* Máximo de largura para o campo de nome e email */
}

/* Botão */
.newsletter-form button {
  background-color: #ccc; /* Cor cinza para o botão */
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.newsletter-form button:hover {
  background-color: #bbb; /* Cor mais clara no hover */
}

/* Título */
.newsletter-form h2 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 10px;
}

/* Subtítulo */
.newsletter-form p {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 15px;
}

/* Mensagem de agradecimento */
#message {
  font-size: 1rem;
  text-align: center;
  margin-top: 20px;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
  .newsletter-form input,
  .newsletter-form button {
    max-width: 100%; /* No mobile, largura total */
  }

  .newsletter-form input[name="name"],
  .newsletter-form input[name="email"] {
    width: 100%; /* Campos ocupando 100% da largura no mobile */
  }

  .newsletter-form button {
    width: 100%; /* Botão também ocupa 100% */
  }

  /* Ajuste no espaço entre título e subtítulo */
  .newsletter-form h2, .newsletter-form p {
    margin-bottom: 5px;
  }
}

/* Desktop: separação horizontal */
@media (min-width: 768px) {
  .newsletter-form {
    flex-direction: row; /* Campos alinhados horizontalmente */
    justify-content: center;
  }

  .newsletter-form input[name="name"],
  .newsletter-form input[name="email"],
  .newsletter-form button {
    width: 30%; /* Menor largura para campos e botões no desktop */
    margin: 8px; /* Ajuste no espaçamento */
  }
}
