@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

h1, h2, h3 {
  font-family: 'Pacifico', cursive;
  color: #00796b; /* keep your original shade */
  text-align: center;
  font-size: x-large;
}

.card-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(253,246,227,0.7), rgba(230,230,250,0.7));
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  width: 85%;
  max-width: 400px;
}

.pledge{
  
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 60px;
  padding-top: 80px;
  opacity: 0.95;
}

.home-box:hover {
  background-color: #45a049;
}

/* === Base Layout & Global Styles === */

#intro-text {
  text-align: center;
  margin: 2rem auto;
  max-width: 600px;
  font-size: 1.5rem;
  line-height: 1.6;
  color: #00695c;
}

#welcome-section {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', sans-serif;
  color: #00695c;
  border: 2px solid #ceda46;
}

#welcome-section h2 {
  text-align: center;
  color: #00796b;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  margin-bottom: 1rem;
}

#welcome-section a {
  color: #1f2d1f;
  text-decoration: underline;
}

#start-section {
  display: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 30vh;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(253,246,227,0.7), rgba(230,230,250,0.7));
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  width: 85%;
  max-width: 400px;
  background-color: rgba(255, 255, 255, 0.7);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  padding: 20px;
  background-image: url('images/world_map.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  
}

a {
  color: #0288d1;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.btn .a {
  display: inline-block;
  padding: 12px 24px;
  background-color: #007acc;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #005fa3;
}

.instructions {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.7);
  border: 2px solid #ceda46;
  border-radius: 10px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.instructions h2 {
  margin-top: 0;
  color: #00796b;
}

.instructions p {
  font-size: 2rem;
  line-height: 1.6;
  color: #00796b;
}

/* BASE MENU — DESKTOP FIRST */
.menu {
  display: flex;
  flex-direction: row;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  position: static;
  background: none;
  width: auto;
  display: none;
}

.menu li a {
  color: rgb(41, 159, 102);
  font-weight: bold;
}

.menu li a:hover {
  background: #f0f0f0;
  color: #0077cc;
  font-size: 1rem; /* or try 16px, 1.2em, etc. */
}

nav.menu li {
  list-style-type: none;
}


section {
  background-color: rgba(16, 184, 50, 0.7);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 2em;
  margin: 1em;
  max-width: 600px;
  width: 90%;
}

main.page-content section {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* MOBILE MENU — REQUIRED */


/* === Quiz Section === */
#quiz-section {
  max-width: 600px;
  padding: 1em;
  background-color: rgba(255, 255, 255, 0.8);
  margin: 0 auto;
}

#quiz-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
  width: 100% !important;

  header.top-bar {
  width: 100%;
  max-width: none;
}

}

#timer-text {
  color: black;
  font-weight: normal;
}

.timer-text {
  font-weight: bold;
  color: #ff5555;
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 15px;
}

#progress-container {
  width: 100%;
  margin: 0 auto;
  max-width: 100%;
}

#progressBar {
  width: 100%;
  height: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #eee;
  overflow: hidden;
}
#progressBar::-webkit-progress-value,
#progressBar::-moz-progress-bar {
  background-color: #4caf50;
  transition: width 0.3s ease;
}

.progress-bar {
  background-color: #ddd;
  height: 16px;
  border-radius: 10px;
  overflow: hidden;
  flex-grow: 1;
  margin-left: 10px;
}

.progress-fill {
  background-color: #5da7f9;
  height: 100%;
  width: 0%;
  transition: width 0.3s ease;
}

.page-content {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 1em;
}


