#nav-bar {
  height: 55px;
  width: 90vw;
  background-color: #292f3d;
  display: flex;
  flex-direction: row;
  padding-left: 5vw;
  padding-right: 5vw;
  position: fixed;
  font-family: open-sans, sans-serif;
  font-weight: 600;
  font-style: normal;
  border-bottom: 1px solid black;
  z-index: 99999;
}
#nav-bar-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 40vw;
}
#crossfade-hamburger-items {
  position: relative;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1;
}
.hamburger-menu {
  opacity: 0;
  height: 32px;
  width: 32px;
}
.hamburger-menu.normal {
  position: absolute;
  opacity: 0;
  transition: opacity 0.05s ease-in-out;
}
.hamburger-menu.hover {
  position: absolute;
  opacity: 0;
  transition: opacity 0.05s ease-in-out;
}
.hamburger-menu.click {
  position: absolute;
  opacity: 0;
}
.hamburger-menu.clicked {
  animation: createBox 0.1s forwards;
}
.hamburger-menu.unclicked {
  animation: removeBox 0.1s forwards;
}
@keyframes createBox {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes removeBox {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.hamburger-menu.active {
  opacity: 1;
}
#hamburger-menu-container {
  display: none;
  position: absolute;
  top: 56px;
  width: 200px;
  background-color: white;
  border: 1px solid black;
  border-top: none;
}
#hamburger-menu-items {
  position: relative;
  display: flex;
  flex-direction: column;
}
.hamburger-menu-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  user-select: none;
  cursor: pointer;
  color: black;
  font-weight: 400;
  text-decoration: none;
  height: 40px;
}
.hamburger-menu-item::after {
  content: "";
  height: 100%;
  padding-left: 4px;
}
.hamburger-menu-item.visiting::after {
  padding-left: 0;
  content: "";
  border-left: 4px solid #e43f6f;
  height: 100%;
  display: block;
}
.hamburger-menu-item:hover {
  background-color: #e6e9ef;
  color: black;
}
.hamburger-menu-item-text {
  width: 100%;
  padding-left: 20px;
}
#nav-bar-logo-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  height: 34px;
  width: 97px;
  margin-left: 1vw;
}
#nav-bar-logo {
  position: absolute;
  height: 34px;
  width: 97px;
}
#nav-bar-right {
  display: flex;
  flex-direction: row;
  width: 50vw;
  justify-content: flex-end;
}
.navlinks {
  display: flex;
  align-items: center;
  margin-left: 2vw;
  margin-right: 2vw;
}
.navlinks > a > img {
  width: 18px;
  height: 18px;
  padding-left: 5px;
  padding-top: 5px;
}
.navlinks > a {
  color: #ffffff;
  font-size: 1.2em;
  text-decoration: none;
  font-weight: 700;
}
#profile-menu-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 50px;
}

#profile-menu-icon {
  width: 15px;
  height: 15px;
}
#user-name {
  color: white;
  font-weight: 700;
  margin-right: 10px;
  max-width: 150px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.signin-button {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 32px;
  padding-left: 10px;
  padding-right: 10px;
  margin-right: 3px;
  margin-left: 3px;
  border-radius: 3px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8em;
  background-color: #49556e;
}
#sign-in:hover {
  background-color: #394256;
}
#sign-up {
  background-color: rgba(228, 63, 111, 1);
}
#sign-up:hover {
  background-color: rgba(228, 63, 111, 0.8);
}
#profile-menu-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  user-select: none;
  background-color: #49556e;
  padding: 3px 20px 3px 20px;
  height: 30px;
  border-radius: 5px;
  font-size: 0.9em;
}
#profile-menu-buttons:hover {
  background-color: #394256;
}
#profile-menu-dropdown-container {
  display: none;
  position: absolute;
  top: 50px;
  width: 150px;
  border: 1px solid black;
  background-color: white;
}
#profile-menu-dropdown-container-items {
  position: relative;
  display: flex;
  flex-direction: column;
}
.profile-menu-dropdown-container-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  user-select: none;
  cursor: pointer;
  color: black;
  font-weight: 400;
  text-decoration: none;
  height: 40px;
  padding: 2px;
  padding-left: 20px;
}
.profile-menu-dropdown-container-item:hover {
  background-color: #e6e9ef;
}

.hide-header-element {
  display: none;
}
@media only screen and (max-width: 615px) {
  #nav-bar {
    height: 65px;
  }
  .navlinks > a {
    display: none;
  }
  #hamburger-menu-container {
    top: 65px;
  }
  #nav-bar-logo {
    padding-left: 5px;
  }
}
