/* General body styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
}

/* Top menu styles */
#topMenu {
  background-color: #333;
  color: white;
  padding: 10px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#topMenu .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#topMenu .logo a {
  color: white;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
}

#topMenu nav {
  display: flex;
  align-items: center;
}

#topMenu .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

#topMenu .menu li {
  margin: 0 15px;
}

#topMenu .menu li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

#topMenu .menu li a:hover {
  background-color: #555;
}

#loginButton {
  background-color: #007bff;
  color: white;
  padding: 5px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
  margin-left: 20px;
  transition: background-color 0.3s;
}

#loginButton:hover {
  background-color: #0056b3;
}

/* Main Menu Styles */
#mainMenu {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 300px;
  max-width: 90%; /* Ensure responsiveness on smaller screens */
}

form {
  margin-bottom: 20px;
}

form h2 {
  margin-bottom: 10px;
}

input {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  width: 100%;
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}

/* Back to Home Link Styling */
#backToHome {
  display: inline-block;
  margin-top: 20px;
  text-decoration: none;
  color: #007bff;
  font-size: 16px;
  padding: 5px 10px;
  border: 1px solid #007bff;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

#backToHome:hover {
  background-color: #007bff;
  color: white;
}