/* footer */
footer {
  width: 100%;
  height: auto;
  /* border-top: 1px solid rgba(0, 0, 0, 0.2); */
  /* background-color: #0f0f0f;
  color: #fff; */
  text-align: center;
  padding: 50px 0;
  box-sizing: border-box;
  font-size: 16px;
}
footer .inner {
  max-width: 1200px;
  margin: 0 auto;
}
footer .inner .link-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: 32px;
  @media (max-width: 720px) {
    grid-template-columns: repeat(1, 1fr);
    padding-bottom: 16px;
  }
}
footer .inner .link-wrapper .menu {
  @media (max-width: 720px) {
    margin-bottom: 10px;
  }
}
footer .inner .link-wrapper .menu,
footer .inner .link-wrapper .menu .sub-menu {
  text-align: left;
  @media (max-width: 720px) {
    text-align: center;
  }
}
footer .inner .link-wrapper .menu .menu-item a {
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
}
footer .inner .link-wrapper .menu .menu-item a:hover,
footer .inner .link-wrapper .menu .menu-item a:active {
  color: unset;
}
footer .inner .link-wrapper .menu .sub-menu .menu-item a {
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}
footer .bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #929292;
  @media (max-width: 720px) {
    flex-direction: column;
  }
}
footer .bottom .lang {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
footer .bottom .lang .langIcon {
  display: flex;
  align-items: center;
}
footer .bottom .lang .langIcon .langName {
  margin-left: 10px;
  font-size: 16px;
}

footer .bottom .lang .text {
  margin-right: 10px;
  color: #494949;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 0.5px;
}
footer .bottom .lang .itemList.active {
  display: block;
}

footer .bottom .lang .itemList {
  position: absolute;
  bottom: 40px;
  width: fit-content;
  display: none;
  padding: 10px 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
  z-index: 9;
}

footer .bottom .lang .itemList a {
  display: block;
  width: 100%;
  height: 40px;
  white-space: nowrap;
  letter-spacing: 1px;
  box-sizing: border-box;
  padding: 0 20px;
  text-align: center;
  color: #4a4a4a;
  font-size: 14px;
  line-height: 40px;
}
footer .bottom .lang .itemList a:hover {
  background: #f0f0f0;
}
footer .copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  @media (max-width: 720px) {
    margin-top: 10px;
  }
}

.hmBtn {
  display: none;
}

/* 404 */
.fof {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  width: 100%;
  margin: 20px auto 20vh;
  padding: 0 20px;
  box-sizing: border-box;
}

.fof img {
  display: block;
  width: 100%;
  max-width: 360px;
}

.fof h2 {
  text-align: center;
  margin: 10px auto;
}
.fof a {
  color: #0966d3;
  text-decoration: underline;
}

#btn_top {
  display: none;
  position: fixed;
  background-color: #5869ea;
  bottom: 50px;
  right: 20px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
}
.icon-forward {
  color: #fff;
  font-size: 25px;
  transform: rotate(270deg);
  font-weight: 700;
  line-height: inherit;
}

@media screen and (max-width: 760px) {
  footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    font-size: 14px;
    margin-bottom: 80px;
  }
  footer .logo img {
    transform: scale(0.8);
    margin: 0;
  }
  #btn_top {
    right: 10px;
    bottom: 85px;
  }
  .hmBtn {
    display: block;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fff;
    padding: 20px 0;
  }
  .hmBtn a {
    display: block;
    width: 240px;
    height: 50px;
    line-height: 50px;
    font-size: 18px;
    margin: 0 auto;
    background: linear-gradient(106.28deg, #8560fa 0%, #44d3ef 90.81%);
    color: #fff;
    text-align: center;
    border-radius: 10px;
  }
}
