/* Common styles for all pages */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  text-align: left;
}

a {
  text-decoration: none;
}

header {
  background-color: #E8E8E8; /* Lighter gray background for the header */
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: #4169E1; /* Royal blue background for the navigation menu */
  display: flex;
}

nav ul li {
  margin: 5px;
}

nav ul li a {
  color: white;
  padding: 14px 16px;
  display: block;
}

nav ul li a.active, nav ul li a:hover {
  background-color: #25408f; /* Darker blue background for the active menu link or on hover */
  color: #FFFF00; /* More saturated yellow color for the active menu link or on hover */
}

section {
  background-color: #fff;
  margin: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-align: left;
  padding: 20px;
  box-sizing: border-box;
}

section * {
  text-align: left; /* Ensure all elements in the section are left-aligned */
}

footer {
  background-color: #E8E8E8; /* Lighter gray background for the footer */
  padding: 10px;
  text-align: left;
}

footer * {
  text-align: left; /* Ensure all elements in the footer are left-aligned */
}

/* Responsive styles */

@media only screen and (max-width: 600px) {
  header {
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul li {
    display: block;
    width: 100%;
  }

  section, section * {
    text-align: left; /* Ensure all elements in the section are left-aligned on smaller screens */
  }

  section {
    margin: 20px 0;
  }
}