/* === Buttons & Interactivity === */
button {
  padding: 0.7em 1.2em;
  margin: 0.5em;
  border-radius: 8px;
  border: none;
  background-color: #0077cc;
  color: white;
  font-size: 1rem;
  width: auto;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
button:hover {
  background-color: #005fa3;
  transform: scale(1.05);
}

/* === Images === */
#bird-image {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1em auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* === Feedback Messages === */
.feedback {
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 1em;
  padding: 0.5em;
  position: centered;
  border-radius: 6px;
}
.correct {
  background-color: #c8e6c9;
  color: #2e7d32;
}
.incorrect {
  background-color: #ffcdd2;
  color: #c62828;
}

.choices {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* two columns of equal width */
  gap: 10px; /* space between buttons */
}

.choices button {
  width: 100%; /* fill the grid cell */
  padding: 12px;
  font-size: 1em;
  border: none;
  border-radius: 8px;
  background-color: #85c09a;
  cursor: pointer;
  transition: background-color 0.3s;
}

.choices button:hover { background-color: #d1d1d1; }
.choices button.correct { background-color: #a3e3aa; }
.choices button.incorrect { background-color: #f7b5b5; }



button {
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* === Base Layout & Global Styles === */
#results-summary {
  text-align: center;
  border: 2px solid black; /* Example border */
  padding: 20px; /* Example padding */
  margin: 20px auto; /* Example margin and centering the block element */
  text-align: center;
}

#results-summary p {
  font-size: 1.2em; /* Example font size for general paragraphs */
  text-align: center;
}

#final-message {
  font-size: 1.5em; /* Example font size for the final message */
  font-weight: bold; /* Example bolding */
  text-align: center;
}

a {
  color: #0288d1;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

#result {
  font-size: 1.5em;
  font-weight: bold;
  background-color: #e0f7fa;
  color: #00796b;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center
}

/* === Main Layout & Sections === */
main {
  padding: 1em;
}

#timer-text {
  color: black;
  font-weight: normal;
}

.timer-text {
  font-weight: bold;
  color: #ff5555;
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 15px;
}

#progressBar {
  width: 100%;
  height: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #eee;
  overflow: hidden;
}
#progressBar::-webkit-progress-value,
#progressBar::-moz-progress-bar {
  background-color: #4caf50;
  transition: width 0.3s ease;
}


.progress-fill {
  background-color: #5da7f9;
  height: 100%;
  width: 0%;
  transition: width 0.3s ease;
}

.correct {
  background-color: #c8e6c9;
  color: #2e7d32;
}
.incorrect {
  background-color: #ffcdd2;
  color: #c62828;
}

/* === End of Quiz === */
#end-screen {
  text-align: center;
  padding: 2em;
}
#end-screen h2 {
  font-size: 1.5rem;
  margin-bottom: 1em;
  color: #333;
  }

#restart-btn {
  background-color: #4caf50;
  color: white;
}
/* === Responsive Design === */
  #progressFill {
  transition: width 0.9s linear;
}

.result-item {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 10px;
  border-left: 8px solid;
  background-color: #f9f9f9;
}
.result-item.correct {
  border-color: #4CAF50;
  background-color: #e7fce7;
}
.result-item.incorrect {
  border-color: #f44336;
  background-color: #ffecec;
}
.result-item a {
  display: inline-block;
  margin-top: 0.5em;
  color: #0077cc;
}

.final-score {
  text-align: center;
  background-color: #0077cc;
  border: 2px solid #a2bcd6;
  padding: 20px;
  border-radius: 10px;
  margin: 30px auto;
  max-width: 400px;
  font-family: 'Segoe UI', sans-serif;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1em;
}

#restart-btn {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  font-size: 16px;
  background-color: #4e9af1;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#restart-btn:hover {
  background-color: #357ddf;
}

.info-button {
  background-color: #0077cc;       /* match main quiz button blue */
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  margin-top: 8px;
}

.info-button:hover {
  background-color: #005fa3;       /* darker hover */
  transform: scale(1.05);          /* subtle grow on hover */
}

#results-summary #view-answers {
  font-weight: 700 !important;
  background-color: #0078d4; /* optional */
  color: #fff;               /* optional */
}
#results-summary #view-answers:hover {
  background-color: #0063ad; /* optional */
}

@media (max-width: 600px) {
  #go-home {
    padding: 4px 8px;
    font-size: 0.8rem;
  }
}

@keyframes popUp {
  0% { transform: scale(0.8); opacity: 0; }
  80% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}

#go-home {
  display: inline-block;
  padding: 4px 8px;      /* smaller height/width */
  font-size: 0.80rem;     /* slightly smaller text */
  background-color: #0078d4;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  border: none;
  transition: background-color 0.3s ease;
}

/* add to style.css */
#go-home { 
  margin-left: 12px;   /* bump it a bit from the title */
}

#go-home:hover { background-color: #005ea2;
}

