.navbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  position: relative;
}
.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav-list li a {
  color: #0e0e0e;
  text-decoration: none;
  position: relative;
}

.nav-list li a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #c51685;
  transition: width 0.3s;
  position: absolute;
  bottom: -5px;
  left: 0;
}
.nav-list li a:hover::after,
.nav-list li a:active::after {
  width: 100%;
}
