@import url('https://fonts.googleapis.com/css2?family=Kanit&family=Titan+One&display=swap');
.wrapper{
    max-width: 1200px;
    position: relative;
}
.wrapper i{
    top: 50%;
    background: rgb(33, 37, 41 ,0.5);
    color: #fff;
    height: 46px;
    width: 46px;
    cursor: pointer;
    position: absolute;
    text-align: center;
    line-height: 46px;
    border-radius: 50%;
    font-size: 1rem;
    transform: translateY(-50%);
}
.wrapper i:first-child{
    left: -23px;
}
.wrapper i:last-child{
    right: -23px;
}
.wrapper .boxslide{
    font-size: 0px;
    overflow: hidden;
    cursor: pointer;
    white-space: nowrap;
    scroll-behavior: smooth;
}
.boxslide.dragging{
    scroll-behavior: auto;
    cursor: grab;
}
.boxslide.dragging img{
    pointer-events: none;
}
.boxslide img{
    height: 340px;
    width: 100%;
    object-fit: cover;
    margin-left: 10px;
    width: calc(100% / 3);
}
.boxslide img:first-child{
    margin-left: 0px;
}
@media screen and (max-width: 900px) {
    .boxslide img{
        width: calc(100% / 2);
    }
}
@media screen and (max-width: 550px) {
    .boxslide img{
        width: 100%;
    }
}