.header {
  height: 102px;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  z-index: 300;
}

.header .box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .logo-box {
  width: 102px;
  height: 102px;
}

.header .logo-box img {
  height: 100%;
}

.header .nav {
  display: flex;
  height: 100%;
  align-items: center;
}

.header .nav-item {
  cursor: pointer;
  width: 65px;
  margin-left: 50px;
  line-height: 102px;
  height: 102px;
  position: relative;
}

.header .nav-item a {
  color: #fff;
  text-decoration: none;
  font-family: MicrosoftYaHei;
  font-size: 16px;
}

.header .nav-item a img {
  width: 25px;
}

.header .nav-item .down {
  position: absolute;
  top: 39px;
  right: -23px;
}

.header .nav-item .down1 {
  display: block;
}

.header .nav-item .down2 {
  display: none;
}

.header .nav-item:hover ::after {
  animation: meauline .5s forwards;
}

.header .nav-item:hover a {
  color: #ea0253;
}

.header .nav-item:hover .down2 {
  display: block;
}

.header .nav-item:hover .down1 {
  display: none;
}

@keyframes meauline {
  from {
    width: 0;
  }
  to {
    width: 65px;
  }
}

.header .nav-item-child {
  background: #fff;
  position: absolute;
  top: 75px;
  left: -41px;
  border-radius: 5px;
  overflow: hidden;
  display: none;
}

.header .nav-item-child li {
  width: 240px;
  height: 45px;
  line-height: 45px;
}

.header .nav-item-child li a {
  color: #ea0253;
  display: block;
  padding: 0 20px;
  text-align: center;
}

.header .nav-item-child li:hover {
  background: #ea0253;
}

.header .nav-item-child li:hover a {
  color: #fff;
}

.header .nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 0px;
  height: 2px;
  left: 0;
  background: #ea0253;
}

.header .active {
  border-bottom: 2px solid #ea0253;
}

.header .active a {
  color: #ea0253;
}
