.menu,
.menu a,
.menu button {
  font-family: 'Poppins', sans-serif;
}

.menu-toggle {
  width: 30px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: #000;
  margin: 6px 0;
  transition: 0.4s;
}

/* Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
  z-index: 9;
}

/* Menu */
.menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: #fff;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.5s ease;
  z-index: 10;
}

.menu.active {
  right: 0;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.menu-close {
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  align-self: flex-end;
}

/* Links */
.menu-links li {
  list-style: none;
  margin: 25px 0;
}

.menu-links a {
  text-decoration: none;
  font-size: 22px;
  color: #000;
  position: relative;
}

.menu-links a::after {
  content: '';
  width: 0;
  height: 2px;
  background: #000;
  position: absolute;
  bottom: -5px;
  left: 0;
  transition: 0.3s;
}

.menu-links a:hover::after {
  width: 100%;
}

/* Footer icons */
.menu-footer {
  display: flex;
  gap: 20px;
}

.menu-footer a {
  font-size: 20px;
  color: #000;
  transition: 0.3s;
}

.menu-footer a:hover {
  transform: translateY(-3px);
}
