body {
  background-color: #7C4DFF;
  color: white;
  font-family: 'Roboto', sans-serif;
  margin: 0; /* Reset default margin */
}

header {
  background-color: #222;
  color: white;
  padding: 10px 0;
  width: 100%;
}

.header-content {
  width: 80%;
  max-width: 1200px;
  min-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-content img {
  height: 80px; /* Adjust logo size */
  width: auto; /* Maintain aspect ratio */
}

.header-content nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.header-content nav a:hover {
  color: #aaa;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #333; /* Darker dropdown */
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  padding: 10px;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #555;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.main-content {
  width: 80%;
  max-width: 1200px;
  min-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: center;
  }

  .header-content img {
    margin-bottom: 10px;
    text-align: center; /* center the logo */
    width: 100%; /* make the logo take full width */
  }
}
