header {
  padding: 0;
  margin: 0;
}

header * {
  font-family: omnes-pro, sans-serif;
  font-size: 16px;
}

header nav a {
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.2s ease-in-out;
}

header .header-wrapper {
  background-color: #171717;
  color: #e2e2e2;
  padding: 0 16px;
}

header .header-subwrapper {
  display: flex;
  align-items: center;
  height: 64px;
  margin: auto;
  padding: 16px 0;
  max-width: 1600px;
  justify-content: flex-start;
}

a:hover,
.languages span:hover {
  color: #ffffff99;
  text-decoration: none;
}

header .header-wrapper nav li a {
  margin-right: 20px;
}

header .menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  margin-right: 8px;
  cursor: pointer;
}

header .menu-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #e2e2e2;
  margin: 4px 0;
}

header .header-nav {
  display: flex;
  align-items: center;
}

header .menu-overlay {
  display: none;
}

.languages {
  display: flex;
}

.languages span {
  cursor: pointer;
}

header .logged-user {
  margin-left: auto;
  margin-right: 2rem;
}

.languages > span:not(:first-child) {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  margin-left: 6px;
  padding-left: 8px;
}

.languages > span {
  padding: 0 2px;
  display: block;
  display: inline-flex;
  height: 100%;
  align-items: center;
}

.header-nav > .languages {
  margin: 10px auto;
  height: 30px;
}

button.hamburger .hamburger-inner,
button.hamburger .hamburger-inner::before,
button.hamburger .hamburger-inner::after {
  background-color: #fff !important;
}

@media only screen and (min-width: 1151px) {
  header a.active {
    text-decoration: underline;
  }

  header .hamburger {
    display: none;
  }
  .header-nav > .languages {
    display: none;
  }

  .languages {
    height: 100%;
  }
}
@media only screen and (max-width: 1150px) {
  header .header-wrapper {
    text-align: left;
  }

  header .header-subwrapper {
    padding: 8px 0;
  }

  header .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-subwrapper > .languages {
    display: none;
  }

  header .header-nav {
    position: fixed;
    top: 63px;
    left: 0;
    bottom: 0;
    width: min(80vw, 320px);
    background: #1f1f1f;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 1100;
    overflow-y: auto;
  }

  header .header-nav.is-open {
    transform: translateX(0);
  }

  header .header-nav a {
    padding: 12px 16px;
    border-bottom: solid 4px #8a8a8a;
    width: 100%;
    margin: 0;
  }

  header .header-nav a.active {
    -webkit-box-shadow: inset 4px 0px 0px 0px #b381c3;
    box-shadow: inset 4px 0px 0px 0px #b381c3;
  }

  header .menu-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    z-index: 1000;
  }

  header .menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

  header * {
    font-size: 18px;
  }

  header .menu-overlay.is-open .w-50 {
    width: 100%;
  }
}
