

.scrollbar {
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 100, 100, .4) transparent;
}

.scrollbar::-webkit-scrollbar {
    width: .6rem;
}

.scrollbar::-webkit-scrollbar-thumb {
    border-radius: .6rem;
    background-color: rgba(100, 100, 100, .4)
}


.site {
    overflow: hidden;
    /* background: #00f; */
}




.wrapper {
    display: flex;
    /* align-items: center; */
    justify-content: center;
    position: relative;
    height: 435px;
    /* min-height: 600px; */
    /* max-height: 800px; */
}


/* .wrapper h3 {
    position: absolute;
    left: 4rem;
    top: 4rem;
    z-index: 1000;
    padding: 0 1rem;
    background-color: #fff;
    font-size: 1.4rem;
    font-weight: 400;
    color: #222;
    border-radius: 1.4rem;
} */

.wrapper .container {
    position: relative;
    margin: 0 auto;
}

.horizontal .container {
    width: 600px;
    height: 300px;
}

/* .vertical .container {
    width: 37rem;
    height: 14rem;
} */

.container .cards-list {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    background-color: #f4f4f4;
    border-radius: 0.3125rem;
    transition: 330ms;
}

.demo4 .cards-list {
    transition: 440ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
 

.horizontal .cards-list {
    width: 100%;
    box-shadow:9px 4px 44px #9e9e9e
}

.container .cards-list1 {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    background-color: #f4f4f4;
    border-radius: 0.3125rem;
    transition: 330ms;
}
.horizontal1 .container {
    width: 1400px;
    height: 300px;
}
.horizontal1 .shift-left {
    transform: translateX(25%) rotate(-45deg);
}

.horizontal1 .shift-right {
    transform: translateX(-25%) rotate(135deg);
}
.horizontal1 .img {
    width: 1400px;
    height: 300px;
}





.img>img {

    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-user-drag: none;
    -moz-user-select: none;
    user-select: none;

}





.btn-direct {
    position: absolute;
    top: 50%;
    z-index: 999;
    transform: translateY(-50%);
    cursor: pointer;
    transition: .2s;

    display: block;
    width: 36px;
    height: 36px;
    margin: -18px 0 0;
    overflow: hidden;
    opacity: 0.45;
    color: rgba(0, 0, 0, 0.65);
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    background: rgba(0, 0, 0, 0);
    border-radius: 50%;
}


.btn-direct.btn-left {
    left: 1rem;
}

.btn-direct.btn-right {
    right: 1rem;
}
.btn-direct.btn-right1{right: 8rem;}
.btn-direct.btn-left1{left: 8rem;}
.btn-direct>span {
    position: absolute;
    left: calc(50% - .45rem);
    top: calc(50% - .45rem);
    width: 0.9rem;
    height: 0.9rem;
    border-top: 0.2rem solid #f0f0f0;
    border-left: 0.2rem solid #f0f0f0;
}

.horizontal .shift-left {
    transform: translateX(25%) rotate(-45deg);
}

.horizontal .shift-right {
    transform: translateX(-25%) rotate(135deg);
}

.navigation {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translate(-50%);
}

.navigation .dot {
    display: inline-block;
    margin: .5rem;
    cursor: pointer;

    width: 8px;
    height: 8px;
    background-color: #666;
    background-color: rgba(0, 0, 0, 0.5);
    line-height: 0;
    font-size: 0;
    text-indent: -9999px;
    border-radius: 20px;
    -webkit-box-shadow: inset 0 0 3px rgb(0 0 0 / 30%);
    box-shadow: inset 0 0 3px rgb(0 0 0 / 30%);

}
.navigation .dot.active {
    /* background-color: transparent; */
    background-color: #fff;
    width: 26px;
    cursor: default;
}