.carousel-container {
    width: 660px;
    overflow: hidden;
    margin: auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Плавная анимация */
}

.carousel-item {
    width: 150px;
    min-width: 150px;
    height: 160px;
    /*background-color: lightblue;*/
    margin-right: 10px; /* Между блоками */
    /*display: flex;*/
    justify-content: center;
    align-items: center;
}

.carousel-item:last-child {
    margin-right: 0;
}

.carousel-button {
    position: relative;
    top: -105px;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 5px;
    cursor: pointer;
    line-height: 0;
}

.carousel-button.prev {
    left: -330px;
}

.carousel-button.next {
    right: -330px;
}