.header {
  width: 100%;
  height: 12rem;
  background: linear-gradient(0deg, rgba(26, 3, 32, 0) 0%, rgba(2, 22, 40, 0.8) 100%);
  padding: 0 9rem;
  position: fixed;

  top: 0;
  left: 0;
  /* position: relative; */
  z-index: 999;
}

.header-con {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
}

.header .logo {
  width: 66rem;
  height: 8.2rem;
  /* background: url(../images/logo.png) no-repeat; */
  background-size: 100% 100%;
}

.header .logo img {
  width: 66rem;
  height: 8.2rem;
}

.header-nav {
  display: flex;
}

.nav {
  display: flex;
}

.nav>li {
  padding: 0 1.4rem;
  text-align: center;
  height: 12rem;
  position: relative;
}

.nav>li.nav-active::after {
  width: 50%;
  left: 25%;
}

.nav>li::after {
  content: '';
  width: 0;
  height: 0.2rem;
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transition: all ease 0.3s;
  background: #fff;
}

.nav>li:hover::after {
  width: 50%;
  left: 25%;
}

.nav>li.nav-active>a,
.nav>li:hover>a {
  /* font-size: 2.4rem; */
  font-weight: 700;
}

.nav>li>a {
  display: inline-block;
  position: relative;
  width: 100%;
  height: 12rem;
  line-height: 12rem;
  color: #fff;
  font-size: 1.6rem;
  transition: all ease 0.3s;
}

.dropdown-menu {
  height: 0;
  width: 100%;
  position: absolute;
  top: 10rem;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  overflow: hidden;
}

.dropdown-menu>li {
  position: relative;
}

.dropdown-menu>li>a {
  width: 100%;
  height: 4rem;
  text-align: center;
  transition: all ease 1s;
  line-height: 4rem;
  font-size: 1.4rem;
  color: #fff;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  padding: 0 0.3rem;
  z-index: 999;
  position: relative;
}

.dropdown-menu>li>a:hover {
  color: #fff;
}

.dropdown-menu>li .mline {
  width: 0%;
  background: var(--color);
  height: 4rem;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
}

.right-search {
  display: flex;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
}

.right-search a {
  color: #fff;
}



.right-search .search-box {
  display: flex;
  align-items: center;
  padding-left: .8rem;
  border-left: .3rem solid #fff;
}

.right-search .search-box img {
  width: 2rem;
  height: 2rem;
}


.fadeInDown {
  animation: fadeInDown 0.5s ease;
}

@keyframes fadeInDown {
  0% {
    transform: translateY(-5rem);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.search {
  width: 100vw;
  height: 100vh;
  background: var(--color);
  position: fixed;
  z-index: 9999;
  top: -100vh;
  left: 0;
  transition: all .5s;
}

.search.open {
  top: 0;
}

.search .close {
  width: 4rem;
  height: 4rem;
  position: absolute;
  top: 3rem;
  right: 3rem;
  background: url('../images/close.png') 0 0 no-repeat;
  background-size: 100% 100%;
  cursor: pointer;
}

.search .search-content {
  position: absolute;
  width: 70rem;
  height: 7rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-bottom: 1px #FFF solid;
  display: flex;
}

.search .search-content input[type='text'] {
  color: #FFF;
  font-size: 1.8rem;
  background: none;
  padding-left: 1.5rem;
  flex: 1;
  outline: none;
  border: 0;
}

.search .search-content input[type='text']::-webkit-input-placeholder {
  color: #FFF;
}

.search .search-content input[type='button'] {
  width: 6rem;
  background: url(../images/search.png) no-repeat center;
  background-size: 3rem;
  outline: none;
  border: 0;
  color: rgba(0, 0, 0, 0);
}