body {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 20px;
    color: #8C523C;
	background-color: #DDA48C;    
    background: url('background-MU.webp') no-repeat center center fixed;
    background-size: cover;
}

h1, h2, h3, h4 {
    line-height: 1.3 !important; /* The !important ensures this line-height takes precedence */
}

header {
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 20px auto;
    border-radius: 8px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Ensure nav list is displayed on desktop */
    justify-content: space-around; /* Space items evenly */
    align-items: center;
}

.nav-list li {
    margin: 0 15px; /* Adjust space between nav items */
    position: relative; /* Ensure dropdown content aligns under its parent */
}

.nav-list li a {
    text-decoration: none;
    color: #8C523C;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background: #8C523C;
    margin: 4px 0;
    transition: all 0.3s ease;
}

main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    line-height: 1.5em;
}

footer {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 20px auto;
    border-radius: 8px;
}

/* Style for <ul> and <ol> to control bullet spacing */
ul, ol {
    margin: 0;
    padding-left: 20px;
}

ul li, ol li {
    margin-bottom: 10px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .nav-list.active {
        display: flex; /* Show the menu when active */
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle .bar {
        height: 3px;
        width: 25px;
        background: #8C523C;
        margin: 4px 0;
        transition: all 0.3s ease;
    }
}

/* Dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    color: #8C523C;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 16px;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.9);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 8px;
    top: 100%; /* Ensure dropdown opens below the parent */
}

.dropdown-content a {
    color: #8C523C; /* Default font color */
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: rgba(0, 31, 63, 0.1);
    color: #EA4458;
    border-radius: 8px;
}

/* Show the dropdown content when hovering over .dropdown */
.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    color: #EA4458;
}

/* Form styles */
form {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  color: #8C523C;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

/* Hidden labels for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Placeholder styling for ghosted text */
input::placeholder {
  color: #999;
}

input[type="text"],
input[type="email"],
select {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type="radio"] {
  margin-right: 5px;
}

.radio-group {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  align-items: center;
}

.radio-group label {
  margin-right: 15px;
}

.submit-btn {
  text-align: center;
}

input[type="submit"] {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

input[type="submit"]:hover {
  background-color: #45a049;
}

span {
  font-size: 0.8em;
  color: #666;
}

@media screen and (max-width: 600px) {
  form {
    padding: 15px;
  }

  .radio-group {
    flex-direction: column;
    gap: 10px;
  }

  input[type="submit"] {
    width: 100%;
    padding: 12px;
  }
}
