/* Mobile menu and logo fixes */
@media screen and (max-width: 1024px) {
  header.header {
    height: 5rem;
    /* background: white; */
  }

  body.menu-opened header.header {
    overflow: hidden;
    height: 483px;
  }
  body.menu-opened .menu.main {
    background-color: white;
  }
  .menu.social li.menu-item {
    display: none;
  }
  header.header a.brand {
    position: relative;
    text-align: center;
    max-width: 50px;
    left: 0;
    right: 0;
  }

  header.header a.brand img {
    max-height: 2rem;
    width: auto;
    display: inline-block;
  }

  /* Floating menu styles */
  .menu.main {
    position: fixed;
    top: 5rem;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 3rem !important;
  }

  body.menu-opened .menu.main {
    display: block;
  }

  .menu.social {
    display: none;
  }

  .burger {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 1001;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .burger hr {
    width: 100%;
    margin: 3px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }

  body.menu-opened .burger {
    top: 25px;
    right: 25px;
  }

  body.menu-opened .burger hr {
    margin: 3px 0;
  }

  body.menu-opened .burger hr:first-child {
    transform: translateY(0.275rem) rotate(-45deg);
  }

  body.menu-opened .burger hr:nth-child(2) {
    opacity: 0;
  }

  body.menu-opened .burger hr:last-child {
    transform: translateY(-0.275rem) rotate(45deg);
  }

  /* Keep background fixed */
  body.menu-opened {
    height: auto;
  }

  /* Remove transforms that might affect position */
  .scrolled header.header,
  .scrolled .burger {
    transform: none;
  }
}

@media screen and (min-width: 1024px) {
  .menu.main li:nth-child(6) {
    display: none;
  }
}