
body {
  font-family: Arial, sans-serif;
  background-color: #f1f1f1;
  margin: 0;
  padding: 0;
  background-image: url(../img/background.png);
}

header {
  background-color: #007bff;
  color: white;
  display: flex;
  justify-content: space-between;
  height: 50px;
  align-items: center; /* Align content vertically in the middle */
  padding: 10px 0;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

.logo {
  height: 50px;
  margin-left: -20px; /*sorry henry*/
}
.separator {
  display: inline-block;
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  margin: 0 10px;
}
.navigator {
  display: block;
  list-style: none;
  font-size: 120%;
}
.navigatorTextPos {
  position: relative;
  bottom: 15px;
  margin-left: 10px;
  margin-right: 10px;
  display: inline;
}
.navigatorText {
  color: black;
  text-decoration: none;
}
.navigatorText:hover {
  color: black;
  text-decoration: none;
  animation-name: glow;
	animation-duration: 999999999ms;
}
@keyframes glow {
  from{
  text-shadow: 0 0 20px #8CC3FF, 0 0 30px #8CC3FF, 0 0 40px #8CC3FF, 0 0 50px #8CC3FF,0 0 60px #8CC3FF;
}
to {
  text-shadow: 0 0 80px #8CC3FF, 0 0 80px #8CC3FF;
}}

/*Above is header, below I think is what the rest of the site should use?*/
form {
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 5px;
  font-weight: bold;
}
/*      DARKMODE SLIDER        */

  .darkModeToggle {
      display: flex;
      align-items: center;
      margin-right: 20px;
    }
    
    .darkModeToggle label {
      display: flex;
      align-items: center;
    }
    
    .darkModeToggle span {
      margin-left: 10px;
    }
    
    .switch {
      position: relative;
      display: inline-block;
      width: 60px;
      height: 34px;
    }
    
    .switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }
    
    .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #ccc;
      -webkit-transition: 0.4s;
      transition: 0.4s;
      border-radius: 34px;
    }
    
    .slider:before {
      position: absolute;
      content: "";
      height: 26px;
      width: 26px;
      left: 4px;
      bottom: 4px;
      background-color: white;
      -webkit-transition: 0.4s;
      transition: 0.4s;
      border-radius: 50%;
    }
    
    input:checked + .slider {
      background-color: #444;
    }
    
    input:checked + .slider:before {
      -webkit-transform: translateX(20px);
      -ms-transform: translateX(26px);
      transform: translateX(16px);
    }
    
    .dark-mode-toggle span {
      margin-left: 10px;
    }
    
    /* Dark mode styles */
    .dark-mode {
      background-image: url(../img/background2.png); /* Dark gray background */
      color: black; /* White text for the rest of the content */
    }

    /* Add style for search results text in dark mode */
    .dark-mode .search-results .search-result {
      color: black; /* Black text for search results */
    }

    /* CSS for dropdown */
    .dropdown {
      position: relative;
      display: inline-block;
    }

    .dropdown-content {
      display: none;
      position: absolute;
      background-color: #f9f9f9;
      min-width: 120px;
      box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
      z-index: 1;
    }

    .dropdown-content a {
      color: black;
      padding: 12px 16px;
      text-decoration: none;
      display: block;
    }

    .dropdown-content a:hover {
      background-color: #f1f1f1;
    }

    .dropdown:hover .dropdown-content {
      display: block;
    }
    .dark-mode .register-link a {
      color: white;
    }
    .dark-mode .login-link a {
      color: white;
    }