.gallery {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-item {
    position: absolute;
    width: 350px;
    height: 400px;
    left: 50%;
    top: 50%;
    transform-origin: center;
    /*transition:
        transform 0.7s cubic-bezier(.22, .61, .36, 1),
        opacity 0.7s,
        filter 0.7s;*/
    transition: transform 0.7s cubic-bezier(.22, .61, .36, 1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
    background: none;
    border: none;
    color: #F4622A;
    cursor: pointer;
    font-size: 55px;
    line-height: 1;
    padding: 0;
}

.gallery-prev {
    left: calc(50% - 500px);
}

.gallery-next {
    right: calc(50% - 500px);
}

.gallery-prev:hover,
.gallery-next:hover {
    color: #F4622A;
    transform: translateY(-50%) scale(1.15);
}

.gallery {
    cursor: grab;
    user-select: none;
}

.gallery:active {
    cursor: grabbing;
}

.gallery-item img {
    pointer-events: none;
}

.gallery {
    touch-action: pan-y;
}