html, body {
  background-color: #d5d5f1;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  z-index: 0;
}
.navbar {
  background-color: black;
  width: 100vw;
  height: 50px;
  display: flex;
  align-items: center;
  padding-left: 20px;
  position: absolute;
  overflow-x: visible;
  z-index: 1;
}

.home {
  margin-left: 187px;
}

a:visited {
  color: inherit;          /* Prevents purple color after clicking */
  text-decoration: none;   /* Keeps it from becoming underlined */
}

button {
  background-color: transparent;
  color: white;              /* White text */
  border: none;              /* No border */
  padding: 10px 20px;        /* Some padding */
  font-size: 16px;           /* Text size */
  border-radius: 5px;        /* Rounded corners */
  cursor: pointer;           /* Pointer cursor on hover */
  transition: background-color 0.3s ease; /* Smooth hover effect */
}

/* Change background on hover */
button:hover {
  background-color: darkviolet;
}

/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
  z-index: 10;
}

/* Dropdown button style */
.dropbtn {
  background-color: transparent;
  color: white;
  padding: 12px 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  z-index: 10;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #222;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
  z-index: 10;
  top: 100%;  /* Position below the button */
  left: 0;
}

/* Dropdown links */
.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Hover effect on links */
.dropdown-content a:hover {
  background-color: #555;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change button color on hover */
.dropdown:hover .dropbtn {
  background-color: #333;
}

.crest {
  position: absolute;
  top: 6px;
  left: 214px;
  width: 72px;
  height: auto;
  z-index: 10;
}

.title {
  font-size: 40px;
  margin-left: 299px;
  margin-top: 17px;
  margin-bottom: 0;
}

.motto {
  font-size: 25px;
  margin-left: 305px;
  margin-top: 0px;
  margin-bottom: 25px;
}

.homebar {
  background-color: #b8b8b8;
  width: 100vw;
  height: 50px;
  margin-top: 75px;
  display: flex;
  align-items: center;
  padding-left: 20px;
  overflow-x: visible;
  z-index: 1;
  justify-content: space-evenly;
}

.general {
  background-color: transparent;
  color: black;
  font-weight: bold;
  margin-left: -20px;
}