/* CSS重置样式 */

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* HTML5元素显示为块 */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

/* 基础字体和颜色 */
html, body {
    height: 100%;
}

body {
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: #2c3e50;
    background: #f5f7fa;
}

/* 列表样式重置 */
ul, ol {
    list-style: none;
}

/* 链接样式重置 */
a {
    text-decoration: none;
    color: inherit;
}

/* 图片样式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 按钮样式重置 */
button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* 输入框样式重置 */
input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* 表格样式重置 */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* 清除浮动 */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* 隐藏类 */
.hidden {
    display: none !important;
}

/* 可见类 */
.visible {
    display: block !important;
}
