.bg-main-designers {
  overflow-x: hidden;
}

.bg-main-designers .container {
  padding-top: 8rem;
  position: relative;
}

.bg-main-designers .container::after {
  content: "";
  display: block;
  width: 102.3rem;
  height: 113.6rem;
  background: url("../../img/linhas-quemsomos-comp.svg");
  position: absolute;
  top: 3.5rem;
  right: -82rem;
}

.bg-main-designers h1 {
  text-align: center;
  margin-bottom: 6rem;
}

.bg-main-designers .tex {
  max-width: 89.6rem;
  text-align: center;
  margin: 0 auto 8rem auto;
}

.bg-main-designers .designers {
  padding-bottom: 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 5rem 3.2rem;
  position: relative;
  z-index: 20;
}

.bg-main-designers .designers .img {
  overflow: hidden;
}

.bg-main-designers .designers a:hover img {
  scale: 1.1;
}

.bg-main-designers .designers img {
  width: 100%;
  height: 34rem;
  object-fit: cover;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: gray;
  transition: all 0.3s ease-in-out;
}

.bg-main-designers .designers h3 {
  text-align: center;
  margin-top: 0.5rem;
}

@media (max-width: 1400px) {
  .bg-main-designers .container::after {
    top: -42.5rem;
    right: -73rem;
  }
}

@media (max-width: 991px) {
  .bg-main-designers .container::after {
    width: 38.3rem;
    height: 43.6rem;
    top: -10rem;
    right: -24rem;
    background-size: cover;
  }

  .bg-main-designers .designers {
    grid-template-columns: 1fr 1fr;
  }

  .bg-main-designers .designers img {
    height: 53vw;
  }
}

@media (max-width: 600px) {
  .bg-main-designers .container {
    padding-top: 8rem;
  }

  .bg-main-designers .container::after {
    width: 27.3rem;
    height: 26.6rem;
    top: -10rem;
    right: -17rem;
  }

  .bg-main-designers h1 {
    margin-bottom: 4rem;
  }

  .bg-main-designers .tex {
    margin: 0 auto 4rem auto;
  }

  .bg-main-designers .designers {
    padding-bottom: 4rem;
    gap: 2rem;
  }
}

@media (max-width: 300px) {
  .bg-main-designers .designers {
    grid-template-columns: 1fr;
  }

  .bg-main-designers .designers img {
    height: 108vw;
  }
}
