.customer-case {
    display: grid;
    gap: 5rem;
    justify-items: center;
    position: relative;
}
.customer-case::after {
    content: '';
    position: absolute;
    background-image: url('../../images/demo/shape.svg');
    width: 391px;
    height: 370px;
    background-size: cover;
    background-repeat: no-repeat;
    display: block;
    bottom: -7rem;
    right: -8rem;
}
.customer-case h2,
.customer-case h3,
.customer-case p {
    margin: 0;
}
.customer-case__wrapper {
    background-color: var(--color-secondary);
    border-radius: 20px;
    padding: 1.778rem;
    padding-top: 9.5rem;
    position: relative;
    max-width: 1140px;
}
.customer-case__image {
    background-color: var(--color-system--4);
    border-radius: 10px;
    padding: 2rem;
    top: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 250px;
    max-height: 170px;
    width: 100%;
    height: 100%;
}
.customer-case__content {
    display: grid;
    gap: 1.889rem;
    /* padding: 0 2rem; */
}
.customer-case__text {
    color: var(--color-system--4);
    display: grid;
    gap: 1.889rem;
}
.customer-case__text h3 {
    line-height: 150%;
    font-weight: 800;
}
.customer-case__text p {
    font-size: var(--content-size--s);
    font-style: italic;
    line-height: 150%;
}
.customer-case__cards {
    display: flex;
    gap: 0.889rem;
    flex-wrap: wrap;
    justify-content: center;
}
@media all and (min-width: 600px) {

  .customer-case__wrapper {
      padding-top: 11rem;
  }
  .customer-case__image {
    max-width: 300px;
    max-height: 200px;
  }
}
@media all and (min-width: 860px) {
    .customer-case::after {
        width: 490px;
        height: 464px;
    }
    .customer-case__cards {
        flex-wrap: unset;
    }
}
@media all and (min-width: 1350px) {
    .customer-case::after {
        width: 589px;
        height: 558px;
        bottom: -18rem;
        right: -5rem;
    }
    .customer-case__wrapper {
        padding-top: 1.778rem;
    }
    .customer-case__image {
        left: -4.4rem;
        top: 50%;
        transform: translateY(-50%);
        max-width: 391px;
        max-height: 329px;
    }
    .customer-case__content {
        padding-right: 0;
        padding-left: 17rem;
    }
    .customer-case__text p {
        max-width: 670px;
    }
    .customer-case__cards {
        justify-content: flex-start;
    }
}
