.wrapper {
    display: flex;
    align-items: center; width: 100%;
    justify-content: center; height:380px;
    position: relative;
	margin:  0 ; overflow: hidden;
}


.wrapper .container {
    position: relative;
    margin: 0 auto;
}

.horizontal .container {
    width: 240px; 
    height: auto;
}

.container .cards-list {
    position: absolute;
    left: 0;
    top: -190px;
    overflow: hidden;
    background-color: #fff;
    border-radius: 0.3125rem;
    transition: 330ms;
}


.horizontal .cards-list {
    width: 100%;
}

.img>img {  cursor: pointer;
    display: block;
    width: 100%;border: 1px solid rgba(0,0,0,0.2);
    box-shadow: 0 0 15px rgba(0,0,0,0.8);
    object-fit: cover;
    -webkit-user-drag: none;
    -moz-user-select: none;
    user-select: none;
}

.main-con { text-align: center;
    padding: 0 10px;
    box-sizing: border-box;
}

.main-con .name {
    padding-top: 1rem;
    font-size: 16px;
    font-weight: 400;
    color: #333;
}

@media screen and (max-width:1279px){
.wrapper {
    display: flex; padding:80px 20px 0 20px;
    align-items: center; width: 100%; height: 340px;
    justify-content: center; 
    position: relative;
	margin:  0 ; overflow: hidden;
}
.horizontal .container {
    width: 60%; 
    height: auto;
}
.main-con .name {
    padding-top: 1rem;
    font-size: 14px;
    font-weight: 400;
    color: #333;
}
}