.home-second6 {
    background: center/cover no-repeat;
}

@media (min-width: 992px) {
    .home-second6 {
        display: flex;
        flex-direction: row-reverse;
    }
}

.home-second6__content-block {
    position: relative;
    z-index: 1;
    padding: 180px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

@media (min-width: 992px) {
    .home-second6__content-block {
        flex: 0 1 50%;
    }
}
.home-second6__content-block._to-animate {
    opacity: 0;
}
.home-second6__content-block::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    background-color: var(--SECONDARY_MAJOR_COLOR);
}

.home-second6__title {
    font-weight: bold;
    font-size: 30px;
    line-height: 140%;
    margin-bottom: 20px;
    color: var(--SECONDARY_MINOR_COLOR);
    font-family: var(--TITLE_FONT);
}

@media (min-width: 576px) {
    .home-second6__title {
        font-size: 56px;
    }
}

.home-second6__subtitle {
    font-size: 20px;
    line-height: 140%;
    margin-bottom: 40px;
    color: var(--SECONDARY_MINOR_COLOR);
    font-family: var(--TITLE_FONT);
}

@media (min-width: 576px) {
    .home-second6__subtitle {
        font-size: 32px;
    }
}

.home-second6__button-block {
    display: flex;
    flex-direction: column;
}

@media (min-width: 576px) {
    .home-second6__button-block {
        flex-direction: row;
    }
}

.home-second6__button {
    padding: 15px 40px;
    border-radius: 5px;
    transition: all 0.3s ease 0s;
    font-weight: bold;
    font-size: 18px;
    line-height: 23px;
    margin-bottom: 20px;
    text-decoration: var(--TEXT_DECORATION);
    border: 3px solid var(--PRIMARY_MAJOR_COLOR);
    color: var(--PRIMARY_MAJOR_COLOR);
}

@media (min-width: 576px) {
    .home-second6__button {
        margin-bottom: 0px;
        margin-right: 40px;
    }
}

.home-second6__button:last-child {
    margin: 0;
}

.home-second6__button:hover {
    background-color: var(--PRIMARY_MAJOR_COLOR);
    color: var(--PRIMARY_MINOR_COLOR);
}
