p {
    text-align: justify;
}

.wrapBrown {
    max-width: 1100px;
    background-color: rgb(30, 34, 26);
    margin: 40px auto;
    padding: 50px;
    border-radius: 16px;
}
.textBlock {
    display: flex;

}
.title {
    margin-right: 30px;
    /* display: flex;
    flex-direction: column;
    justify-content: space-between; */

}
.h1-event {
    color: var(--light);
    text-align: left;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 45px;
    font-weight: 500;
}

.h2-event {
    color: var(--light);
    text-align: left;
    justify-content: center;
    align-items: flex-end;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 59px;
    font-weight: 500;
    display: block;
}

.slider {
    overflow: hidden;
    position: relative;
    margin: 40px auto 15px;
    display: flex;
    align-items: stretch;
    max-height: 80vh;
    max-width: 1000px;
}
.slider::before {
    content: "";
    display: block;
    padding-top: 75%;
}

.slide {
    width: 100%;
    /* min-height: 300px;      */
    background-size: cover;
    background-position: center;
    float: left;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    display: none; /* изначально все слайды скрыты */
    opacity: 0; /* начальная прозрачность слайдов */
    transition: opacity 1s ease-in-out; /* плавное изменение прозрачности */
}
.slide.active {
    display: block; /* активный слайд отображается */
    opacity: 1; /* активный слайд полностью непрозрачный */
}

.next,
.prev {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 35px;
    color: black;
    background-color: rgba(255,255,255,0.5);
    border-radius: 0 3px 3px 0;
    padding: 16px;
    text-decoration: none;
}

.prev {
    left: 0;
}
.next {
    right: 0;
}

.navigation-sl {
    text-align: center;
    width: 100%;
}

.navigation-sl span {
    cursor: pointer;
    height: 15px;
    /* width: 15px; */
    margin: 0 5px;
    border-radius: 20%;
    display: inline-block;
}

/* .active,
.navigation-sl span:hover {
    background-color: red;
} */

/* @media (max-width: 992px) { } */
@media (max-width: 991px) {
    .textBlock {
        flex-direction: column;

    }
    .title {
        display: flex;
        justify-content: space-between;
    }
}
@media (max-width: 555px) {
    .title {
        flex-direction: column;
    }
    .wrapBrown {
        padding: 20px;
        margin: 30px auto;
    }
    .next,
    .prev {        
        font-size: 25px;
        padding: 8px;
    }

}
