@font-face {
  font-family: "iconfont"; /* Project id 3000280 */
  src: url("/replica/vendor/font_3000280_pwjygwiiom.woff2")
      format("woff2"),
    url("/replica/vendor/font_3000280_pwjygwiiom.woff")
      format("woff"),
    url("/replica/vendor/font_3000280_pwjygwiiom.ttf")
      format("truetype");
}

.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-earth:before {
  content: "\e781";
}

.icon-left:before {
  content: "\e7eb";
}

.icon-location:before {
  content: "\e790";
}

.icon-mail:before {
  content: "\e7de";
}

.icon-phone:before {
  content: "\e7e3";
}

* {
  padding: 0;
  margin: 0;
}
body {
  /*Chinese Font*/
  font-family: Microsoft YaHei UI, Microsoft YaHei, PingFang SC,
    Hiragino Sans GB, Source Han Sans CN, sans-serif;
}

/* background */
.background-vanta {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -999;
  transition: 0.4s;
}

/* back-to-top */
#back-to-top {
  display: inline-block;
  background-color: rgba(26, 27, 30, 0.5);
  width: 3rem;
  height: 3rem;
  text-align: center;
  position: fixed;
  bottom: 5rem;
  right: 5rem;
  transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
#back-to-top::after {
  content: " ";
  position: absolute;
  width: 1rem;
  height: 1rem;
  top: 1.3rem;
  margin-left: -0.5rem;
  transform: rotate(45deg);
  border-top: 1px solid white;
  border-left: 1px solid white;
}

/* mobile */
@media screen and (max-width: 768px) {
  #back-to-top {
    width: 4rem;
    height: 4rem;
    bottom: 3rem;
    right: 3rem;
  }
  #back-to-top::after {
    width: 1.5rem;
    height: 1.5rem;
    top: 1.6rem;
    margin-left: -0.75rem;
  }
}
#back-to-top:hover {
  cursor: pointer;
  background-color: #333;
}
#back-to-top:active {
  background-color: #555;
}
#back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Component: header & Main title */
header {
  width: 100vw;
  max-width: 100%;
  height: 60vh;
  display: flex;
  align-items: center;
}
.main-title {
  margin: 4vh 0 0 10%;
  color: #fff;
  display: inline-block;
}
.main-title > .main-title-deco {
  height: 2px;
  /* 思瑞斯蓝-活力蓝 */
  background: linear-gradient(101.66deg, #0f6ace -6.8%, #00b7ff 106.47%);
  margin: 5px 0px;
}
.main-title > h1 {
  font-weight: 200;
  font-size: 4rem;
  line-height: 6rem;
  letter-spacing: 0.3rem;
  margin: 0;
}
.main-title > h2 {
  color: #00b7ff;
  font-weight: 200;
  font-size: 2rem;
  line-height: 3rem;
  margin: 0;
}
/* mobile */
@media screen and (max-width: 768px) {
  header {
    height: 50vh;
  }
  .main-title {
    margin: 10vh 0 0 10%;
  }
}

/* Component: subtitle */
.subtitle {
  /* Auto Layout */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0px;
}
.subtitle > h1 {
  font-weight: 100;
  font-size: 2.4rem;
  /* identical to box height */
  letter-spacing: 0.1em;
  margin: 0.5rem 0;
}
.subtitle > h2 {
  font-weight: 200;
  font-size: 1.5rem;
  line-height: 2.25rem;
  margin: 0.5rem 0;
}
.subtitle > p {
  font-weight: 200;
  font-size: 1.1rem;
  line-height: 1.8rem;
  margin: 0.5rem 0;
  color: #bbb;
}
.subtitle-black > h1 {
  color: #000;
}
.subtitle-black > p {
  color: #333;
}
.subtitle-white > h1 {
  color: #fff;
}
.subtitle-white > p {
  color: #fff;
}
.subtitle-deco {
  height: 2px;
  /* 思瑞斯蓝-活力蓝 */
  background: linear-gradient(101.66deg, #0f6ace -6.8%, #00b7ff 106.47%);
  /* Inside Auto Layout */
  flex: none;
  align-self: stretch;
  flex-grow: 1;
  margin: 5px 0px;
}
.subtitle-left {
  padding-left: 10%;
  align-items: flex-start;
}
.subtitle-right {
  padding-right: 10%;
  align-items: flex-end;
  text-align: right;
}
.subtitle-right > p {
  text-align: right;
}

/* 提示向上箭头 */
.arrow_up {
  position: absolute;
  left: 50%;
  bottom: 5%;
  width: 10px;
  height: 10px;
  color: white;
  z-index: 200;
}
.arrow_up span {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 10px;
  transform: rotate(45deg);
  border-top: 1px solid white;
  border-left: 1px solid white;
  margin-left: -10px;
  opacity: 0;
  animation: up 2s infinite;
  animation: up 2s infinite;
}
.arrow_up span:nth-of-type(2) {
  top: 20px;
}
.arrow_up span:nth-of-type(1) {
  -webkit-animation-delay: 0.15s;
  animation-delay: 0.15s;
}
@-webkit-keyframes up {
  0% {
    opacity: 0;
    -webkit-transform: translate(0, 0) -webkit-rotate(45deg);
  }
  50% {
    opacity: 1;
    -webkit-transform: translate(0, -20px) -webkit-rotate(45deg);
  }
  100% {
    opacity: 0;
  }
}
@keyframes up {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(45deg);
  }
  50% {
    opacity: 1;
    transform: translate(0, -20px) rotate(45deg);
  }
  100% {
    opacity: 0;
  }
}

/* 自适应 */
@media screen and (min-width: 2500px) {
  :root {
    font-size: 20px;
  }
}
@media (min-width: 2300px) and (max-width: 2500px) {
  :root {
    font-size: 19px;
  }
}
@media (min-width: 2150px) and (max-width: 2300px) {
  :root {
    font-size: 18px;
  }
}
@media (min-width: 2000px) and (max-width: 2150px) {
  :root {
    font-size: 17px;
  }
}
@media (min-width: 1900px) and (max-width: 2000px) {
  :root {
    font-size: 16px;
  }
}
@media (min-width: 1800px) and (max-width: 1900px) {
  :root {
    font-size: 15px;
  }
}
@media (min-width: 1600px) and (max-width: 1800px) {
  :root {
    font-size: 14px;
  }
}
@media (min-width: 1440px) and (max-width: 1600px) {
  :root {
    font-size: 13px;
  }
}
@media (min-width: 1290px) and (max-width: 1440px) {
  :root {
    font-size: 12px;
  }
}
@media (min-width: 1024px) and (max-width: 1290px) {
  :root {
    font-size: 11px;
  }
}
/* iPad */
@media (min-width: 768px) and (max-width: 1024px) {
  :root {
    font-size: 10px;
  }
}
/* mobile */
@media screen and (max-width: 768px) {
  :root {
    font-size: 10px;
  }
}
