/* === BODY STYLING === */
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: #222;
  display: flex;
  justify-content: center;
  align-items: flex-start;  /* important for scrolling inside container */
  padding: 20px;
  min-height: 100vh;
  background:
       linear-gradient(
      rgba(193, 255, 217, 0.4),   /* softer pastel mint green */
      rgba(194, 224, 255, 0.4),   /* lighter pastel blue */
      rgba(174, 207, 255, 0.4)    /* gentle sky blue */
    )
    ,
    url("fotos/resources/IMG_6115 (1).jpg") repeat;
  background-size: cover, auto;
  background-attachment: fixed;
  overflow: hidden;  /* prevent body scroll */
  font-size: 0.8rem;
}

/* === CONTAINER STYLING === */
.container {
  width: 100%;
  max-width: 1000px;
  max-height: 80vh;       /* limits height */
  overflow-y: auto;       /* enables scrolling */
  background-color: rgba(255, 255, 255, 0.85); /* soft translucent */
  border: double 4px #4C3299;   /* decorative double border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

/* === HEADINGS === */
h1 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-align: center;
  color: #355c7d; /* muted blue */
}

h2 {
  font-size: 0.9rem;
  margin: 25px 0 10px;
  border-bottom: 2px solid #99b898; /* soft green accent */
  padding-bottom: 4px;
  color: #355c7d;
}

/* === PARAGRAPHS === */
p {
  margin: 5px 0 15px;
  line-height: 1.5;
  font-size: 0.9rem;
  text-align: left;   
}


/* === MEDIA TYPE COLORS === */
em.movie {
  color: #4a90e2;   /* pastel-ish blue */
}

em.book {
  color: #3fa56a;   /* pastel green */
}

em.videogame {
  color: #e67e22;   /* soft orange */
}


/* === HERO IMAGE === */
img.hero {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin: 0 auto 20px;
  border-radius: 8px;
  border: 2px solid #99b898;
}

/* === FOOTER === */
footer {
  margin-top: 40px;
  font-size: 0.9rem;
  text-align: center;
  color: #555;
}

footer a {
  color: #355c7d;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
}

/* === BUTTON ROW === */
.button-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 15px 0;
}

.button-row a {
  display: inline-block;
  background-color: beige;
  border: 1px solid #555;
  padding: 6px 14px;
  text-decoration: none;
  color: #111;
  font-size: 0.9rem;
  transition: background-color 0.2s, transform 0.2s;
}

.button-row a:hover {
  background-color: #f5f0d0;
  transform: scale(1.05);
}

details {
  font-size: 0.9rem;       /* same as normal paragraphs */
  margin: 5px 0 15px;
  line-height: 1.5;
  text-align: left;
}

details summary {
  font-weight: normal;     /* match normal <p> text */
  cursor: pointer;         /* shows clickable pointer */
}

.archive {
  margin-top: 2rem;
  text-align: center;
}

.archive ul {
  list-style: none;
  padding: 0;
}

.archive li {
  display: inline-block;
  margin: 0 10px;
}

.archive a {
  text-decoration: none;
  color: #555;
  font-weight: bold;
}

.archive a:hover {
  color: #000;
  text-decoration: underline;
}
