.header-image,
.header-video {
  position: relative;
  height: 100svh;
  padding: var(--narrow-padding);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  > img,
  > video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .title-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    img {
      max-width: 75%;
      max-height: 75%;
      object-fit: contain;
    }
  }
  h1 {
    font-size: 9.6rem;
    font-weight: normal;
    @media (max-width: 800px) {
      font-size: 3.6rem;
    }
  }
}

.main-menu,
.main-menu-mobile {
  position: sticky;
  top: 0;
  background: var(--background-color);
  height: var(--main-menu-height);
  padding: 0 var(--padding);
  z-index: 1;
  .container {
    display: flex;
    max-width: var(--max-width);
    margin: 0 auto;
    align-items: center;
    height: 100%;
  }
  ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
  }
  li {
    padding: 1.3rem 1.5rem;
  }
  ul:last-child li:last-child {
    padding-right: 0;
  }
}

.main-menu {
  white-space: nowrap;
  .primary {
    flex: 1 0 auto;
    justify-content: flex-end;
  }
  .secondary {
    li + li {
      border-left: 1px solid var(--text-color);
    }
  }
  @media (max-width: 1100px) {
    display: none;
  }
}

.main-menu-mobile {
  .container {
    justify-content: space-between;
  }
  .logo {
    img {
      width: 12rem;
    }
  }
  @media (min-width: 1101px) {
    display: none;
  }
}
