html {
  overflow-x: hidden;
}

.sh-nav,
.elf-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.15rem 1.6rem;
}

.sh-nav a,
.elf-nav a {
  position: relative;
  display: inline-block;
  padding: 4px 0;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.sh-nav a::after,
.elf-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.sh-nav a.active,
.elf-nav a.active {
  font-weight: 700;
}

.sh-nav a.active::after,
.elf-nav a.active::after {
  transform: scaleX(1);
}

@media (max-width: 900px) {
  .sh-nav,
  .elf-nav {
    display: none;
  }
}
