.header {
  width: 100%;
  height: 60px;
  /* background: plum; */
  background: #fff;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.08);
  transition: all 0.5s;
}
.header > a {
  margin-left: 12.5%;
}
.header > a > img {
  width: 150px;
  height: 40px;
  margin: 10px 0;
  object-fit: contain;
}
/* .header .logo {
  width: 150px;
  height: 40px;
  margin: 10px 0 10px 12.5%;
  background: url(/static/web_new/img/header/header_logo.png) no-repeat;
  background-size: cover;
  background-position: center;
} */
.header .nav {
  padding-right: 12.5%;
  display: flex;
}
.header .nav a,
.header .nav .flagcn {
  height: 100%;
  color: #595757;
  line-height: 20px;
  /* margin: 0 20px; */
  transition: all 1s;
}
.header .nav a {
  font-family: "FZLanTingHeiS-EL-GB";
  padding: 20px;
  font-size: 16px;
}
.header .nav a:hover {
  background: #d0b88a;
  /* color: #ffffff; */
  font-family: "FZLanTingHeiS-R-GB";
  transition: all 1s;
}
.header .nav .flagcn {
  position: relative;
  cursor: pointer;
  font-family: "Helvetica Neue 100";
  letter-spacing: 2px;
  padding: 15px 20px;
  color: #fff;
}
.header .nav .flagcn div {
  padding: 5px;
  background: rgba(208, 184, 138, 0.6);
  border-radius: 3px 3px 3px 3px;
}
/* .header .nav .flagcn > img {
  width: 20px;
  height: 15px;
  margin-top: 23px;
  margin-left: 50px;
} */
/* .header .nav .flagcn .flagen {
  width: 40px;
  height: 40px;
  background: #fff;
  position: absolute;
  bottom: -40px;
  left: 40px;
  display: none;
}
.header .nav .flagcn:hover .flagen {
  display: block;
}
.header .nav .flagcn .flagen img {
  width: 20px;
  height: 15px;
  object-fit: cover;
  margin-left: 10px;
  margin-top: 12.5px;
} */
.header.hidden {
  top: -60px; /* 隐藏头部，确保它完全消失在视口之外 */
  transition: all 0.5s;
}
.header .list {
  width: 18px;
  height: 18px;
  background: url(/static/web_new/img/header/header_list.png) no-repeat;
  background-size: cover;
  background-position: center;
  display: none;
  margin: 3px 0;
}
header .overlay {
  display: none;
}
.header .langcheck {
  display: none;
}
@media only screen and (max-width: 1024px) {
  .header {
    background: #000;
    height: 44px;
    padding: 10px 18px;
    display: flex;
    justify-content: start;
    /* position: relative; */
  }
  .header .langcheck {
    display: block;
    position: absolute;
    font-family: "FZLanTingHeiS-EL-GB";
    font-size: 12px;
    color: #ffffff;
    line-height: 12px;
    top: 15px;
    right: 18px;
    opacity: 0.6;
  }
  .header .langcheck > .first {
    display: flex;
    align-items: center;
  }
  .header .langcheck > .last {
    display: none;
    margin-top: 20px;
  }
  .header .langcheck.on > .last {
    display: block;
  }
  .header .langcheck img {
    width: 14px;
    height: 14px;
    object-fit: cover;
    margin-left: 8px;
    transition: transform 0.3s ease;
  }
  .header .langcheck.on img {
    transform: rotate(180deg);
  }
  .header .nav {
    display: none;
  }
  .header .list {
    display: block;
  }
  .header > a > img {
    width: 106px;
    height: 24px;
    margin: 0;
    object-fit: contain;
  }
  .header > a {
    margin: 0 0 0 30%;
  }
  header .overlay.on {
    display: block;
  }
  header .overlay {
    display: none;
    width: 100vw;
    height: 100vh;
    background: url(/static/web_new/img/header/header_bg.png) no-repeat;
    background-size: cover;
    background-position: center;
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 0;
    padding: 70px 80px 0 20px;
  }
  header .overlay > a > img {
    height: 28px;
    width: 123px;
    object-fit: contain;
    margin-bottom: 23px;
  }
  header .overlay ul li {
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-family: "FZLanTingHeiS-R-GB";
    font-size: 14px;
    color: #ffffff;
    line-height: 14px;
    list-style: none;
  }
  header .overlay ul li:last-of-type {
    border-bottom: none;
  }
  /* header .overlay ul li:last-of-type {
    padding: 10px;
    margin-top: 20px;
    border-bottom: none;
    font-family: "FZLanTingHeiS-R-GB";
    font-size: 14px;
    color: #ffffff;
    line-height: 14px;
    background: #d0b88a;
    width: 82px;
    border-radius: 4px 4px 4px 4px;
  } */
  header .overlay > div {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    margin-top: 167px;
  }
  header .overlay > div img {
    width: 18px;
    height: 18px;
    object-fit: cover;
    margin-right: 20px;
  }
}
