nav {
  background-color: var(--color-primary);
  font-size: var(--nav-font-size);
  z-index: 100;
  box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  color: #fff;
  z-index: 999;
}
nav .logo {
  max-height: 70px;
}
nav ul {
  display: flex;
  justify-content: space-between;
  line-height: 80px;
  width: 100%;
}
nav ul li {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
nav ul li::after {
  width: 22px;
  height: 4px;
  background-color: #fd874e;
  display: block;
  content: "";
  margin: 0 auto;
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
}
nav ul li.active,
nav ul li:hover {
  color: var(--color-secondary);
  font-weight: bold;
}
nav ul li.active::after,
nav ul li:hover::after {
  bottom: 15px;
  transition: all 0.5s;
}
nav .cont {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-mask {
  position: fixed;
  z-index: 99;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  background: rgba(0, 0, 0, 0.38);
}
#menuIcon {
  display: none;
}
.icon-menu {
  width: 0.6rem;
  height: 1rem;
  display: flex;
  justify-content: center;
  align-items: end;
  flex-direction: column;
}
.icon-menu span {
  display: block;
  width: 0.6rem;
  height: 0.06rem;
  border-radius: 0.03rem;
  margin: 0.05rem 0;
  background-color: #fff;
  transition: 500ms;
  width: 100%;
}
.icon-menu span:first-child {
  width: 50%;
}
.icon-menu span:nth-child(2) {
  width: 75%;
}
.icon-menu.active span:nth-child(1) {
  transform-origin: left;
  transform: rotate(46deg);
  margin-bottom: 0.1rem;
  transition: 500ms;
  width: 100%;
}
.icon-menu.active span:nth-child(2) {
  width: 0;
  transition: 500ms;
}
.icon-menu.active span:nth-child(3) {
  transform-origin: left;
  transform: rotate(-46deg);
  margin-top: 0.1rem;
  transition: 500ms;
}
