section.depoimentos {
  background-size: cover;
  background-color: var(--color-2);
  object-fit: cover;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  --z-index-elements: 2;
  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-2);
    opacity: 0.8;
    z-index: 1;
  }
  & > div {
    width: 100%;
    position: relative;
    z-index: var(--z-index-elements);
    display: inherit;
    width: max-content;
    flex-direction: column;
    padding-block: 40px;
    & > h1 {
      color: white;
      display: flex;
      flex-direction: row;
      font-size: var(--title-size);
      font-weight: var(--title-weight);
      align-items: center;
      --size-trace: 100px;
      --height-trace: 2px;
      --margin-trace: 20px;
      &::after {
        content: "";
        width: var(--size-trace);
        height: var(--height-trace);
        background-color: var(--color-white);
        margin-left: var(--margin-trace);
      }
      &::before {
        content: "";
        width: var(--size-trace);
        height: var(--height-trace);
        background-color: var(--color-white);
        margin-right: var(--margin-trace);
      }
    }
  }
}

.container_cards_depoimentos {
  z-index: var(--z-index-elements);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-evenly;
  width: 90%;
  max-width: 1400px;
  list-style: none;
  font-family: var(--font-text);
  font-size: 15px;
  margin-bottom: 60px;
}

.card_depoimento {
  background-color: white;
  padding: 25px;
  border-radius: 15px;
  width: 32%;
  height: max-content;
  text-align: justify;
  object-fit: cover;
  & > div:not(.text) {
    display: flex;
    margin-top: 30px;
    column-gap: 20px;
    align-items: center;
    & > img {
      --size-img: 50px;
      width: var(--size-img);
      height: var(--size-img);
      border-radius: 50%;
      object-fit: cover;
    }
    & > p {
      display: flex;
      flex-direction: column;
      text-align: start;
      row-gap: 5px;
      font-size: 15px;
      & > span {
        font-size: 12px;
      }
    }
  }
  & > .text {
    font-size: var(--text-size);
  }
}

@media screen and (width < 750px) {
  .container_cards_depoimentos {
    width: 90%;
    column-gap: 13px;
  }
  .card_depoimento{
    width: 100%;
  }
  section.depoimentos {
    & > div {
      & > h1 {
        display: flex;
        flex-direction: column;
        font-size: 28px;
        &::after {
          margin-inline: 0;
          margin-top: 10px;
        }
        &::before {
          display: none;
        }
      }
    }
  }
}
