/*
  macros/testimonial.css
  Styles for the testimonial macro.
*/

.testimonial {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 75%;
  margin: 50px auto 0;
  padding: 40px 0 30px;
  border-bottom: 2px solid var(--gold);
  background-color: inherit;
  position: relative;

  @media screen and (max-width: 600px) {
    flex-direction: column;
  }

  & h4 {
    color: black;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-align: left;

    @media screen and (max-width: 600px) {
      font-size: 0.85rem;
    }
  }

  & p {
    margin-top: 1rem;
    margin-bottom: 0;
    color: black;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;

    @media screen and (max-width: 600px) {
      font-size: 0.9rem;
    }
  }
}

.testimonial__top-border {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;

  & .shape-border {
    width: 33%;
    height: 2px;
    background-color: var(--gold);

    @media screen and (max-width: 600px) {
      width: 10%;
    }
  }

  & .testimonial__label {
    margin: 0;
    color: #000;
    font-family: var(--poppins);
    font-size: 13px;
    font-weight: normal;
    letter-spacing: 1.5px;
    text-transform: uppercase;
  }
}

.testimonial__img {
  @media screen and (min-width: 1024px) {
    flex: 1 0 25%;
  }
}

.testimonial__copy {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  padding: 0;

  @media screen and (min-width: 1024px) {
    flex: 1 1 75%;
  }
}
