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 {
  -webkit-text-size-adjust: none;
  margin: 0;
  padding: 0;
}

body,
button,
input,
select,
textarea {
  font: 12px/1.5 tahoma, arial, \5b8b\4f53, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
}

address,
cite,
dfn,
em,
var {
  font-style: normal;
}

code,
kbd,
pre,
samp {
  font-family: courier new, courier, monospace;
}

a {
  text-decoration: none;
  outline: 0 none;
  color: #5b5b5b;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  cursor: pointer;
}

div {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

ul,
ol {
  list-style: none;
}

sup {
  vertical-align: text-top;
}

sub {
  vertical-align: text-bottom;
}

legend {
  color: #000;
}

small {
  font-size: 12px;
}

p,
span {
  caret-color: transparent;
}

fieldset,
img {
  border: 0;
}

button,
input,
select,
textarea {
  font-size: 100%;
  resize: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: "p-med";
  margin: 0;
  padding: 0;
}

body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

/* 隐藏body的滚动条但保留滚动功能 */
body::-webkit-scrollbar {
  display: none;
}

body {
  overflow-x: auto;
  font-size: 0.2rem;
  color: #121212;
  box-sizing: border-box;
}

* {
  user-select: none;
}

html {
  font-size: calc(100 / 1920 * 100vw);
}

main,
section,
nav,
footer {
  display: block;
  margin: 0;
  padding: 0;
}

html.medium {
  font-size: calc(100 / 1024 * 100vw);
}

@media (max-width: 750px) {
  html {
    font-size: calc(100 / 750 * 100vw);
  }
}