/* Keep review images contained */
#answer-review img,
#answer-review .question-image {
  width: 100%;
  height: auto;
  max-height: 320px;      /* tweak as you like */
  object-fit: contain;    /* no cropping, letterbox if needed */
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 6px;
  box-sizing: border-box;
}

/* Remove busy background on the results page */
body.results-mode {
  background-image: none !important;
  background-color: #a1c9ac !important; /* or #EDF7F1 or #FFF8F0 */
}

:root { --deep-green: #284737; }

/* === HEADER BASE === */
.top-bar {
  position: relative;
  display: flex;
  flex-direction: column;   /* brand on top, nav below */
  align-items: center;      /* center brand horizontally */
  gap: 10px;
  padding: 12px 16px;
  z-index: 1000;
  
}

.brand-name {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  font-size: 2.00rem;
}

/* Desktop nav under brand */


.menu a {
  display: inline-block;
  color: #284737;        /* deep green from your palette */
  text-decoration: none;
  font-weight: 700;
  
}

.menu a:hover {
  text-decoration: underline;
}

/* Hamburger button (mobile only) */
.hamburger {
  position: absolute;
  right: 12px;
  top: 12px;
  display: none;           /* hidden on desktop */
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 6px;
  background: #0078d4;
  cursor: pointer;
  background-color: #00796b;
  color: white;
  font-size: 28px;
  padding: 0.3em;
  transition: color 0.2s ease;
  display: inline-block;
 }



/* MOBILE LANDSCAPE */
@media (max-width: 640px) and (orientation: landscape) {
  .menu {
    max-width: 300px;
    right: 10px;
  }
}


#welcome-section,
#instructions {
  color: var(--deep-green);
}

#welcome-section h1,
#welcome-section p,
#welcome-section li,
#instructions h2,
#instructions p,
#instructions li {
  font-weight: 700;
}

/* Make 'View Answers' and 'Back to Home' match on the results screen */
#results-summary #view-answers,
#results-summary a.btn,
#results-summary a#back-home,
#results-summary a[href="index.html"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;     /* same size */
  font-size: 0.95rem;    /* same text size */
  line-height: 1;        /* compact height */
  font-weight: 700;      /* bold to match */
  border-radius: 6px;
  text-decoration: none;
}

/* If you want them to share the same color too */
#results-summary #view-answers,
#results-summary a.btn,
#results-summary a#back-home,
#results-summary a[href="index.html"] {
  background-color: #0078d4;
  color: #fff;
}
#results-summary #view-answers:hover,
#results-summary a.btn:hover,
#results-summary a#back-home:hover,
#results-summary a[href="index.html"]:hover {
  background-color: #0063ad;
}

/* Make results and review align exactly with the quiz card */
#quiz-wrapper,
#results-summary,
#answer-review {
  max-width: 520px;       /* match your #quiz-wrapper width */
  margin: 0 auto;         /* center horizontally */
  box-sizing: border-box;
}

/* Keep consistent spacing above/below */
#results-summary,
#quiz-wrapper {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Make Home look exactly like Play Again on the View Answers page */
#answer-review .review-actions button,
#answer-review .review-actions a {
  all: unset;                 /* reset any inherited junk */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 14px !important;
  font-size: 0.95rem !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  border: 0 !important;
  background: #4e9af1 !important;
  color: #fff !important;
  box-shadow: 0 2px 4px rgba(0,0,0,.2) !important;
  cursor: pointer !important;
}
#answer-review .review-actions button:hover,
#answer-review .review-actions a:hover {
  background: #357ddf !important;
}

#answer-review .result-item {
  border: 2px solid #cfcfcf;  /* base */
  border-radius: 8px;
  padding: 12px;
  margin: 12px 0;
  background: #fff;
}

/* Simple card look to match your quiz container */
.card {
  background: rgba(255, 255, 255, 0.7);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  max-width: 800px;         /* align with quiz/results width */
  margin: 20px auto;
  box-sizing: border-box;
  border: 2px solid #ceda46;
  font-weight: 700;
}

/* Quotes styling */
#quotes blockquote {
  margin: 12px 0;
  padding: 10px 14px;
  border-left: 4px solid #2e7d32;
  background: #f7fbf8;
  font-style: italic;
}
#quotes .attribution {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-weight: 800;
  color: #2e7d32;
}

