@layer styles {
  .header {
    --header__gap: var(--space--extra-small);
    align-items: center;
    background-color: var(--color__background--secondary);
    display: flex;
    height: var(--header__height);
    justify-content: space-between;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
  }
  @media (min-width: 600px) {
    .header {
      --header__gap: var(--space--small);
    }
  }
  @media (min-width: 900px) {
    .header {
      position: fixed;
    }
  }

  .header__logo-wrapper {
    max-height: var(--header__height);
    margin-left: 50px;
  }
  @media (min-width: 1200px) {
    .header__logo-wrapper {
      margin-left: 0;
    }
  }

  .header__toolbar {
    align-items: center;
    display: flex;
    font-size: 0.875rem;
    gap: var(--header__gap);
  }
  @media (min-width: 600px) {
    .header__toolbar {
      gap: var(--space--medium);
    }
  }

  .header__title {
    text-transform: uppercase;
    font-size: 2rem;
  }

  .heimr-menu {
    display: none;
  }
  @media (min-width: 900px) {
    .heimr-menu {
      display: block;
    }
  }

  .heimr-menu__items {
    width: 100%;
  }
  @media (min-width: 900px) {
    .heimr-menu__items {
      display: flex;
    }
  }

  .heimr-menu__item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    color: #777777;
    display: block;
    font-weight: 600;
    padding: var(--space--extra-small);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    width: 100%;
  }
  .heimr-menu__item:hover {
    background-color: rgba(0, 0, 0, 0.03);
    opacity: 1;
    text-decoration: underline;
  }
  @media (min-width: 900px) {
    .heimr-menu__item {
      border-bottom: none;
      display: inline-block;
    }
  }
  @media (min-width: 900px) {
    .heimr-menu__item:first-child {
      padding-left: 0;
    }
  }
  @media (min-width: 900px) {
    .heimr-menu__item:last-child {
      padding-right: 0;
    }
  }
  @media (min-width: 900px) {
    .heimr-menu__item:hover {
      background-color: inherit;
      opacity: 0.7;
      text-decoration: none;
    }
  }

  .heimr-menu__item--active {
    color: #444444;
  }

  .heimr-menu--open {
    display: inline-block;
  }

  .heimr-hamburger-button {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 0.5;
    padding: 0;
    width: auto;
  }
  @media (min-width: 900px) {
    .heimr-hamburger-button {
      display: none;
    }
  }

  .heimr-hamburger-button--open {
    font-size: 2.4rem;
    line-height: 0.8;
  }

  .header__certificate {
    position: absolute;
    left: 10px;
    top: 10px;
  }

  .dropdown-menu {
    align-items: stretch;
    background-color: var(--color__background--secondary);
    border-top: 3px solid #3768aa;
    box-sizing: border-box;
    display: none;
    flex-direction: column;
    justify-content: center;
    left: 15vw;
    margin: 0 auto;
    padding: var(--space--small);
    position: absolute;
    width: 70vw;
    top: 100%;
  }
  .dropdown-menu--active {
    display: flex;
  }
  @media (min-width: 900px) {
    .dropdown-menu--active {
      display: none;
    }
  }

  .language-switch {
    width: 25px;
  }

  .navigation-bar {
    display: none;
  }
  @media (min-width: 900px) {
    .navigation-bar {
      display: block;
    }
  }

  @media (min-width: 1200px) {
    .header {
      padding-inline: calc((100% - var(--grid-width)) / 2);
    }
  }
}
