.slider {
    width: 539px;
    height: 601px;
    margin: 233px;
    margin-top: 92px;
    position: relative;

    background-repeat: no-repeat;
    background-image: url(/resources/slider/background_slider.png);
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 170px;
    padding-left: 40px;
    padding-right: 40px;
    color: #000000;
    font-size: 35px;
    line-height: 33px;
    text-align: left;
    font-weight: 400;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}


.buttons {
    position: absolute;
    top: 50%;
    width: 130%;
    display: flex;
    margin-right: 40px;
    justify-content: space-between;
    transform: translateY(-50%);

}

.button {
    background-color: #343434;
    cursor: pointer;
    border-radius: 60px;
    user-select: none;
    position: relative; /* Added to control the button's position */
}

.prev {
    left: -90px;
}

.next {
    left: -60px;
}






