:root {
  --fondo: #f5f5f5;
  --texto: #222;
  --subtexto: #777;
  --acento: #4f46e5;
  --card: #ffffff;
}

body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

/* HEADER */
header {
  max-width: 800px;
  margin: auto;
  padding: 40px 20px 20px;
  text-align: center;
}

header img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 10px;
}

header h1 {
  margin: 5px 0;
  font-size: 28px;
}

header p {
  margin: 0;
  color: var(--subtexto);
  font-size: 14px;
}

/* MAIN */
main {
  max-width: 800px;
  margin: auto;
  padding: 20px;
}

/* POSTS */
.post {
  background: var(--card);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 12px;
  transition: 0.2s ease;
}

.post:hover {
  transform: translateY(-3px);
}

.post h2 {
  margin-top: 0;
  font-size: 24px;
}

.post small {
  color: var(--subtexto);
  display: block;
  margin-bottom: 10px;
}

.post p {
  font-size: 16px;
}

/* POST INDIVIDUAL */
#post .post {
  max-width: 700px;
  margin: auto;
  font-size: 18px;
  line-height: 1.8;
}

#post h2 {
  font-size: 32px;
}

/* LINKS */
a {
  color: var(--acento);
  text-decoration: none;
  font-weight: 500;
}
.

a:hover {
  text-decoration: underline;
}
.back-container {
  max-width: 800px;
  margin: 20px auto 0;
}

.back-btn {
  display: inline-block;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* hover bonito */
.back-btn:hover {
  background: #4f46e5;
  color: #fff;
  border-color: #4f46e5;
}
/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
  color: var(--subtexto);
  font-size: 13px;
}