/* Sources list */
#sources .sources-list {
  margin: 10px 0 6px;
  padding-left: 18px;
}
#sources .sources-list li {
  margin: 6px 0;
}
#sources .note {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #333;
}

/* compact Home-style button */
.btn-home {
  display:inline-flex; align-items:center; justify-content:center;
  padding:8px 14px; font-size:0.95rem; line-height:1;
  font-weight:700; border-radius:6px; text-decoration:none;
  border:0; background:#0078d4; color:#fff;
  box-shadow:0 2px 4px rgba(0,0,0,.2);
}
.btn-home:hover { background:#0063ad; }

/* Wider cards on the home page only */
body.home .card {
  max-width: 1000px;      /* was ~600px */
  margin-left: auto;
  margin-right: auto;
}

/* If your home sections aren't using .card, widen those too */
body.home #welcome-section,
body.home #instructions,
body.home .instructions {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* Reusable green pill link (like your home tiles) */
.pill-green {
  display: inline-block;
  padding: 6px 12px;
  background: #2e7d32;        /* green */
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;

#current-quiz h2 { margin-top: 0; }
#current-quiz-title {
  font-weight: 700;
  font-size: 1.05rem;
}

/* Center text inside the "This Week’s Quiz" card */
#current-quiz {
  text-align: center;
}

/* Optional alt style */
.highlight-card {
  border-left: none;
  border-top: 6px solid #2e7d32;
  background: #f5fbf6;
}

}
/* Center text inside the "This Week’s Quiz" card */
section#current-quiz,
.card.highlight-card#current-quiz {
  text-align: center !important;
}

/* Plain green text links for pages that don't want pill/button styles */
.text-link {
  color: #2e7d32;
  text-decoration: none;
  font-weight: 600;
}
.text-link:hover {
  text-decoration: underline;
}

.brand {
  align-items: center;
  gap: 12px;
  min-width: 0; /* prevent overflow */
  display: inline-flex;
  text-decoration: none;
  font-size: 2.00rem;
}

.brand-logo {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 10px;
}

.brand-name {
  margin: 0;
  font-size: clamp(1.1rem, 3.5vw, 1.6rem);
  font-weight: 800;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 2.00rem;
}

/* Hamburger */
.menu a:hover { text-decoration: underline; }
.pill-green:hover { background: #1b5e20; }
.credits-list { padding-left: 18px; line-height: 1.5; }
.credits-list a { text-decoration: underline; }
.photo-credit { font-size: 0.85rem; color: #566; margin-top: 6px; }
.photo-credit a { color: inherit; text-decoration: underline; }
#answer-review .result-item.correct   { border-color: #2e7d32 !important; background: #edf7ee; }
#answer-review .result-item.incorrect { border-color: #c62828 !important; background: #fbeaea; }

/* ——— Mobile-only header behavior ——— */

/* Make sure quiz elements don't overlay the header */
#quiz-wrapper,
.quiz-container,
#quiz-section,
#results-section,
#answer-review {
  margin-left: auto !important;
  margin-right: auto !important;
}

#question-img {
  position: relative;
  z-index: 1;
}

/* Remove map + use a soft green on results/review screens */
body.results-mode,
body.review-mode {
  background-image: none !important;
  background-color: #eef8ee;        /* light, calm green */
  /* optional hard resets if your base sets these */
  background-size: auto !important;
  background-position: initial !important;
  background-repeat: no-repeat !important;
}


/* Temporary: hide legacy bottom buttons now that we have a footer */
.hide-legacy-bottom {
  display: none !important;
}

/* ---------- Global footer ---------- */
.site-footer {
  margin-top: 24px;
  background: #f6f7fb;        /* soft light background */
  border-top: 1px solid #e6e6e6;
}

.site-footer .footer-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 20px;
  display: grid;
  gap: 10px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.footer-nav a {
  color: #0f6c3f;             /* same green as your site links */
  text-decoration: none;
  font-weight: 600;
}

.footer-nav a:hover,
.footer-nav a:focus {
  text-decoration: underline;
}

.footer-copy {
  color: #666;
  font-size: 0.95rem;
}

