.text-with-border {
    background: #ffc91a;
    padding: 48px;
}

.text-with-border__text {
    padding: 36px;
    background: #fefbe7;
    font-size: 33px;
}

@media screen and (max-width: 1023.98px) {
    .text-with-border__text {
        font-size: 28px;
    }

}


@media screen and (max-width: 599.98px) {
    .text-with-border__text {
        font-size: 24px;
    }

    .text-with-border {
        padding: 48px 16px;
    }


    .text-with-border__text {
       padding: 10px 15.5px;
    }


}