@charset "utf-8";
html, body { font-family:"微软雅黑"}
.slider-wrapper {
    position: relative;
    width: 480px; /* 轮播图宽度 */
    margin: auto;
    overflow: hidden;
    height: 340px;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    flex: 0 0 100%;
    min-width: 100%;
    text-align: center;
}

.slide img {
    width: 480px;
    display: block;
    height: 310px;
}
.slide span {
    width: 480px;
    display: block;
    height: 30px;
    background-color: black;
    color: white; /* 可选：如果你还想设置文字颜色为白色 */
    padding: 5px; /* 可选：为了更清楚地看到背景，我们可以添加一些内边距 */
    text-align: left;
    line-height: 25px;


}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}
/* ... 其他CSS ... */

.dots {
    text-align: center;
    margin-top: -60px;

}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active-dot {
    background-color: #717171;
}