var swiper = new Swiper(".swiper-slider", {
    centeredSlides: false,
    slidesPerView: 1,
    spaceBetween: 24,
    grabCursor: true,
    freeMode: false,
    loop: true,
    mousewheel: false,
    pagination: {
        el: '.swiper-pagination',
        clickable: true
    },
    autoplay: true,
    disableOnInteraction: false,
    keyboard: {
        enabled: true
    },
    navigation: {
        nextEl: ".swiper-button-next",
        prevEl: ".swiper-button-prev"
    },
    breakpoints: {
        500: {
            slidesPerView: 1
        },
        768: {
            slidesPerView: 2
        }
    }
});