/* ============================================
棰勫畾涔夋牱寮�
=========================================== */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
}

/* html {
  font-size: 0.3rem;
} */

body {
  line-height: 1.5;
}

ol,
ul {
  list-style: none;
}

main {
  display: block;
}

a {
  background-color: transparent;
  text-decoration: none;
  color: #222;
}

img {
  border-style: none;
}

/* html,
body {
  width: 100%;
  overflow-x: hidden;
} */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

button,
input {
  /* 1 */
  overflow: visible;
}

.clearfix::before,
.clearfix::after {
  content: " ";
  display: block;
  height: 0;
  visibility: hidden;
  clear: both;
}

body {
  overflow-x: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
}

html,
body {
  height: 100%;
}

.container {
  width: 16rem;
  margin: 0 auto;
}

/* ==================================
棰滆壊鏍峰紡
===================================== */

.basecolor {
  color: #f8c006;
}

.fc1 {
  color: #626868;
}

.fc2 {
  color: #ffffff;
}

.fc3 {
  color: #999;
}

.c18 {
  color: #181818;
}

.cba {
  color: #bababb;
}

.bg1 {
  background-color: #fcfcfc;
}

.bc3 {
  background-color: #eeeeee;
}

.bg4 {
  background-color: #312d39;
}

.bg5 {
  background: #8c8c8c;
}

.bg6 {
  background: #737373;
}

.bg7 {
  background-color: #fff;
}

/* ======================================
棰勫畾涔夊瓧鍙�
==========================================*/
.f140 {
  font-size: 1.4rem;
}

.f120 {
  font-size: 1.2rem;
}

.f100 {
  font-size: 1rem;
}

.f64 {
  font-size: 0.64rem;
}

.f60 {
  font-size: 0.6rem;
}

.f52 {
  font-size: 0.52rem;
}

.f50 {
  font-size: 0.5rem;
}

.f48 {
  font-size: 0.48rem;
}

.f46 {
  font-size: 0.46rem;
}

.f42 {
  font-size: 0.42rem;
}

.f40 {
  font-size: 0.4rem;
}

.f36 {
  font-size: 0.36rem;
}

.f32 {
  font-size: 0.32rem;
}

.f30 {
  font-size: 0.3rem;
}

.f29 {
  font-size: 0.29rem;
}

.f26 {
  font-size: 0.26rem;
}

.f28 {
  font-size: 0.28rem;
}

.f24 {
  font-size: 0.24rem;
}

.f22 {
  font-size: 0.22rem;
}

.f21 {
  font-size: 0.21rem;
}

.f20 {
  font-size: 0.2rem;
}

.f18 {
  font-size: 0.18rem;
}

.f16 {
  font-size: 0.16rem;
}

.f14 {
  font-size: 0.14rem;
}

.f12 {
  font-size: 0.12rem;
}

.f70 {
  font-size: 0.7rem;
}

.f80 {
  font-size: 0.8rem;
}

::-webkit-scrollbar {
  width: 6px;
  height: 100%;
  /* background-color: hsl(230deg, 7%, 61%); */
  background-color: #fff;
}
::-webkit-scrollbar-thumb {
  border: 1px solid rgba(255, 255, 255);
  background-color: #000;
  border-radius: 15px;
  box-sizing: border-box;
}

/* 全局 rem 基准（1920px 下 1rem = 100px） */
html {
  font-size: calc(100vw / 19.2);
}

/* 大屏字体类（rem） */
.f12 {
  font-size: 0.12rem;
}
.f13 {
  font-size: 0.13rem;
}
.f14 {
  font-size: 0.14rem;
}
.f15 {
  font-size: 0.15rem;
}
.f16 {
  font-size: 0.16rem;
}
.f17 {
  font-size: 0.17rem;
}
.f18 {
  font-size: 0.18rem;
}
.f19 {
  font-size: 0.19rem;
}
.f20 {
  font-size: 0.2rem;
}
.f21 {
  font-size: 0.21rem;
}
.f22 {
  font-size: 0.22rem;
}
.f23 {
  font-size: 0.23rem;
}
.f24 {
  font-size: 0.24rem;
}

/* 小屏（≤768px）固定 px 大小 */
@media screen and (max-width: 1024) {
  .f12 {
    font-size: 12px !important;
  }
  .f13 {
    font-size: 13px !important;
  }
  .f14 {
    font-size: 14px !important;
  }
  .f15 {
    font-size: 15px !important;
  }
  .f16 {
    font-size: 16PX !important;
  }
  .f17 {
    font-size: 17px !important;
  }
  .f18 {
    font-size: 18px !important;
  }
  .f19 {
    font-size: 19px !important;
  }
  .f20 {
    font-size: 20px !important;
  }
  .f21 {
    font-size: 21px !important;
  }
  .f22 {
    font-size: 22px !important;
  }
  .f23 {
    font-size: 23px !important;
  }
  .f24 {
    font-size: 24px !important;
  }

  h4 {
    font-size: 18px !important;
  }
  h5,h6 {
    font-size: 16px !important;
  }
  span,p {
    font-size: 14px !important;
  }
}

html {
  /* 1920px 视口下，1rem = 100px */
  font-size: calc(100vw / 19.2);
}
body {
  /* 重置 body 字体大小，避免继承过大的 font-size */
  font-size: 0.16rem;
}

/* 平板竖屏及以下，强制调整根字体大小上限 */
@media screen and (max-width: 1024px) {
  .container {
    width: 95%;
    margin: 0 auto;
  }
  html {
    font-size: 60px !important;
  }
}

/* 字体 */
@font-face {
  font-family: 'SH';
  src: url('../css/font/SourceHanSansCN-Medium.otf') format('truetype');
}


body {
  font-family: 'SH';
}
