.menu-hamburger-horizontal {
  z-index: 1000;
}

.menu-hamburger-horizontal__list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 6rem;
  width: 100vw;
  height: 100dvh;
}
@media (min-width: 1200px) {
  .menu-hamburger-horizontal__list {
    flex-direction: row;
  }
}

.menu-hamburger-horizontal__link {
  position: relative;
  color: #fff;
  font-weight: 500;
  transition: 0.3s;
  font-size: calc(var(--font-body-scale) * 2.4rem);
}

.menu-hamburger-horizontal__link:hover {
  color: rgb(var(--color-accent));
}

.menu-hamburger-horizontal__link::after {
  content: "";
  position: absolute;
  border-bottom: 0.1rem solid rgb(var(--color-accent));
  bottom: 0;
  width: 0;
  transition: 0.3s linear 0s;
}
[dir=ltr] .menu-hamburger-horizontal__link::after {
  right: 0;
}
[dir=rtl] .menu-hamburger-horizontal__link::after {
  left: 0;
}

.menu-hamburger-horizontal__link:hover::after {
  width: 100%;
}
[dir=ltr] .menu-hamburger-horizontal__link:hover::after {
  left: 0;
}
[dir=rtl] .menu-hamburger-horizontal__link:hover::after {
  right: 0;
}