:root {
  --menu-height: 65px;
}

.site-sponsor {
  display: none;
}

#nav-icon {
  width: 40px;
  height: 30px;
  position: relative;
  cursor: pointer;
}
#nav-icon span {
  display: block;
  position: absolute;
  height: 6px;
  width: 50%;
  background: var(--secondary-color);
  transition: 0.25s ease-in-out;
}

#nav-icon span {
  background-color: var(--secondary-color);
}

#nav-icon span:nth-child(even) {
  left: 50%;
}
#nav-icon span:nth-child(odd) {
  left: 0px;
}
#nav-icon span:nth-child(1),
#nav-icon span:nth-child(2) {
  top: 0px;
}
#nav-icon span:nth-child(3),
#nav-icon span:nth-child(4) {
  top: 12px;
}
#nav-icon span:nth-child(5),
#nav-icon span:nth-child(6) {
  top: 24px;
}
#nav-icon[aria-expanded="true"] span:nth-child(1),
#nav-icon[aria-expanded="true"] span:nth-child(6) {
  transform: rotate(45deg);
}
#nav-icon[aria-expanded="true"] span:nth-child(2),
#nav-icon[aria-expanded="true"] span:nth-child(5) {
  transform: rotate(-45deg);
}
#nav-icon[aria-expanded="true"] span:nth-child(1) {
  left: 5px;
  top: 7px;
}
#nav-icon[aria-expanded="true"] span:nth-child(2) {
  left: calc(50% - 5px);
  top: 7px;
}
#nav-icon[aria-expanded="true"] span:nth-child(3) {
  left: -50%;
  opacity: 0;
}
#nav-icon[aria-expanded="true"] span:nth-child(4) {
  left: 100%;
  opacity: 0;
}
#nav-icon[aria-expanded="true"] span:nth-child(5) {
  left: 5px;
  top: 17px;
}
#nav-icon[aria-expanded="true"] span:nth-child(6) {
  left: calc(50% - 5px);
  top: 17px;
}

#header {
  background-color: #fff;
}

.eadenhub-header {
  height: var(--menu-height);
  display: flex;
  justify-content: space-between;
  padding: 0.75rem;
  align-items: center;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.eadenhub-header.menu-opened {
  overflow: visible;
}
.eadenhub-header .site-sponsor {
  max-width: 25%;
}

.eadenhub-header .site-sponsor img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.site-logo {
  max-width: 35%;
}

.site-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.edenhub-header-actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: absolute;
  background-color: #fff;
  z-index: 5;
  width: 100%;
  top: 100%;
  padding: 2rem;
  box-sizing: border-box;
  transition: 0.25s;
}

.edenhub-header-actions[data-state="opened"] {
  left: 0;
}

.edenhub-header-actions[data-state="closed"] {
  left: 100%;
}

.menu--main ul.menu a {
  color: #000;
  text-decoration: none;
}

.menu--main ul.menu a:hover,
.menu--main ul.menu a:focus {
  color: var(--secondary-color);
  font-weight: 700;
}

@media (min-width: 75em) {
  :root {
    --menu-height: 140px;
  }

  .edenhub-header-actions {
    position: static;
  }

  #nav-icon {
    display: none;
  }

  .site-sponsor {
    display: block;
  }

  .eadenhub-header {
    padding: 0.75rem 2.5rem;
  }

  .login-link {
    text-align: center;
  }

  .menu--main ul.menu {
    display: flex;
    gap: 1rem;
    justify-content: center;
  }

  .eadenhub-header .site-sponsor {
    width: 190px;
    height: 41px;
  }

  a.site-logo {
    display: block;
  }

  .site-logo {
    width: 265px;
    height: 77px;
  }
}
