header#appHeader {
  background: var(--color-blue);
  color: white;
}

header#appHeader .header-contents {
  max-width: 70%;
  padding: 0.3rem 0;
}

.logo {
  width: 25%;
}

.logo a:hover {
  opacity: 0.5;
}

.nav-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

nav a:hover {
  background: white;
  color: var(--color-blue);
}

.bg-gray-900,
.bg-gray-900:hover {
  background: var(--color-black);
  color: white !important;
}

.nav-right {
  width: 20%;
  flex-direction: column;
}

.nav-right>* {
  width: 100%;
}

.nav-right .portal,
.nav-right a {
  width: 50%;
}

.nav-right .portal button {
  width: 100%;
  height: 100%;
}

.nav-right a,
.nav-right .portal button {
  border: 1px solid white;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}

.nav-right a:hover,
.nav-right .portal button:hover {
  background: white!important;
  color: var(--color-blue)!important;
}

.portal-menu {
  min-width: 150px;
  width: auto;
  color: var(--color-black);
  margin: 0;
}

.portal-menu a {
  width: 100%;
  color: var(--color-black)!important;
}

.nav-right>div.flex {
  justify-content: flex-end;
}

button#menuButton {
  display: none;
}





@media screen and (max-width: 1500px) {
  header#appHeader .header-contents {
    max-width: 75%;
  }
}





@media screen and (max-width: 1200px) {
  header#appHeader .header-contents {
    max-width: 90%;
  }
}





@media screen and (max-width: 1024px) {
  .logo {
    width: 35%;
  }

  .nav-center,
  .nav-right a {
    display: none;
  }

  .nav-right {
    width: auto;
  }

  .nav-right>.flex {
    display: none;
  }

  button#menuButton {
    width: 2.5rem;
    height: auto;
    aspect-ratio: 1/1;
    display: inline-flex;
  }

  button#menuButton:hover {
    background: none;
  }

  button#menuButton svg {
    width: 100%;
    height: 100%;
  }

  div#mobileMenu {
    background: var(--color-blue);
  }

  div#mobileMenu nav {
    max-width: 90%;
    gap: 0;
    padding: 1rem 0;
  }

  div#mobileMenu .user-name {
    width: max-content;
    margin: 5px auto;
  }

  div#mobileMenu a,
  div#mobileMenu span,
  div#mobileMenu form {
    margin: 0 auto;
  }
}





@media screen and (max-width: 767px) {
  .logo {
    width: 55%;
  }

  button#menuButton {
    width: 2rem;
  }
}