.swapper{
    width: 100%;
    height: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.imgList{
    width: 100%;
    height: 100%;
    position: relative;
}

.imgList .imgItem{
    width: 100%;
    height: 100%;
    position:absolute ;
    left: 0;
    top: 0;
    opacity: 1;
    transition: all .5s;
}

.imgList .imgItem img,.imgList .imgItem video{
    width: 100%;
    height: 100%;
    object-fit: fill;
}


.swapper>.leftButton,.rightButton {
    width: 60px;
    height: 60px;
    position: absolute;
    background-size: 60px 60px;
    z-index: 11;
}
.leftButton {
    background-image: url(../image/left.png);
    top: calc(50% - 30px);
    left: 0;
    opacity: 0.5;
}
.leftButton:hover {
    opacity: 1;
    cursor: pointer;
}
.rightButton {
    background-image: url(../image/right.png);
    top: calc(50% - 30px);
    right: 0;
    opacity: 0.5;
}
.rightButton:hover {
    opacity: 1;
    cursor: pointer;
}

.leftActive {
    animation: leftActive 0.2s linear;
    z-index: 10;
}
@keyframes leftActive {
    from{
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0%);
    }
}
.leftBefore {
    animation: leftBefore 0.2s linear;
    z-index: 5;
}
@keyframes leftBefore {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(100%);
    }
}
.active {
    z-index: 10;
}

.rightActive {
    animation: rightActive 0.2s linear;
    z-index: 10;
}
@keyframes rightActive {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0%);
    }
}
.rightAfter {
    animation: rightAfter 0.2s linear;
    z-index: 5;
}
@keyframes rightAfter  {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-100%);
    }
}

.circleList {
    width: 200px;
    height: 60px;
    position: absolute;
    right: calc(50% - 100px);
    bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11;
}

.circle {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border: 2px solid gray;
    background-color: #ffffff;
    border-radius: 10px;
}
.circleActive {
    background-color: deepskyblue;
}
.advantage {
    width: 100%;
    height: 400px;
}
