body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
p,
blockquote,
th,
td {
    margin: 0;
    padding: 0;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    border: none;
}

em,
i {
    font-style: normal;
}

html {
    font: 16px / 1.4 Helvetica;
}

body {
    min-width: 1240px;
    max-width: 2500px;
    margin: 0 auto;
    
}

.scrollbar {
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 100, 100, .4) transparent;
}

.scrollbar::-webkit-scrollbar {
    width: .6rem;
}

.scrollbar::-webkit-scrollbar-thumb {
    border-radius: .6rem;
    
}


.site {
    overflow: hidden;
}




.wrapper {
    /* display: flex;
    align-items: center;
    justify-content: center; */
    /* position: relative; */
    /* height: 100vh;
    min-height: 600px;
    max-height: 800px; */
    padding-top: 50px;
    position: relative;
    width: 1090px;
    margin: 0 auto;
}


.wrapper h3 {
    position: absolute;
    left: 4rem;
    top: 4rem;
    z-index: 4;
    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: 510px;
    height: 440px;
}

.vertical .container {
    width: 510px;
    /* height: 310px; */
}

.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: 0 8px 30px #ddd;
}

.horizontal .img {
    width: 510px;
    height: 310px;
}




.vertical .cards-list {
    display: flex;
    height: 100%;
}

.vertical .img,
.vertical .main-con {
    height: 100%;
}

.vertical .img {
    width: 18rem;
}

.vertical .main-con {
    width: 19rem;
}


.img>img {

    display: block;
    width: 510px;
    height: 310px;
    object-fit: cover;
    -webkit-user-drag: none;
    -moz-user-select: none;
    user-select: none;

}

.main-con {
    /* padding: 0 1rem;
    box-sizing: border-box; */
    line-height: 98px;
    padding-top: 0;
    text-align: center;
    color: #636363;
    font-size: 1.5em;
    margin: 0;
}

.main-con .name {
    /* padding-top: 1rem;
    
    font-weight: 600;
    color: #424242; */
    font-size: 18px;
}

.main-con .content {
    padding-top: 1rem;
    height: 4.5rem;
    font-size: 0.9rem;
    color: #777;
    text-align: justify;
    line-height: 1.4rem;
}

.main-con .label {
    font-size: 0.9rem;
    color: #555;
    padding: 1rem 0;
}





.btn-direct {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 4rem;
    height: 4rem;
    transform: translateY(-50%);
    cursor: pointer;
    transition: .2s;
}


.btn-direct.btn-left {
    left: -5%;
}

.btn-direct.btn-right {
    right: -5%;
}

.btn-direct>span {
    position: absolute;
    left: calc(50% - .6rem);
    top: calc(50% - .6rem);
    width: 1.2rem;
    height: 1.2rem;
    border-top: 0.2rem solid #c9c9c9;
    border-left: 0.2rem solid #c9c9c9;
}

.horizontal .shift-left {
    transform: translateX(25%) rotate(-45deg);
}

.horizontal .shift-right {
    transform: translateX(-25%) rotate(135deg);
}

.vertical .shift-left {
    transform: translateY(25%) rotate(45deg);
}

.vertical .shift-right {
    transform: translateY(-25%) rotate(-135deg);
}



.demo7 .container {
    width: 18rem;
    height: 24rem;
    overflow: hidden;
}