#text-block {
    padding-top: 100px;
    padding-bottom: 100px;
    margin-top: 80px;
    margin-bottom: 80px;   
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.text-block__text {
    max-width: 660px;
    margin: 35px auto 0;
    position: relative;
    padding: 35px;
}
.text-block__text::before {
    content: '';
    background: url("./images/decorate2.svg") no-repeat center;
        background-size: auto;
    background-size: 100% 100%;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    transform: var(--scaleX);
}
.text-block__text p {
    margin-top: 20px;
    color: var(--card);
    position: relative;
    z-index: 1;
}
#text-block h2.block__title {
    max-width: 500px;
    text-align: center;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .text-block__text {
        background-color: var(--primary);
        border-radius: 30px;
        overflow: hidden;
        padding: 20px;
    }
    .text-block__text p {
        margin-top: 10px;
    }
    .text-block__text p:first-child {
        margin-top: 0;
    }
    #text-block {
        margin-top: 60px;
        margin-bottom: 60px;
    }
    .text-block__text::before {
        display: none;
    }
}
@media (max-width: 498px) {
  #text-block {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}