@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;500;700&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  background: white;
  position: relative;
  overflow-x: hidden;
}

body::after {
  content: "";
  width: 75%;
  min-width: 285px;
  max-width: 610px;
  height: 10%;
  min-height: 72px;
  max-height: 150.94px;
  position: fixed;
  bottom: 0;
  left: 0;
  background: url(./images/pattern-curve.svg) no-repeat;
  background-size: cover;
  z-index: -1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: none;
  overflow: hidden;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonials {
  margin-top: 1.5rem;
  position: relative;
}

.testimonial {
  color: #202046;
}
.testimonial:not(.active) {
  display: none;
}
.testimonial__banner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  min-width: 327px;
  max-width: 697px;
  max-height: 657px;
  padding: 8.9% 0 7.3%;
  margin: 0 auto 2rem;
  background-image: url(./images/pattern-bg.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.testimonial__photo {
  width: 75%;
  min-width: 254px;
  max-width: 540px;
  min-height: 253px;
  max-height: 540px;
  border-radius: 5px;
  box-shadow: 0px 40px 50px -30px rgba(36, 36, 113, 0.495001);
}
.testimonial__quote-container {
  width: 83%;
  max-width: 635px;
  height: max-content;
  margin: 0 auto;
  padding-top: 1.5625rem;
  background: url(./images/pattern-quotes.svg) no-repeat center top;
  background-size: 19%;
  text-align: center;
}
.testimonial__quote {
  margin-bottom: 1.1875rem;
  font: 300 clamp(1.125rem, 2.3vw, 2rem)/1.5rem "Inter", Helvetica, sans-serif;
}
.testimonial__author, .testimonial__profession {
  font: 700 clamp(0.9375rem, 1.5vw, 1.25rem)/1.25rem "Inter", Helvetica, sans-serif;
}
.testimonial__profession {
  font-weight: 500;
  color: #babacf;
}

.button {
  width: 5rem;
  height: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0px 15px 20px -10px rgba(36, 36, 113, 0.0991313);
  position: absolute;
  top: calc(50% - 2.5rem / 2);
  left: calc(50% - 5rem / 2);
  z-index: 1;
}
.button__btn {
  width: 50%;
  height: 100%;
  background-color: white;
  border: none;
  position: relative;
  padding: 0;
}
.button__btn--prev, .button__btn--next {
  cursor: pointer;
}
.button__btn--prev::before, .button__btn--next::before {
  content: "";
  width: 8px;
  height: 14px;
  position: absolute;
  top: calc(50% - 7px);
  left: calc(50% - 4.5px);
  background-size: cover;
}
.button__btn--prev {
  border-radius: 50% 0 0 50%;
}
.button__btn--prev::before {
  background-image: url(./images/icon-prev.svg);
}
.button__btn--next {
  border-radius: 0 50% 50% 0;
}
.button__btn--next::before {
  background-image: url(./images/icon-next.svg);
}

.attribution {
  text-align: center;
  margin-top: 12%;
  font: 300 0.625rem/0.875rem "Inter", Helvetica, sans-serif;
}
.attribution a {
  color: #3e52a3;
}

@media only screen and (min-width: 768px) {
  body::after {
    height: 20%;
  }

  .button {
    top: calc(70% - 2.5rem / 2);
  }
}
@media only screen and (min-width: 1000px) {
  .testimonials {
    margin-top: 3.473%;
  }

  .testimonial {
    display: flex;
    flex-direction: row-reverse;
  }
  .testimonial__banner {
    padding: 63px 92px 54px 65px;
    margin-bottom: 0;
    position: relative;
    z-index: -1;
  }
  .testimonial__photo {
    width: 100%;
  }
  .testimonial__quote-container {
    padding-top: 4rem;
    position: relative;
    top: 10.25rem;
    left: 8.125rem;
    text-align: left;
    background-position-x: 18.7%;
  }
  .testimonial__quote {
    line-height: 2.75rem;
    margin-bottom: 2rem;
  }
  .testimonial__author, .testimonial__profession {
    display: inline-block;
  }
  .testimonial__author {
    margin-right: 0.625rem;
  }

  .button {
    width: 7rem;
    height: 3.5rem;
    top: calc(92% - 3.5rem / 2);
    left: 57%;
  }
  .button__btn--prev, .button__btn--next {
    transition: background-color 0.3s ease;
  }
  .button__btn--prev:hover, .button__btn--next:hover {
    background-color: #ecf0f1;
  }
  .button__btn--prev::before, .button__btn--next::before {
    width: 10px;
    height: 16px;
    position: absolute;
    top: calc(50% - 8px);
    left: calc(50% - 5px);
  }

  .attribution {
    margin-top: 8%;
  }
  .attribution a:hover {
    color: #202046;
  }
}

/*# sourceMappingURL=style.css.map */
