html {
  background: url("../../imgs/1x/top-half-earth-v2.png") no-repeat top center/80vw,
    url("../../imgs/1x/2021-06-11-new-bg.png");
  /* FIXME 确认下手机端效果 */
  /* background-size: contain, cover; */
  -webkit-animation: earth-jump 3s infinite;
          animation: earth-jump 3s infinite;
  /* fallback bg for macOS */
  background-color: rgba(0, 14, 33, 1);
}

@-webkit-keyframes earth-jump {
  0% {
    background-position-y: 0px, 0;
  }

  50% {
    background-position-y: -20px, 0;
  }

  100% {
    background-position-y: 0px, 0;
  }
}

@keyframes earth-jump {
  0% {
    background-position-y: 0px, 0;
  }

  50% {
    background-position-y: -20px, 0;
  }

  100% {
    background-position-y: 0px, 0;
  }
}

.padding-top-for-earth {
  padding-top: 30%;
}

body {
  margin: 0;
  position: relative;
  color: #fff;
  line-height: 2;
}

header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 9999;
  transition: background-color 0.3s;
}

img {
  max-width: 100%;
}

a {
  color: currentColor;
}

a:link {
  text-decoration: none;
}

footer .footer-social-shares {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
}

.footer-social-link {
  display: flex;
  margin-left: auto;
}

.footer-social-link > *:not(:last-child) {
  margin-right: 20px;
}

footer .wechat {
  position: relative;
}

footer .wechat-qr {
  width: 80px;
  height: 80px;
  position: absolute;
  left: calc(-80px / 2 + 12px);
  top: calc(-80px - 5px);
  background-color: #fff;
  visibility: hidden;
  opacity: 0;
  border-radius: 5px;
  border: 1px solid rgba(0, 26, 96, 1);
  box-shadow: 0 0 10px rgba(0, 26, 96, 0.8);
}

footer .wechat .wechat-qr {
  transition: 0.3s;
}

footer .wechat:hover .wechat-qr {
  opacity: 1;
  visibility: unset;
}

footer .footer-contacts {
  font-size: 14px;
  line-height: 2;
  display: flex;
  padding: 25px 0;
  border-top: 0.5px solid #979797;
  border-bottom: 0.5px solid #979797;
}

footer .footer-contacts .footer-contacts-nav {
  display: flex;
  justify-content: space-between;
  margin-left: auto;
}

footer .footer-copyright {
  font-size: 12px;
  line-height: 28px;
  display: flex;
  justify-content: space-between;
  padding: 1em 0;
}

footer .footer-logo {
  margin-bottom: 40px;
}

footer a:hover { color: lightgray; }

