/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1.6;
  color: #f1f1e6;
  background-color: #1a1a1a;
  margin: 0;
  padding: 0;
}

.container {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
header {
  background-color: #004d40; /* Dark green */
  color: #f1c40f; /* Gold */
  padding: 20px 0;
  text-align: center;
  margin-bottom: 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

header nav {
  margin-top: 10px;
}

header nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0;
}

header nav ul li {
  display: inline;
}

header nav ul li a {
  color: #f1c40f; /* Gold */
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  padding: 5px 10px;
  border-radius: 5px;
  background: rgba(241, 196, 15, 0.2); /* Gold tint */
  transition: transform 0.2s ease-in-out, background 0.3s;
}

header nav ul li a:hover {
  transform: scale(1.05);
  background: rgba(241, 196, 15, 0.4);
}

/* Sections */
main section {
  margin-bottom: 30px;
  background: #2c2c2c; /* Darker background */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}

main h2 {
  font-size: 2rem;
  color: #f1c40f; /* Gold */
  margin-bottom: 15px;
}

main p, main ol, main ul {
  margin-bottom: 15px;
}

ol, ul {
  padding-left: 20px;
  color: #f1f1e6; /* Light text */
}

/* Footer */
footer {
  background-color: #004d40; /* Dark green */
  color: #f1c40f; /* Gold */
  text-align: center;
  padding: 10px 0;
  margin-top: 20px;
}

footer p {
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 600px) {
  header h1 {
      font-size: 2rem;
  }

  .container {
      padding: 10px;
  }

  header nav ul {
      gap: 10px;
  }

  main section {
      padding: 15px;
  }
}

/* Ensure the footer sticks to the bottom */
html, body {
  height: 100%; /* Make the page height span the full viewport */
  display: flex;
  flex-direction: column;
}

main {
  flex: 1; /* Take up remaining space between header and footer */
}

/* Center and make the image responsive */
.responsive-image {
  display: block; /* Ensures it behaves like a block-level element */
  margin: 0 auto; /* Centers the image horizontally */
  max-width: 100%; /* Makes the image scale down on smaller screens */
  height: auto; /* Maintains aspect ratio */
}

/* Add specific sizing for larger screens */
@media (min-width: 1024px) {
  .responsive-image {
      max-width: 60%; /* Restricts width on larger screens */
  }
}