/* =========================
   Base / Reset
   ========================= */
body {
  margin: 0;
  padding: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
  color: #222;

  background:
    linear-gradient(
      rgba(255,255,255,0.92),
      rgba(255,255,255,0.92)
    ),
    url("images/background.jpg") no-repeat center center fixed;

  background-size: cover;
}

/* =========================
   Global Image Auto-Scaling
   ========================= */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================
   Header
   ========================= */
header {
  background: #ffffff;
  color: #000;
  padding: 35px 20px;
  text-align: center;
  border-bottom: 1px solid #ccc;
}

header h1 {
  margin: 0;
  font-size: 2.4rem;
}

.tagline {
  margin-top: 8px;
  font-style: italic;
  color: #555;
}

/* =========================
   Navigation
   ========================= */
nav {
  margin-top: 20px;
}

nav a {
  color: #000;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85rem;
}

nav a:hover {
  text-decoration: underline;
}

/* =========================
   Main Layout
   ========================= */
main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.with-sidebar {
  display: flex;
  gap: 30px;
}

.with-sidebar > div:first-child {
  flex: 1;
}

/* =========================
   Content Boxes
   ========================= */
.content {
  background: #ffffff;
  padding: 30px;
  border: 1px solid #ccc;
  margin-bottom: 30px;
}

/* =========================
   Headings
   ========================= */
h2 {
  margin-top: 0;
  border-bottom: 1px solid #ccc;
  padding-bottom: 8px;
}

/* =========================
   Nutrition Image Row
   ========================= */
.nutrition-images {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 25px 0;
}

.nutrition-images img {
  width: 100%;
  max-width: 360px;
  height: 240px;
  object-fit: cover;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* =========================
   Sidebar (Sticky)
   ========================= */
.sidebar {
  width: 300px;
  background: #ffffff;
  padding: 25px;
  border: 1px solid #ccc;
  position: sticky;
  top: 30px;
  height: fit-content;
}

.signature {
  margin-top: 30px;
  font-style: italic;
  font-size: 1.05rem;
  color: #444;
  line-height: 1.6;
}


.sponsors {
  list-style: none;
  padding-left: 0;
}

.sponsors li {
  padding: 8px 0;
  border-bottom: 1px dotted #aaa;
}

/* =========================
   Footer
   ========================= */
footer {
  background: #000;
  color: #ccc;
  text-align: center;
  padding: 22px;
  margin-top: 60px;
  font-size: 0.85rem;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 900px) {
  .with-sidebar {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    position: static;
  }
}

@media (max-width: 768px) {
  .nutrition-images {
    flex-direction: column;
    align-items: center;
  }

  .nutrition-images img {
    height: auto;
    max-width: 100%;
  }
}
