@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap');

body {
  background-color: #e4f4ff;
  color: #222222;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 2rem;
}

#container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#container img {
  max-width: 70%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border-radius: 8px;
}

h1 {
  font-size: 2rem;
  color: #145a76;
  margin-top: 0;
  margin-bottom: 1rem;
}

p {
  font-size: 1rem;
  margin: 0 0 0.8rem;
}

a {
  color: #0b63c3;
  text-decoration: underline;
  font-weight: 700;
}

a:hover {
  text-decoration: none;
}

.credit {
  font-size: 0.8rem;
  color: #555;
  margin-top: 2rem;
  text-align: center;
}

.thumb-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
  justify-content: center;
}

.thumb-grid img {
  width: 260px;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.thumb-grid img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

details {
  margin-top: 1.25rem;
}

details summary {
  font-weight: 700;
  cursor: pointer;
}

details summary::after {
  content: " ▸";
  font-weight: normal;
}

details[open] summary::after {
  content: " ▾";
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
}

.lightbox-inner {
  max-width: 90%;
  max-height: 90%;
  background: #ffffff;
  padding: 1rem 0.25rem;
  border-radius: 12px;
  text-align: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 8px;
}

.lightbox-caption {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.lightbox-close {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.lightbox:target {
  opacity: 1;
  pointer-events: auto;
}
