.header {
  width: 100%;
  height: 3.75rem;
  background: #1c1e28;
  padding: 0.88rem 4rem 0.88rem 1.69rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  box-sizing: border-box;
  justify-content: space-between;
}

.logo-cn {
  width: 120px;
  height: 33px;
  background: url("../images/logo-cn.png");
  background-size: 100% 100%;
  cursor: pointer;
}
.logo-tw {
  width: 120px;
  height: 33px;
  background: url("../images/logo.png");
  background-size: 100% 100%;
  cursor: pointer;
}

.logo-en {
  width: 120px;
  height: 33px;
  background: url("../images/logo.png");
  background-size: 100% 100%;
  cursor: pointer;
}

.language {
  position: relative;
}

.language-val {
  font-size: 0.88rem;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: #fefefc;
  line-height: 1.25rem;
  cursor: pointer;
}

.language:hover > .language-select {
  display: flex;
}

.hidden {
  display: none !important;
}

.show {
  display: flex;
}

.language-select {
  display: none;
  width: 8rem;
  position: absolute;
  top: 0;
  right: -2.5rem;
  padding-top: 2rem;
}

.language-select-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: #fff;
  padding: 10px;
  -webkit-box-shadow: 1px 3px 8px 0 rgb(31 26 66 / 10%);
  box-shadow: 1px 3px 8px 0 rgb(31 26 66 / 10%);
  border-radius: 2px;
  z-index: 10;
}

.language-select:hover {
  display: flex;
}

.language-select span {
  display: inline-block;
  width: 100%;
  font-size: 0.88rem;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: #656565;
  line-height: 1.25rem;
  padding: 0.28rem;
  cursor: pointer;
}

.language-select span:hover {
  background: #7751ff;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .header {
    padding: 10px 30px;
    height: 60px;
  }

  .logo-cn {
    width: 67px;
    height: 21px;
    background-size: cover;
  }

  .logo-en {
    width: 97px;
    height: 21px;
    background-size: cover;
  }

  .language-select {
    width: 120px;
    right: 0;
    padding-top: 25px;
  }

  .language-select span {
    font-size: 12px;
    line-height: 12px;
    padding: 10px;
  }

  .language-val {
    font-size: 14px;
    line-height: 14px;
  }
}
