.menu-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.menu-opener {
  display: inline-block;
  width: 33px;
  height: 33px;
  position: relative;
  cursor: pointer;
}

.menu-opener span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--color-light);
  margin: 6px 0;
  transition: all 1s ease;
  position: relative;
}

/* Анимация на превращение в крестик при активном состоянии */
.open .menu-opener span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.open .menu-opener span:nth-child(2) {
  opacity: 0;
}
.open .menu-opener span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.menu-content {
  display: none;
  position: absolute;
  background: var(--color-background);
  top: calc(var(--drupal-displace-offset-top, 0px) + 80px);
  height: calc(100vh - var(--drupal-displace-offset-top, 0px) - 80px);
  left: 0;
  width: 100%;
  z-index: 1;
}

.open .menu-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem 2.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
}

.menu .is-active {
  font-weight: 600;
  transform: scale(1.1);
  filter: brightness(150%);
}
@media (min-width: 1200px) {
  .menu-container {

  }
  .menu-opener {
    display: none;
  }
  .open .menu-content {
    display: flex;
  }
  .menu-content {
    position: inherit;
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 1rem;
    height: auto;
  }
  .menu {
    flex-direction: row;
  }
}
