.nav-item a:after {
  content: '';
  height: 2px;
  width: 0;
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  /* background-color: var(--nav-link-color); */
  background-color: currentColor;
  transition: width 250ms ease-out;
}

.nav-item a:hover::after {
  width: 100%;
}