.slider {
    position: relative;
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    border: 2px solid #ddd;
    border-radius: 10px;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    display: flex;
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 50%;
    display: block;
}

.button {
    background: none;
    color: rgb(0, 47, 109);
    border: none;
    cursor: pointer;
    font-size: 22px;
    font-weight: 900;
}

.button_slider {
    width: 50%;
    position: absolute;
    bottom: 10px;
    -transform: translateY(-50%);
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.button.prev {
    left: 10px;
}

.button.next {
    right: 10px;
}

.slide__text_span__title {
    font-size: calc(24px + 16 * (100vw / 1200));
    width: 100%;
    font-family: 'TagesschriftCyrillic';
}

.slide__text_span {
    width: 100%;
    font-family: 'TagesschriftCyrillic';
    justify-content: center;
}

.text {
    display: flex;
    width: 50%;
    height: 100%;
    font-size: calc(24px + 16 * (100vw / 1280));
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 30px;
    font-family: 'TagesschriftCyrillic';
    color: var(--color_blue);
}

.bg_slider{
    position: absolute;
    opacity: 0.3;
    width: 100%;
}





@media (max-width: 850px) {
    .slide {
        flex-direction: column;
    }
    .text {
        width: 100%;
    }
    .slide img {
        width: 100%;
    }
    .button_slider{
        position: relative;
        width: 100%;
        height: 50px;
        bottom: 0;
    }
}