/* General Reset */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  text-align: center;
}

/* Fixed Header */
header {
  background-color: rgba(255, 111, 97, 0.9);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 10px 0;
  height: 80px; /* Ensure consistent height */
}

/* Add padding to body content to prevent overlap */
main {
  padding-top: 90px; /* Add enough space for the fixed header */
}

/* Logo */
header .logo {
  width: 120px;
  margin-bottom: 10px;
}

/* Navigation Menu */
header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

header nav ul li {
  display: inline-block;
}

header nav ul li a {
  color: white;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

header nav ul li a:hover {
  background-color: #ffcccb;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  header nav ul {
    flex-direction: column;
    gap: 10px;
    background-color: rgba(255, 111, 97, 0.9);
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    text-align: center;
    display: none;
  }

.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
  }

  .logo {
    width: 100px;
  }
}

/* Content Sections */
section {
  margin: 20px auto;
  padding: 20px;
  max-width: 800px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  padding: 10px;
  text-align: center;
}
