.client {
  padding: 0 4rem;
  margin-bottom: 20rem;
}

.client__body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(40rem, 1fr));
  place-items: center;
  gap: 2rem;
}

.client__cart {
  /* max-width: 44rem; */
  width: 100%;
  height: 22.5rem;
  background-color: var(--color-bg);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.client__cart:hover {
  border: 0.4px solid #76c04e;
  border-image: linear-gradient(
      to right,
      rgba(118, 192, 78, 0) 0%,
      #76c04e 48.46%,
      rgba(118, 192, 78, 0) 100%
    )
    1;
  border-image-slice: 1;
  border-image-repeat: stretch;
  border-image-outset: 0;
}

.client__cart-image {
  height: 12rem;
}

.client__cart-image img {
  object-fit: contain;
}

.client__cart a {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  transform: rotate(45deg);
  color: var(--color-white);
  font-size: 2rem;
}

@media screen and (max-width: 1200px) {
  .client__cart {
    height: 18rem;
  }

}


@media screen and (max-width: 912px) {
  .client__cart {
    height: 12rem;
  }
  .client__cart-image {
    width: 150px;
  }
  .client__cart a {
    bottom: 1rem;
    right: 2rem;
  }

  .client__body {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .client {
    padding: 0 1rem;
    margin-bottom: 9rem;
  }

}

@media screen and (max-width: 480px) {
  .client__body {
    grid-template-columns: 1fr 1fr;
  }

  .client__cart-image {
    width: 85px;
  }
  .client__cart a {
    bottom: 1rem;
    right: 1rem;
    font-size: 1.7rem;
  }
}
