body {
  margin: 0;
  font-family: 'Playfair Display', serif;
  background: #e7dcc2;
  color: #2b1c0d;
  overflow-x: hidden;
}

/* Scroll like texture */
.paper-overlay {
  position: fixed;
  inset: 0;
  background: url('../img/paper_texture.webp') repeat center center;
  opacity: 0.2;
  z-index: 0;
}

/* Floating words */
.word-slider {
  position: fixed;
  top: 40%;
  left: 0;
  width: 200%;
  white-space: nowrap;
  animation: scrollWords 40s linear infinite;
  z-index: 1;
  opacity: 0.15;
  font-size: 2.5rem;
  font-style: italic;
}

.word-slider span {
  display: inline-block;
  margin: 0 3rem;
  color: #4b2e12;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

@keyframes scrollWords {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Contenido principal */
.content {
  position: relative;
  z-index: 2;
  padding: 5rem 10%;
  text-align: center;
}

.page-title {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  color: #1b0e03;
}

.subtitle {
  font-size: 1.2rem;
  color: #3c2a1b;
  margin-bottom: 4rem;
}

.section {
  margin-bottom: 5rem;
}

.section h2 {
  font-size: 2.2rem;
  border-bottom: 2px solid #4b2e12;
  display: inline-block;
  padding-bottom: 0.3rem;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: #4d3b28;
  margin-bottom: 2rem;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.entry-card {
  background: rgba(255, 248, 238, 0.8);
  border: 1px solid rgba(80, 50, 20, 0.3);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.entry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.entry-card h3 {
  margin-top: 0;
  color: #1b0e03;
}

.entry-card a {
  text-decoration: none;
  color: #633a12;
  font-weight: bold;
}

.entry-card a:hover {
  color: #8c5a24;
}

h2 a {
  text-decoration: none;
  color: inherit;
}

h2 a:hover {
  color: #8c5a24; /* a golden tone when mouse hovers */
}
