/* styles.css */

/* Global page setup */
img {
  border: 5px solid red;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Verdana", "Segoe UI", sans-serif; /* font-family */
  background-color: #020617; /* very dark blue/black */
  color: #f9fafb; /* light text color */
}

/* Main centered card */
.page {
  max-width: 900px;
  margin: 40px auto;
  padding: 2rem;
  background-color: #020617;
  border-radius: 18px;
  border: 2px solid #fbbf24; /* gold border */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.75);
}

/* Header */
.header-box h1 {
  margin-top: 0;
  font-size: 2.3rem; /* font-size / text-size */
  color: #fbbf24; /* gold */
}

.subtitle {
  margin-top: 0.25rem;
  color: #e5e7eb;
  font-size: 0.95rem;
}

/* Navbar */
.navbar {
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid #111827;
}

.navbar a {
  margin-right: 1rem;
  text-decoration: none; /* text-decoration */
  color: #e5e7eb;
  font-size: 0.9rem;
}

.navbar a:hover {
  color: #fbbf24;
  text-decoration: underline; /* text-decoration on hover */
}

.navbar a:hover,
.choice:hover {
    color: #ffef9a;
    text-decoration: underline;
}

/* Story text */
.story h2 {
  margin-top: 1.5rem;
  font-size: 1.6rem;
}

.story p {
  line-height: 1.6;
  font-size: 1rem;
}

/* Image + credit */
.image-wrapper {
  margin: 1.5rem 0;
  text-align: center;
}

.image-wrapper img {
  max-width: 100%;
  border-radius: 12px;
  border: 2px solid #fbbf24;
}

.credit {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #d1d5db;
}

/* Choice buttons */
.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.choice {
  flex: 1 1 260px;
  background: radial-gradient(circle at top left, #fbbf24 0, #0b1120 40%, #020617 100%);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: #f9fafb;
  border: 1px solid #fbbf24;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.choice h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.choice p {
  margin: 0;
  font-size: 0.95rem;
}

.choice:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.8);
  border-color: #fde68a;
}

/* Back-to-home link inside story */
.back-home {
  margin-top: 1.5rem;
}

.back-home a {
  color: #a5b4fc;
  text-decoration: underline;
}

/* Footer */
footer {
  margin-top: 2rem;
  border-top: 1px solid #111827;
  padding-top: 0.75rem;
  font-size: 0.8rem;
  color: #9ca3af;
  text-align: right;
}

/* Make layout nice on phones */
@media (max-width: 600px) {
  .page {
    margin: 16px;
    padding: 1.25rem;
  }

  .header-box h1 {
    font-size: 1.8rem;
  }

  .choice-grid {
    flex-direction: column;
  }
}

.image-block {
  margin-top: 1.5rem;
  text-align: center;
}

.image-block img {
  width: 100%;
  max-width: 700px;   /* large dramatic image */
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}
