.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel2 {
    display: flex;
    transition: transform 0.5s ease-in-out;
    cursor: grab;
}

.carousel_item {
    flex: 0 0 93%; /* Adjusted to show part of the next card */
    padding: 8px 9px;
    border-radius: 15px;
    background-color: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: white;
    user-select: none;
}

.carousel_item:not(:first-child) {
    margin-left: 10px; /* Added margin for spacing after the first card */
}

.pagination {
    text-align: center;
    margin-top: 10px;
}

.dot {
    height: 1.8px;
    width: 95px;
    margin: 0 5px;
    background-color: #e5e5e5;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background-color: #000000ab;
}

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    .carousel_item {
        flex: 0 0 77%;}
  }
