/* Shared dependency — also used by #menu-close-button positioning */
body {
  --header-padding-top: 1.5rem;
}

/* Shared — .menu-button class is also on .hero-menu-button */
.menu-button {
  cursor: pointer;
  transition: scale 0.5s ease-in-out;
  z-index: 2;
}

site-header {
  width: 100%;
  display: block;
  z-index: 3;
}

.hero-header {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  padding: 2rem 2rem 2rem 3rem;
  z-index: 3;
}

#main-logo {
  z-index: 3;
  position: relative;
  height: 4rem;
  width: fit-content;
  pointer-events: auto;
  cursor: pointer;
}

#main-logo *,
#main-logo img {
  user-select: none;
}

#main-logo img {
  height: 100%;
}

.hero-nav {
  margin-left: auto;
}

.hero-nav ul {
  display: flex;
  flex-direction: row;
  margin: 0;
  padding: 0;
}

.hero-nav li {
  margin: 0 0.4rem;
  list-style: none;
}

.hero-nav a {
  text-decoration: none;
  color: #2F4858;
  text-transform: uppercase;
  letter-spacing: 8%;
  font-size: 0.95em;
  padding: 0.6rem 1.4rem;
  border-radius: 70px;
  transition: all 0.2s ease-in-out;
}

.hero-nav a:hover {
  background: #ffffff92;
}

.hero-menu-button {
  display: none;
  margin: 0.6rem 1rem 0 auto;
  cursor: pointer;
  z-index: 3;
}

@media screen and (max-width: 864px) {
  .hero-nav {
    display: none;
  }

  .hero-menu-button {
    display: block;
  }

  .hero-header {
    padding: 1.25rem 1.5rem;
  }

  #main-logo {
    height: 3rem;
  }
}
