@charset "UTF-8";
/* CSS Document */

/* Global Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  transition: background-color 0.3s, color 0.3s;
  min-height: 100vh; /* Ensure the body fills the viewport */
  display: flex;
  flex-direction: column;
  align-items: center; /* Center content horizontally */
}

/* Prevent Horizontal Scrolling */
html, body {
  overflow-x: hidden;
}

/* Light and Dark Mode */
body.light {
  background-color: #ffffff;
  color: #000000;
}

body.dark {
  background-color: #000000;
  color: #ffffff;
}

/* Header styles */
.header {
  width: 100%; /* Stretch header across the full width */
  text-align: center; /* Center-align header text */
  font-size: 3rem;
  margin: 0; /* Remove extra margins */
  padding: 20px 0; /* Add vertical padding */
  position: relative; /* Needed for hamburger positioning */
}

/* Navigation Container */
.nav-container {
  width: 100%;
  display: flex;
  justify-content: space-between; /* Space out header and hamburger */
  align-items: center; /* Vertically align items */
  padding: 0 20px; /* Add horizontal padding */
  position: relative;
}

/* Navigation Styles */
.nav-list {
  display: flex;
  list-style: none;
  gap: 20px; /* Space between links */
  margin: 0;
  padding: 0;
}

.nav-list li {
  font-size: 1.25rem;
}

.nav-list a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

.nav-list a:hover {
  color: #FF4F00; /* International Orange */
}

.nav-list a[aria-current="page"] {
  font-weight: bold;
  color: #FF4F00;
}

/* Hamburger Menu Button */
.hamburger {
  display: none; /* Hidden by default */
  font-size: 1.5rem;
  background: none;
  border: none;
  color: inherit; /* Match the theme */
  cursor: pointer;
  position: absolute;
  right: 20px; /* Align to the right */
  top: 50%; /* Center vertically */
  transform: translateY(-50%);
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .hamburger {
    display: block; /* Show hamburger on small screens */
  }

  .nav-list {
    display: none; /* Hide the menu initially */
    flex-direction: column; /* Stack links vertically */
    position: absolute;
    top: 60px; /* Below the header */
    right: 20px;
    background-color: inherit; /* Match the current theme */
    border: 1px solid #ddd; /* Optional border for clarity */
    border-radius: 8px;
    padding: 10px;
    z-index: 1000;
  }

  .nav-list.show {
    display: flex; /* Show menu when toggled */
  }
}

/* Centered Content Section */
.main-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center horizontally */
  justify-content: center; /* Center vertically */
  text-align: center;
  flex-grow: 1; /* Allow it to fill remaining space */
  gap: 20px; /* Space between content items */
}

/* Light/Dark Mode Switch */
.mode-switch {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mode-switch button {
  background: none;
  border: 1px solid currentColor; /* Match theme */
  color: inherit;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.mode-switch button:hover {
  background-color: #FF4F00;
  color: #fff;
}