* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    font-family: "Proxima Nova", Sans-serif;
    overflow: hidden;
}

.container {
    max-width: 100%;
    width: 100%;
    text-align: center;
}

.slider-wrapper {
    position: relative;
}

.slider-wrapper .image-list {
    display: grid;
    gap: 20px;
    font-size: 0;
    margin: 2% 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    grid-template-columns: repeat(8, 3fr);
}


.slider-wrapper .image-list .amenity {
    width: 419px;
    height: 300px;
    text-align: center;
}

.slider-wrapper .image-list .amenity .image-item {
    width: 419px;
}

.slider-wrapper .image-list .amenity .image-item img {
    width: 419px;
    height: 255px;
}

.slider-wrapper .image-list .amenity .title-item {
    width: 100%;
    height: 45px;
    background: #a3a3e0;
    border-radius: 0 0 32px 32px;
}

.slider-wrapper .image-list .amenity .title-item h4 {
    color: #fff;
    text-align: center;
    font-family: "Gotham", Sans-serif;
    font-size: 24px;
    line-height: 60px;
}

.slider-wrapper .slide-button {
    width: 38px;
    height: 38px;
    background: #fff;
    border: none;
}

.slider-wrapper .slide-button#prev-slide {
    background: url('https://distritosatelite.mx/wp-content/uploads/2025/01/prevarrow.svg');
}

.slider-wrapper .slide-button#next-slide {
    background: url('https://distritosatelite.mx/wp-content/uploads/2025/01/nextarrow.svg');
}

@media screen and (max-width:480px) {

    body {
        min-height: auto;
    }

    .slide-button {
        display: none;
    }

    .slider-wrapper .image-list .amenity {
        width: 100vw;
        height: 72vw;
    }

    .slider-wrapper .image-list .amenity .image-item {
        width: 100vw;
        border-radius: 8px 8px 0 0;
    }

    .slider-wrapper .image-list .amenity .image-item img {
        width: 100vw;
        height: 61vw;
    }

    .slider-wrapper .image-list .amenity .title-item {
        width: 100vw;
        height: 11vw;
        border-radius: 0 0 8px 8px;
    }


    .slider-wrapper .image-list .amenity .title-item h4 {
        font-size: 18px;
        line-height: 44px;
    }

    .container .slider-scrollbar {
        height: 24px;
        width: 68%;
        display: flex;
        align-items: center;
        margin: 0 21%;
    }
    
    .slider-scrollbar .scrollbar-track {
        height: 4px;
        width: 100%;
        background: #d9d9d9;
        position: relative;
        border-radius: 4px;
    }
    
    .slider-scrollbar:hover .scrollbar-track {
        height: 5px;
    }
    
    .slider-scrollbar .scrollbar-thumb {
        position: absolute;
        height: 100%;
        width: 25%;
        background: #a3a3e0;
        border-radius: 4px;
        cursor: grab;
    }
    
    .slider-scrollbar .scrollbar-thumb:active {
        cursor: grabbing;
        height: 5px;
        top: -1px;
    }
    
    .slider-scrollbar .scrollbar-thumb::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -10px;
        bottom: -10px;
    }

}