@charset "UTF-8";
body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
}

body, button, input, select, textarea {
  font-size: 12px;
  font-family: "Microsoft Yahei",arial;
}

em, strong, th, i {
  font-style: normal;
  font-weight: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: normal;
}

a {
  text-decoration: none;
  cursor: pointer;
  outline: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

ol, ul, li {
  list-style: none;
}

fieldset, img {
  border: 0;
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  overflow: hidden;
}

.clearfix {
  *zoom: 1;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background-color: #01020d;
}

.float {
  transform: translate(0, 1rem);
}

.float.on {
  transform: translate(0, 0);
  transition: all 1s ease;
}

.i {
  display: block !important;
}

/* 
 移动端（最大屏幕宽度: 768px）ipad以上是pc

 设计稿 w:1080
 目标: 1rem = 100px
 10.8rem=100vw
 base font-size = 100 / 10.8 vw = 9.25925926vw
 */
@media screen and (max-width: 768px) {
  html {
    font-size: 9.25925926vw;
  }
}

/* 
 pc端（最小屏幕宽度: 768px）ipad以上是pc

 设计稿 w:1920 
 目标: 1rem = 100px
 19.2rem=100vw
 base font-size = 100 / 19.2 vw = 5.20833333vw
 */
@media screen and (min-width: 769px) {
  html {
    font-size: 5.2083333vw;
  }
  /* html body::-webkit-scrollbar {
    display: none;
  } */
  html div::-webkit-scrollbar {
    display: none;
  }
}

/* 字体 */
@font-face {
  font-family: "MicrosoftYaHeiLight";
  src: url(../font/NotoSansCJKsc-Light.otf);
}
