body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #0d0e15;
  color: #e0e0e0;
  margin: 0;
  padding: 0;
}

:root {
  --primaria: #4f46e5;
  --secondaria: #7c3aed;
  --Escuro: #0f172a;
  --maisEscuro: #0a0f1c;
  --claro: #e2e8f0;
  --vidro: rgba(255, 255, 255, 0.1);
}

.header-blog {
  background-color: #1a1b25;
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #333;
}

.nav-blog {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.nav-blog h1 {
  margin: 0;
  font-size: 2em;
}

.voltar-btn {
  color: #00aaff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.voltar-btn:hover {
  box-shadow: 0 0 15px rgba(79, 70, 229, 0.5);
  transform: translateY(-5px);
  background: linear-gradient(90deg, var(--secondaria), var(--primaria));
}

.main-blog {
  max-width: 900px;
  margin: 20px auto;
  padding: 0 20px;
}

.post {
  background-color: #1a1b25;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.post-title {
  font-size: 2em;
  color: #00aaff;
  margin-top: 0;
}

.post-meta {
  font-size: 0.9em;
  color: #888;
  margin-bottom: 20px;
}

.post-content p {
  margin-bottom: 1em;
}

.footer-blog {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #333;
  color: #888;
  font-size: 0.9em;
}

.botao-voltar {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--claro);
  font-size: 1.25rem;
  margin: 20px;
  transition: color 0.3s ease;
  text-align: center;
}

.botao-voltar:hover {
  color: var(--escuro);
}
.botao-voltar:hover {
  box-shadow: 0 0 15px rgba(79, 70, 229, 0.5);
  transform: translateY(-5px);
  background: linear-gradient(90deg, var(--primaria), var(--secondaria));
  color: var(--claro);
  border: 4px solid var(--vidro);
  border-radius: 8px;
  width: 100px;
}

@media (max-width: 768px) {
  .main-blog {
    padding: 0 10px;
  }
  .header-blog,
  .nav-blog {
    flex-direction: column;
    text-align: center;
  }
  .nav-blog h1 {
    font-size: 1.5em;
  }
}
