html,
body {
  width: 100%;
  height: 100%;
}
body {
  box-sizing: border-box;
}
header {
  justify-content: space-between;
  box-sizing: border-box;
  background: url("../imgs/nvabg.png");
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
}
header .nav {
  width: 100%;
  padding: 1% 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .nav .logo {
  width: 20%;
}
header .nav nav {
  width: 50%;
  margin: 0 1%;
}
header .nav nav ul {
  display: flex;
  justify-content: space-around;
}
header .nav nav ul li a {
  position: relative;
  white-space: nowrap;
  color: #fff;
}
header .nav nav ul li a::after {
  position: absolute;
  content: "";
  background-color: #5fa7ff;
  border-radius: 2px;
  width: 2.06rem;
  height: 0.25rem;
  bottom: -1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: none;
}
header .nav nav ul li a:hover {
  color: #5fa7ff !important;
}
header .nav nav ul li a:hover::after {
  display: block;
}
header .nav .phone {
  border: 1px solid #fff;
  padding: 1%;
  border-radius: 0.4rem;
  display: flex;
  align-items: center;
}
header .nav .phone img {
  width: 10%;
  margin-right: 8%;
}
header .nav .phone span {
  white-space: nowrap;
  color: #fff;
}
header .nav .Language select {
  appearance: none;
  /* 隐藏默认样式 */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: transparent;
  /* 设置背景透明 */
  border: none;
  /* 去除边框 */
  padding: 0.3rem;
  /* 设置内边距 */
  cursor: pointer;
  /* 鼠标样式为手型 */
  /* 添加自定义箭头样式 */
  background-image: url("../imgs/jt.png");
  /* 替换为自定义箭头图像 */
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 0.75rem;
  padding-right: 1.25rem;
  /* 留出空间给箭头 */
  color: #fff;
}
header .nav .Language select option {
  color: #000;
}
header .hov {
  box-sizing: border-box;
  height: 10.06rem;
  display: none;
  bottom: -10.06rem;
  position: absolute;
  padding: 1% 5%;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #fff;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 2s;
}
header .hov .left {
  margin-right: 4.38rem;
  border-right: 2px solid #e2e2e2;
  width: 27%;
  display: flex;
  justify-content: center;
  align-items: center;
}
header .hov .left img {
  width: 3.31rem;
  margin-right: 1.38rem;
}
header .hov .left span {
  font-size: 1.63rem;
  color: #666666;
  text-transform: uppercase;
}
header .hov .right {
  width: 70%;
  display: flex;
  flex-wrap: wrap;
}
header .hov .right a {
  margin-right: 6.25%;
  white-space: nowrap;
  font-size: 0.88rem;
  color: #666666;
  display: block;
  width: 15%;
  margin-bottom: 2%;
  /* 元素之间的下外边距 */
}
header .hov .right a:nth-child(5n) {
  margin-right: 0;
}
header .hov .right a:nth-child(n + 7) {
  margin-bottom: 0;
}
header .hactive {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
header .phones {
  display: none;
}
/* 窗口宽度<960,设计宽度=768 */
@media screen and (max-width: 959px) {
  header {
    position: static;
  }
  header .nav {
    display: none;
  }
  header .phones {
    position: fixed;
    top: 0;
    z-index: 9999;
    align-items: center;
    padding: 15px;
    background-color: #fff;
    box-sizing: border-box;
    display: flex !important;
    width: 100%;
    justify-content: space-between;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
  }
  header .phones .topmost {
    width: 25%;
  }
  header .phones .topmost img {
    width: 100%;
  }
  header .phones .htmleaf-container {
    display: flex !important;
  }
}
