/* 重置所有元素的盒模型为 border-box */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'DFYaSongGB5HK-W9';
    src: url('../font/ghljs-vaz0p.woff2');
    font-display: swap;
}

@font-face {
    font-family: 'NotoSansCJKscMedium';
    src: url('../font/NotoSansCJKsc-Medium.woff2');
    font-display: swap;
}


/* 设置默认字体和行高 */
html {
    /* 1rem = 10px */
    /* line-height: 1.6; */
}

[v-cloak] {
    display: none;
}

/* 设置 body 的默认样式 */
body {
    font-size: 0.18rem;

    font-family: Arial, sans-serif;
    color: #333;
    background-color: #fff;
}

/* 移除列表的默认样式 */
ul,
ol {
    list-style: none;
}

/* 移除链接的默认下划线 */
a {
    text-decoration: none;
    color: inherit;
}

/* 移除按钮和输入框的默认样式 */
button,
input,
select,
textarea {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* 移除表格的默认边框 */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* 移除图片的默认边距 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 移除表单元素的默认样式 */
fieldset {
    margin: 0;
    padding: 0;
    border: none;
}

/* 移除 legend 的默认样式 */
legend {
    padding: 0;
}

/* 移除 button 的默认样式 */
button {
    cursor: pointer;
}

/* 移除 input[type="submit"] 和 input[type="reset"] 的默认样式 */
input[type="submit"],
input[type="reset"] {
    cursor: pointer;
}

/* 移除 blockquote 和 q 的默认样式 */
blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

/* 移除 hr 的默认样式 */
hr {
    border: none;
    height: 1px;
    background-color: #ccc;
    margin: 1rem 0;
}

/* 移除标题的默认样式 */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
}

/* 移除段落的首行缩进 */
p {
    text-indent: 0;
}