.nav {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.nav .logo-img,
.nav .hamburger-img {
  display: block;
  padding: 1em;
  cursor: pointer;
}

.nav .lang-and-hamburger {
  display: flex;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.nav .langs {
  margin-right: 4em;
}

.nav .lang-and-hamburger .sep {
  color: rgba(255, 255, 255, 0.5);
}

.nav a.lang {
  padding: 0.5em;
}

.nav a.lang.active,
.nav a.lang:hover {
  color: rgba(255, 255, 255, 1);
}

.my-nav {
  margin: 0 auto;
}

.my-nav > div > a {
  position: relative;
}

.my-nav > div > a::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  border-radius: 2px;
  background-color: currentColor;
  transition: width 0.3s;
}

.my-nav > div > a.active::after {
  width: 100%;
}

.my-nav > div > a:hover:after {
  width: 100%;
}

.my-nav {
  display: flex;
  font-size: 18px;
  /* FIXME 不好适配不同宽度的屏幕 */
  /* margin-left: 400px; */
}

.my-nav.active {
  transform: translateY(0px);
}

.my-nav > * {
  padding: 1rem 2rem;
  transition: 0.5s;
  opacity: 0;
  transform: translateY(-100px);
}

.my-nav.active > * {
  opacity: 1;
  transform: translateY(0px);
}

.my-nav.active > *:nth-of-type(1) {
  transition-delay: 0s;
}

.my-nav.active > *:nth-of-type(2) {
  transition-delay: 200ms;
}

.my-nav.active > *:nth-of-type(3) {
  transition-delay: 400ms;
}

.my-nav.active > *:nth-of-type(4) {
  transition-delay: 600ms;
}

.my-subnav {
  font-size: 16px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(-20px);
  transition: 0.3s;
  position: absolute;
  left: 0px;
  top: 77px;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  background-color: #fff;
  color: #000;
  border-radius: 10px;
  text-align: center;
  visibility: hidden;
}

.my-subnav a {
  display: block;
  padding: 0.5em 1em;
  /* transition: 0.1s; */
}

.my-subnav *:first-of-type a {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.my-subnav *:last-of-type a {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.my-subnav a.active,
.my-subnav a:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: rgba(0, 26, 96, 1);
}

.my-subnav-wrapper:hover .my-subnav {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.is-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.is-hidden {
  display: none;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 22px;
}

@media screen and (max-width: 780px) {
  .container {
    padding: 0 10px;
  }
}

.error {
  color: rgb(173, 50, 50);
  text-align: center;
}

/* 下划线 */
.underline {
  display: flex;
  flex-direction: column;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}

.underline .underline-title {
  font-size: 1.5rem;
  color: #fff;
  margin: 0;
}

.underline .underline-dash {
  height: 7px;
  display: flex;
}

.underline .underline-orange {
  width: 7px;
  background: #ff7817;
  height: inherit;
  transition: width 0.3s;
}

.underline .underline-white {
  background: #fff;
  height: inherit;
  flex: 1;
}

.underline:hover .underline-orange {
  width: 100%;
}

/* 向下的动画 */
svg.triple-down-arrows .cls-1,
svg.triple-down-arrows .cls-2,
svg.triple-down-arrows .cls-3 {
  fill: rgba(0, 0, 0, 0);
}

svg.triple-down-arrows .cls-1 {
  -webkit-animation: change-color 1.5s infinite;
          animation: change-color 1.5s infinite;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
}

svg.triple-down-arrows .cls-3 {
  -webkit-animation: change-color 1.5s infinite;
          animation: change-color 1.5s infinite;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s;
}

svg.triple-down-arrows .cls-2 {
  -webkit-animation: change-color 1.5s infinite;
          animation: change-color 1.5s infinite;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s;
}

@-webkit-keyframes change-color {
  0% {
    fill: rgba(255, 255, 255, 1);
  }

  100% {
    fill: rgba(255, 255, 255, 0);
  }
}

@keyframes change-color {
  0% {
    fill: rgba(255, 255, 255, 1);
  }

  100% {
    fill: rgba(255, 255, 255, 0);
  }
}

/* http://localhost:3000/fm.html */
/* 第二个 double down arrow */
svg.double-down-arrows .cls-1,
svg.double-down-arrows .cls-2 {
  fill: rgba(0, 0, 0, 0);
}

svg.double-down-arrows .cls-1 {
  -webkit-animation: change-color 1s infinite;
          animation: change-color 1s infinite;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}

svg.double-down-arrows .cls-2 {
  -webkit-animation: change-color 1s infinite;
          animation: change-color 1s infinite;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
}

@keyframes change-color {
  0% {
    fill: rgba(255, 255, 255, 0);
  }

  50% {
    fill: rgba(255, 255, 255, 0.5);
  }

  100% {
    fill: rgba(255, 255, 255, 1);
  }
}

.page-title {
  font-size: 60px;
  text-align: center;
}

.mobile-nav {
  display: none;
}

@media screen and (max-width: 768px) {
  .is-hidden-mobile {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  footer .footer-social-shares {
    display: none !important;
  }
  
  footer .footer-copyright {
    flex-direction: column;
  }

  footer .footer-logo {
    margin-bottom: 0;
  }

  footer .footer-social-shares {
    display: none;
  }

  footer .footer-contacts {
    border-top: 0;
  }

  .page-title {
    font-size: 1.6rem;
  }

  .my-nav {
    display: none;
  }

  .nav .logo-img {
    width: 120px;
    height: calc(120 / 182 * 45px);
  }

  .nav .logo-img,
  .nav .hamburger-img {
    padding: 0.75rem;
  }

  .mobile-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    overflow: hidden;
    transform: translateX(100%);
    transition: 200ms;
  }

  .mobile-nav.active {
    transform: translateX(0);
  }

  .mobile-nav-inner {
    display: block;
    font-size: 1.25rem;
  }

  .mobile-subnav {
    margin-left: 1em;
  }
}

/* https://stackoverflow.com/a/43529012/2999892 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .my-subnav {
    width: 144px;
  }

  .underline {
    display: inline-block;
  }
}

/* Microsoft EdgeV13&14 CSS styles go here */
@supports (-ms-ime-align: auto) {
  .my-subnav {
    width: 144px;
  }

  .underline {
    display: inline-block;
  }
}

.icon-gongshang {
  width: 20px;
  height: auto;
  vertical-align: middle;
}

.icon-police {
  vertical-align: middle;
}

@media only screen and (max-width: 600px) {
  footer .footer-logo {
    float: right;
    margin-top: 6px;
  }

  /* 手机端 logo 小一点点 */
  footer .footer-logo img {
    max-width: 120px;
    height: auto;
  }

  footer .footer-contacts {
    font-size: 12px;
  }

  .icon-gongshang,
  .icon-police,
  .footer-copyright > div:last-of-type {
    display: none;
  }

  footer .footer-copyright {
    text-align: center;
  }

  footer .footer-contacts {
    padding: 1em 0;
    justify-content: center;
  }

  .mobile-subnav {
    font-size: 0.85em;
  }

  .mobile-nav-inner > * {
    margin-bottom: 10px;
  }
}
