html,
body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-size: 28px;
    font-family: "微软雅黑";
}

a {
    text-decoration: none;
}

ul,
li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bg {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
}

.center {
    margin: 0 auto;
    position: relative;
}

.x_center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
}

.all_center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

/*滚动条统一样式*/
.scrollbar {
    overflow-x: hidden;
    overflow-y: unset !important;
    scrollbar-track-color: none;
}

/*滚动条整体部分*/
.scrollbar::-webkit-scrollbar {
    width: .08rem !important;
    background-color: transparent;
}

/* 滚动条的轨道*/
.scrollbar::-webkit-scrollbar-track {
    border-radius: .04rem;
    -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0);
    background-color: transparent;
    display: none;
}

/* 滚动条的内层轨道*/
.scrollbar::-webkit-scrollbar-track-piece {
    background-color: transparent;
    display: none;
}

/*滚动条里面的小方块，能向上向下移动（或往左往右移动，取决于是垂直滚动条还是水平滚动条）*/
.scrollbar::-webkit-scrollbar-thumb {
    border-radius: .04rem;
    background: #c7c7c7;
}