/* Navigationsleiste style */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  color: black;
  height: auto;
  filter: drop-shadow(0px 2px 9px rgba(0, 0, 0, 0.15));
}

.navbarTitle {
  font-size: 2rem;
  margin: .7rem 1.5rem;
  font-weight: bold;
}

#userDetails {
  position: fixed;
  bottom: 0;
  right: 0;
  margin: .3rem 1.5rem;
  font-weight: bold;
}

.navbarLinks {
  display: flex;
  align-self: stretch;
}

.navbarLinks ul {
  display: flex;
  height: 100%;
}

.navbarLinks li {
  display: flex;
  list-style: none;
  height: 100%;
}

.navbarLinks li a {
  text-decoration: none;
  color: black;
  padding: 0 1rem;
  display: block;
  font-size: 1.2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.navbarButton {
  text-align: right;
  width: 13%;
  max-width: 255px;
  margin: 0 1.5rem;
}

.navbarLinks li:hover {
  background-color: #ededed;
}

.toggleButton {
  display: block;
  position: absolute;
  right: 1.5rem;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.toggleButton .bar {
  height: 3px;
  width: 100%;
  background-color: black;
  border-radius: 10px;
}

@media (max-width: 660px) {
  .toggleButton{
    top: 1.2rem;
    display: flex;
  }

  .navbarLinks {
    display: none;
    width: 100%; 
  }

  .navbarButton{
    display: none;
    padding: 0.6rem 0rem;
  }

  .navbar{
    flex-direction: column;
    align-items: flex-start;
  }

  .navbarLinks ul {
    flex-direction: column;
    width: 100%;
  }

  .navbarLinks li a{
    padding: 0.6rem 1.5rem;
  }
  
  .navbarLinks.active {
    display: flex;
  }

  .navbarButton.active {
    display: flex;
  }

}