.menuItem {
  display: inline-block;
  margin: 0.4rem 0.5rem;
  font-size: 1.2rem;
  color: var(--color-text-primary);
  text-decoration: none;
}

.menuItem img {
  height: 24px;
}

.menu > li {
  padding-bottom: 0.45rem;
}

.menuItem {
  vertical-align: middle;
}

.hamburger {
  position: fixed;
  z-index: var(--z-hamburger);
  top: 10px;
  right: 8px;
  padding: 0;
  border: none;
  color: var(--color-text-primary);
  background: transparent;
  cursor: pointer;
}

.closeIcon {
  display: none;
}

.hamburger.active .menuIcon {
  display: none;
}

.hamburger.active .closeIcon {
  display: block;
}

.menu {
  position: fixed;
  transform: translateY(-100%);
  transition: transform 0.2s;
  top: 0;
  left: 0;
  right: 0;
  bottom: var(--footer-height);
  z-index: var(--z-menu);
  background: rgba(65, 69, 84, 0.8);
  backdrop-filter: blur(10px);
  color: var(--color-text-primary);
  list-style: none;
  padding: 2.3rem;
  padding-top: 0.4rem;
  text-align: right;
}

.showMenu {
  transform: translateY(0);
}

@media (hover: hover) {
  .menuItem:hover {
    text-decoration: underline;
  }
  
  button:hover {
    opacity: 0.8;
  }
}
