* {
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
}

.swiperImgs {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    transition: all 4s ease-in-out;
}

.pic {
    width: 480px;
    height: 480px;
    flex-shrink: 0;
    position: relative;


}

.imgIcon {
    width: 40px;
    position: absolute;
    left: 50%;
    margin-left: -20px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: aliceblue;
    display: none;
    transition: all 3s ease;
    z-index: 30000;

}

.img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img:hover {
    filter: brightness(50%);
    cursor: pointer;
}


/* 点开后的大图展示是swiper轮播图------------------------------------------------------------------------------------ */

/* .mySwipers {
    width: 100% !important;
    height: 100% !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    background-color: rgba(0, 0, 0, 0.9) !important;
    display: none;
} */


.swiper-wrapper {
    width: 100%;
    height: 88%;
    margin: auto;
    /* background-color: antiquewhite; */
}

.swiper-wrapper .swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: aqua; */
}

.swiper-slide img {
    width: 50%;
    /* height: 80%; */
    /* object-fit: cover; */
}

.swiper-pagination-clickable {
    display: flex;
    justify-content: center;
}

/* 根据swiper官网的代码格式，选中下面的小圆点，改成正方形 */
.swiper-pagination-bullet {
    width: 80px;
    height: 80px;
    border-radius: 0;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    color: rgba(0, 0, 0, 0);
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
}

.swiper-pagination-bullet-active {
    /* background-color: #000; */
    background-color: rgba(0, 0, 0, 0.5);
    /* 图片亮度 */
    filter: brightness(50%);
}


/* 根据swiper官网的代码格式，选中下面的小圆点，添加背景图 */
.swiper-pagination-bullet:first-child {
    background-image: url(./family-images/Family001.jpeg);
    background-size: cover;
}

.swiper-pagination-bullet:nth-child(2) {
    background-image: url(./family-images/Family002.jpeg);
    background-size: cover;
}

.swiper-pagination-bullet:nth-child(3) {
    background-image: url(./family-images/Family003.jpeg);
    background-size: cover;
}

.swiper-pagination-bullet:nth-child(4) {
    background-image: url(./family-images/Family004.jpeg);
    background-size: cover;
}

.swiper-pagination-bullet:nth-child(5) {
    background-image: url(./family-images/Family005.jpeg);
    background-size: cover;
}

.swiper-pagination-bullet:nth-child(6) {
    background-image: url(./family-images/Family006.jpeg);
    background-size: cover;
}
.swiper-button-next{
    margin-right: 70px;
}
.swiper-button-prev{
    margin-left: 70px;
}

.close {
    position: fixed;
    right: 80px;
    top: 140px;
    z-index: 100000;
    /* background-color: aqua; */
}

.close img {
    width: 60px;
}