.wrapper {
    display: flex;
    flex-wrap: wrap;

    align-items: center;
    justify-content: space-between;
    text-align: center;

    height: 170px;
    width: 400px;

    margin: 0 auto;
}

.ripple-parent {
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    user-select: none;
    flex-direction: column;
}

.rounded-rectangle {
    width: 75px;
    height: 35px;
    border-radius: 8px;
}

.circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

.mid-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 15px;
    margin-right: 15px;

}

.under_slide {
    display: flex;
    align-items: center;
    text-align: right;
    font-size: smaller;
}

.book_img {
    margin-top: 0;
    display: flex;
    align-items: center;
    padding: 10px;
    position: absolute;
}

.book_item p {
    margin-top: 5px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}



/* 自动轮播样式 */
.banner-container {
    width: 1200px;
    height: 200px;
    /* 轮播图居中 */
    margin-bottom: 10px;
    /* 隐藏超出展示容器的内容 */
    overflow: hidden;
    position: relative;
}

.banner-container .banner-img-container {
    width: 6000px;
    height: 200px;
    overflow: hidden;
    position: absolute;
    /* 开启弹性盒，让图片横向排列 */
    display: flex;
    transition: transform 0.6s ease;
}

.banner-container .banner-img-container img {
    width: 400px;
    height: 200px;
}

/* 动画关键帧 */
@keyframes run {

    0%,
    10% {
        /* margin-left: 0; */
        transform: translateX(0);
    }

    20%,
    30% {
        transform: translateX(-400px);
    }

    40%,
    50% {
        transform: translateX(-800px);
    }

    60%,
    70% {
        transform: translateX(-1200px);
    }

    80%,
    90% {
        transform: translateX(-1600px);
    }

    100% {
        transform: translateX(0);
    }
}

/* 轮播图圆点样式 */
.banner-container a {
    width: 18px;
    height: 8px;
    background: #898b8e;
    position: absolute;
    bottom: 1rem;
    border-radius: 7px;
    margin: 0;
    z-index: 1;
}

.banner-container input {
    width: 18px;
    height: 8px;
    position: absolute;
    bottom: 1rem;
    margin: 0;
    cursor: pointer;
    z-index: 2;
    opacity: 0;
}

/* 设置导航圆点偏移量（居中布局）*/
#banner-control-1,
#banner-control-1+.banner-nav-a {
    left: 9%;
}

#banner-control-2,
#banner-control-2+.banner-nav-a {
    left: 12%;
}

#banner-control-3,
#banner-control-3+.banner-nav-a {
    left: 15%;
}

#banner-control-4,
#banner-control-4+.banner-nav-a {
    left: 18%;
}

#banner-control-5,
#banner-control-5+.banner-nav-a {
    left: 21%;
}

/* 设置高亮 */
/*当 input 被选中时 他的兄弟级a标签高亮展示*/
input:checked+.banner-nav-a {
    background-color: #b64d24;
}

/* 设置轮播图动画 */
#banner-control-1:checked~.banner-img-container {
    transform: translateX(0px);
}

#banner-control-2:checked~.banner-img-container {
    transform: translateX(-400px);
}

#banner-control-3:checked~.banner-img-container {
    transform: translateX(-800px);
}

#banner-control-4:checked~.banner-img-container {
    transform: translateX(-1200px);
}

#banner-control-5:checked~.banner-img-container {
    transform: translateX(-1600px);
}