.menu {
  padding: var(--page-padding);
  white-space: nowrap;
}

.menu-header {
  margin-bottom: 1.5rem;
  background: white;
}

.site-title {
  font-size: 1.2rem;
}

.hamburger-btn {
  display: none;
}

.menu-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-nav li:not(:last-child) {
  margin-bottom: 1.5rem;
}

/* (see ApplicationHelper#nav_link_to) */
.menu-nav a.is-active {
  color: green;
  text-decoration: underline;
}

.menu-socials {
  display: flex;
  padding-top: 1.5rem;
  gap: 1.5rem;
}

.menu-socials img {
  width: 1.5rem;
  height: 1.5rem;
}

@media (max-width: 920px) {
  .menu {
    position: sticky;
    z-index: 200;
    padding: 0;
  }

  .menu-header {
    display: flex;
    align-items: center;
    position: relative;
    justify-content: space-between;
    z-index: 101;
    margin-bottom: 0;
    padding: 0.75rem var(--mobile-padding);
    border-bottom: 1px solid #e8e8e8;
  }

  .hamburger-btn {
    display: block;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
  }


  .hamburger-btn img {
    width: 1.5rem;
    height: 1.5rem;
    display: block;
  }

  .menu-body {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
  }

  .menu-body-inner {
    align-items: flex-start;
  }

  .menu-body.open {
    transform: translateY(0);
    border-bottom: 1px solid #e8e8e8;
  }

  .menu-nav ul {
    margin-bottom: 0;
  }

  .menu-nav li {
    font-size: 1.3rem;
  }

  .menu-nav li:not(:last-child) {
    margin-bottom: 2rem;
}

  .menu-socials {
    display: flex;
    justify-content: flex-start;
    padding-top: 2rem;
    gap: 2rem;
  }
}
