
.stories {
    padding: 0;
    position: relative;
    z-index: 9999;
}

.stories__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.stories__title {
    color: #333;
    font-size: 30px;
    font-weight: 700;
    line-height: 28px;
    text-align: center;
    margin-bottom: 55px;
}

.stories__text {
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
    max-width: 820px;
    text-align: center;
    padding: 27px 35px;
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    color: #777;
    border-radius: 12px;
    border: 2px dashed #777;
}

.stories__content {
    width: 100%;
    display: flex;
    justify-content: center;
}

@media screen and (min-width: 1279px) {
    /*.stories__content {
        margin-bottom: 100px;
    }*/
}

@media screen and (min-width: 967px) and (max-width: 1279px) {

}

@media screen and (max-width: 1279px) {
    .stories {
        padding: 0;
    }

    .stories__text {
        max-width: 592px;
        padding: 17px 25px;
        font-size: 14px;
        line-height: 20px;
    }

    .stories__title {
        font-size: 22px;
        line-height: 24px;
    }

    /*.stories__content {
        margin-bottom: 45px;
    }*/
}


.stories {
    padding: 45px 0;
}

@media screen and (max-width: 967px) {

    .stories__content {
        position: relative;
    }

    .stories__text {
        max-width: 100%;
        padding: 17px 25px;
        font-size: 14px;
        line-height: 20px;
    }

    .stories__title {
        font-size: 20px;
        line-height: 20px;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 655px) {
    .stories__text {
        font-size: 12px;
    }

    .stories__title {
        font-size: 18px;
        line-height: 18px;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 519px) {
    .stories__container {
        padding: 0;
    }

    .stories__title {
        margin-left: 16px;
    }

    .stories__text {
        margin: 0 16px;
    }
}