.nav-wrapper {
  margin-top: 70px;
}
.nav-wrapper ul {
  display: flex;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.nav-wrapper ul li {
  position: relative;
}
.nav-wrapper ul li:after {
  content: '';
  width: 0;
  height: 2px;
  background: var(--color);
  position: absolute;
  left: 50%;
  bottom: 0;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
}
.nav-wrapper ul li a {
  text-align: center;
  color: #000;
  display: block;
  padding-bottom: 10px;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
}
.nav-wrapper.white ul{
  border-bottom:1px solid rgba(255,255,255,0.2);
}
.nav-wrapper.white ul li a{
  color: #fff;
}
.nav-wrapper ul li:not(:last-child) {
  margin-right: 100px;
}
.nav-wrapper ul li:hover:after {
  width: 100%;
  left: 0;
}
.nav-wrapper ul li:hover a {
  color: var(--color);
}
.nav-wrapper ul li.active:after {
  width: 100%;
  left: 0;
}
.nav-wrapper ul li.active a {
  color: var(--color);
}
@media screen and (max-width: 1680px) {
  .nav-wrapper {
    margin-top: 3.5vw;
  }
  .nav-wrapper ul li:not(:last-child) {
    margin-right: 5vw;
  }
}
@media screen and (max-width: 768px) {
  .nav-wrapper {
    margin-top: 20px;
  }
  .nav-wrapper ul li:not(:last-child) {
    margin-right: 20px;
  }
}