/* css通用 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 10px;
}

/* 媒体查询786到1024px之间的样式 */
@media (max-width: 1024px) {
    html {
        font-size: 8px;
    }
}

body {
    height: 100vh;
    overflow: hidden;
    /* 禁止选中文字 */
    user-select: none;
    /* 设置默认字体大小 */
    font-size: 1.6rem;
}

/* 隐藏滚动条 */
html::-webkit-scrollbar {
    display: none;
}

/* 禁止子元素事件 */
.no-event-child{
    pointer-events: auto !important;
}
.no-event-child * {
    pointer-events: none;
}

/* 选中样式 */
body::selection {
    background-color: #6978ff70;
    color: #ffffff;
}

/* 去掉a标签默认样式 */
a {
    text-decoration: none;
    color: inherit;
}

/* 去掉ul标签默认样式 */
ul {
    list-style: none;
}

/* 去掉input标签默认样式 */
input {
    outline: none;
}

/* 去掉button标签默认样式 */
button {
    outline: none;
    border: none;
    background: none;
    cursor: pointer;
}


/* 设置通用class */
.col {
    display: flex;
    flex-direction: column;
}

.row {
    display: flex;
    flex-direction: row;
}