.header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  z-index: 1000;
  background: linear-gradient(
    0deg,
    rgb(var(--color-black-rgb) / 0) 0%,
    rgb(var(--color-black-rgb) / 0.8) 100%
  );
  pointer-events: none;
}
.header .header__inner {
  width: 100%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  position: relative;
}
.header .header-bar {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  position: relative;
}
.header .header-bar.header-bar--main {
  height: 6.4rem;
}
@media (width >= 1200px) {
  .header .header-bar.header-bar--main {
    height: 8rem;
  }
}
.header .header-bar .header-bar__inner {
  display: flex;
  align-self: stretch;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}
@media (width >= 1200px) {
  .header .header-bar .header-bar__inner {
    justify-content: flex-start;
    padding: 0 3.6rem;
  }
}

/*  */

.header .logo {
  display: flex;
  flex-shrink: 0;
  width: 6rem;
  align-self: stretch;
}
.header .logo__link {
  position: relative;
  align-self: stretch;
  width: 100%;
  display: flex;
  pointer-events: auto;
}
.header .logo__media {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/*  */

.header .nav-menu {
  display: none;
}
@media (width >= 1200px) {
  .header .nav-menu {
    order: 20;
    display: flex;
    height: 6rem;
    border-radius: 20rem;
    gap: 2.4rem;
    align-items: stretch;
    flex-shrink: 0;
    background-color: rgb(var(--color-surface-dark-rgb) / 0.5);
    -webkit-backdrop-filter: blur(0.6rem);
    backdrop-filter: blur(0.6rem);
    padding: 0 3.6rem;
    pointer-events: auto;
  }
  .header .nav-menu .menu-item {
    display: flex;
    align-items: stretch;
  }
  .header .nav-menu .menu-item a {
    display: flex;
    align-items: center;
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    transition: var(--duration-normal);
    position: relative;
  }
  .header .nav-menu .menu-item.current-menu-item a {
    align-self: center;
    height: 3.6rem;
    padding: 0 2rem;
    border-radius: 20rem;
    background-color: rgb(var(--color-surface-light-rgb) / 0.12);
  }
}

.header .spacing {
  display: none;
}
@media (width >= 1200px) {
  .header .spacing {
    display: flex;
    order: 25;
  }
}

/*  */

.header .button {
  cursor: pointer;
  display: flex;
  pointer-events: auto;
  align-items: center;
  padding: 0 2.4rem;
  gap: 1.2rem;
  flex-shrink: 0;
  align-self: stretch;
}
.header .button.menu-button {
  padding-right: 2.4rem;
}
@media (width >= 1200px) {
  .header .button.menu-button {
    order: 10;
    padding-left: 3.6rem;
  }
}
.header .button .button__text {
  display: none;
}
.header .button .button__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.header .button .button__icon .icon {
  color: var(--color-text-light);
  width: 2.2rem;
  height: 2.2rem;
}
.header .button.menu-button .button__icon .menu-icon {
  position: relative;
  width: 2rem;
  height: 2rem;
  display: flex;
  flex-shrink: 0;
}
.header .button.menu-button .button__icon .menu-icon__dash {
  display: block;
  position: absolute;
  height: 0.2rem;
  width: 100%;
  background: var(--color-text-light);
  transform: rotate(0deg);
  transition: var(--duration-normal);
}
.header .button.menu-button .button__icon .menu-icon__dash--top {
  top: 0.4rem;
}
.header .button.menu-button .button__icon .menu-icon__dash--bottom {
  bottom: 0.4rem;
}
.header .button.menu-button.is-active .button__icon .menu-icon__dash--top {
  top: 0.9rem;
  transform: rotate(45deg);
}
.header .button.menu-button.is-active .button__icon .menu-icon__dash--bottom {
  bottom: 0.9rem;
  transform: rotate(-45deg);
}

@media (width >= 1200px) {
  .header .account-button {
    order: 30;
    padding-right: 0;
    height: 4.4rem;
    padding: 2.4rem;
    align-items: center;
    gap: 2rem;
    align-self: center;
    background-color: rgb(var(--color-surface-dark-rgb) / 0.5);
    -webkit-backdrop-filter: blur(0.6rem);
    backdrop-filter: blur(0.6rem);
    border-radius: 20rem;
  }
  @media (width >= 1200px) {
    .header .button.account-button .button__text {
      color: var(--color-text-light);
      display: block;
      line-height: var(--line-height-none);
    }
    .header .button.account-button .button__label {
      display: flex;
      display: block;
      line-height: var(--line-height-none);
      font-size: var(--font-size-sm);
    }
  }
}
