.testDiv {
    display: flex;
    /* margin: 0 auto; */
    justify-content: center;
}

.JacobWrapper {
    position: relative;
    max-width:400px;
}

@media (max-width: 768px) {
    .JacobWrapper {
        max-width:300px;
    }
}

.JacobCarousel {
    white-space: nowrap;
    font-size: 0;
    overflow: hidden;
    scroll-behavior: smooth;
}

.JacobCarousel.dragging {
    cursor: grab;
    scroll-behavior: auto;
}

.JacobCarousel img {
    object-fit: cover;
    width: 100%;
}

.JacobCarousel.dragging img {
    pointer-events: none;
}

.JacobWrapper i {
    top: 50%;
    height: 36px;
    width: 36px;
    text-align: center;
    position: absolute;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 36px;
    background: #BBBBBB;
    border-radius: 50%;
    transform: translateY(-50%);
}

.JacobWrapper i:first-child {
    left:-23px;
}

.JacobWrapper i:last-child {
    right:-23px;
}