body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background-color: #0a0a0a;
  color: #f5f5f5;
}
header {
  background: linear-gradient(to right, #111, #222);
  text-align: center;
  padding: 2rem 1rem;
  border-bottom: 4px solid #ffcc00;
}
header h1 {
  font-size: 2.5rem;
  color: #ffcc00;
}
header p {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  color: #ccc;
}
nav ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
nav ul li {
  margin: 0 10px;
}
nav ul li a {
  color: #ffcc00;
  text-decoration: none;
  font-weight: bold;
}
nav ul li a:hover {
  color: white;
}
main {
  padding: 2rem;
}
.post {
  background-color: #1e1e1e;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
}
.post img {
  width: 100%;
  max-width: 800px;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.post h2 {
  color: #ffcc00;
}
.post a {
  color: #ffcc00;
  text-decoration: none;
}
.post a:hover {
  text-decoration: underline;
}
footer {
  text-align: center;
  padding: 1rem;
  background: #111;
  border-top: 2px solid #ffcc00;
}
footer a {
  color: #ffcc00;
  text-decoration: none;
}
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 1rem auto;
}
form input, form textarea, form button {
  padding: 0.8rem;
  border-radius: 5px;
  border: none;
  font-size: 1rem;
}
form button {
  background-color: #ffcc00;
  color: black;
  font-weight: bold;
  cursor: pointer;
}

.contenedor-central {
  max-width: 800px; /* o el ancho que prefieras */
  margin: 40px auto; /* centra horizontalmente y da espacio vertical */
  padding: 20px;
  background-color: #1c1c1c; /* opcional: para diferenciar del fondo */
  border-radius: 8px; /* opcional: bordes suaves */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4); /* opcional: sombra elegante */
}
