

.scroll-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-content {
    display: flex;
    
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 10px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
    margin: 0 50px; 
}

.scroll-content::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.scroll-content div {
    display: flex;
}

.scroll-content span {
    margin: 0 10px;
    font-size: 20px; /* make the text bigger */
}

/* Add styles for arrow buttons */
.scroll-arrow {
    background-color: red;
    border: none;
    border-radius: 50px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.prev {
    position: absolute;
    left: 10px;
}

.next {
    position: absolute;
    right: 10px;
}

/* Hide arrow buttons and overflow in desktop mode */
@media (min-width: 1024px) {
    .scroll-content {
        overflow-x: hidden;
    }

    .scroll-arrow {
        display: block;
    }
}

/* Hide arrow buttons on mobile devices */
@media (max-width: 1100px) {
    .scroll-arrow {
        display: none;
    }
    .scroll-content {
        margin: 0; /* Remove margin on mobile to make it wider */
    }
}