/* Boxed footer variant: use this on pages where you don't want a full-width bar */
.site-footer.boxed {
  background: transparent;        /* remove the full-width background strip */
  border-top: 0;                  /* no full-width top border */
}

.site-footer.boxed .footer-inner {
  max-width: 980px;               /* keep consistent page width */
  margin: 16px auto 0;
  background: #f6f7fb;            /* same soft panel look as cards */
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  padding: 16px 20px;
}

/* ===== Transparent footers (both full-width and boxed) ===== */

/* Remove bar background on the default footer */
.site-footer {
  background: transparent;
  border-top: 0;               /* no hard line across the page */
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 14px;
}


/* Make the boxed footer panel transparent too */
.site-footer.boxed .footer-inner {
  background: transparent;     /* kill the white panel */
  border: 0;                   /* remove thin gray border */
  box-shadow: none;            /* remove card shadow */
  padding: 16px 20px;          /* keep spacing */
}

/* Keep content centered (from earlier step) */
.site-footer .footer-inner {
  justify-items: center;
  text-align: center;
}

.site-footer .footer-nav {
  justify-content: center;
}

.site-footer.boxed .footer-inner { justify-items: center; text-align: center; }
.site-footer.boxed .footer-nav { justify-content: center; }
.site-footer.boxed .footer-copy { text-align: center; }

/* Intro Section Styling */
.intro {
  max-width: 850px;
  margin: 2rem auto;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-size: 1.1rem;
  line-height: 1.6;
  color: #2b2b2b;
}

.intro h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: #00796b; /* Subtle green tone */
}

.intro p {
  margin-bottom: 1rem;
}

.intro ul {
  margin: 1rem 0 1.5rem 1.5rem;
  padding-left: 0;
}

.intro ul li {
  margin-bottom: 0.6rem;
}

.last-updated {
  text-align: center;
}

@media (max-width: 600px) {
  .intro {
    padding: 1.2rem 1rem;
    font-size: 1rem;
  }

  .intro h2 {
    font-size: 1.5rem;
  }
  
}

/* Desktop: hide hamburger and show menu */
@media (min-width: 900px) {
  .hamburger {
    display: none !important;
  }
  .menu {
    display: block !important;
  }
  .menu ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
}

.quiz-info {
  max-width: 850px;
  margin: 2rem auto;
  padding: 80px 2rem 2rem; /* matches Why It Matters top spacing */
  background-color: rgba(255, 255, 255, 0.75); /* preserves feathers */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  line-height: 1.6;
  color:#222;
}

.quiz-info p {
  margin-bottom: 1rem;
}

.quiz-info {
  font-weight: 600;
}

.pi-entry-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.78);
  padding: 0.4rem 0.8rem;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #234733;
  margin: 0.8rem auto 0;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.play-button {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  background-color: #007bff;   /* your blue */
  color: #ffffff;
  border: none;
  cursor: pointer;
}

.play-button:hover {
  background-color: #005fcc;   /* darker blue on hover */
}

/* ==========================================
   1. MOBILE PORTRAIT (Default State)
   ========================================== */
@media (max-width: 768px) and (orientation: portrait) {
  /* Hide menu on vertical phone screens */
  #menu {
    display: none;
    position: absolute;
    top: 100%; /* Sits right below the header */
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
  }

  /* Show it vertically when open */
  #menu.open {
    display: block;
  }

  #menu ul {
    display: flex;
    flex-direction: column; /* Stack links vertically */
    padding: 20px;
    margin: 0;
    list-style: none;
  }

  #menu li {
    margin: 10px 0;
  }
}

/* ==========================================
   2. LANDSCAPE & DESKTOP (Horizontal State)
   ========================================== */
@media (min-width: 769px), (orientation: landscape) {
  /* Hide the hamburger button since the menu fits horizontally */
  #menu-toggle {
    display: none;
  }

  /* Force the menu to always stay visible */
  #menu {
    display: block !important;
    position: static; /* Removes absolute positioning */
    box-shadow: none;
  }

  /* Arrange the links side-by-side */
  #menu ul {
    display: flex;
    flex-direction: row; /* Horizontal alignment */
    gap: 15px; /* Spaces out your links evenly */
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
}


