@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600&display=swap');

.service-slider{
    background-color: #0E278D;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wrapper{
    max-width: 1200px;
}

.wrapper i{
    height: 45px;
    width: 45px;
    top: 266%;
    position: absolute;
    cursor: pointer;
    font-size: 1.2rem;
    color: #fff;
}

.wrapper i:first-child{
    left: 20px;
    display: none;
}

.wrapper i:last-child{
    right: 0px;
}

.wrapper .service-carousel{
    font-size: 0px;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
}

.service-carousel.dragging{
    cursor: grab;
    scroll-behavior: auto;
}

.service-carousel.dragging img{
    pointer-events: none;
}

.service-carousel img{
    height: 340px;
    object-fit: cover;
    width: calc(100% / 3);
    margin-left: 20px;
}

.service-carousel img:first-child{
    margin-left: 0px;
}

@media screen and (max-width: 900px) {
    .service-carousel img{
        width: calc(100% / 2);
    }
}

@media screen and (max-width: 550px) {
    .service-carousel img{
        width: 100%;
    }
    
}

@media screen and (max-width: 440px) {
    .wrapper i {
        display: none;
    }

    .wrapper i {
        height: 45px;
        width: 45px;
        top: 230%;
        position: absolute;
        cursor: pointer;
        font-size: 1.2rem;
        color: #fff;
    }

    .wrapper i:last-child {
        right: -10px;
    }
    
}