@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@500;600&display=swap");
body {
  font-size: 0.8125rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
}

ul[role=list],
ol[role=list] {
  list-style: none;
}

body {
  min-height: 100vh;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

textarea:not([rows]) {
  min-height: 10em;
}

:target {
  scroll-margin-block: 5ex;
}

.attribution {
  font-size: 0.6875rem;
  text-align: center;
}

.attribution a {
  color: hsl(228, 45%, 44%);
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
  background-color: hsl(210, 46%, 95%);
  color: hsl(219, 29%, 14%);
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.testimonials {
  display: grid;
  margin: 2em;
  gap: 2em;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 2em;
  border-radius: 0.5rem;
  box-shadow: 0 1rem 1rem hsl(0, 0%, 81%);
}

.card__profile {
  display: flex;
}
.card__profile div {
  margin-left: 1em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card__testimonial {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.card__profile-name,
.card__profile-description {
  margin: 0;
  font-size: 0.65rem;
}

.card__testimonial-title {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.card__profile-picture {
  height: 2rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.card__profile-name {
  letter-spacing: 0.03125em;
}

.card__testimonial-title {
  padding-right: 0.8em;
}

#card-1 {
  background-color: hsl(263, 55%, 52%);
  color: hsl(0, 0%, 100%);
  background-image: url(../images/bg-pattern-quotation.svg);
  background-repeat: no-repeat;
  background-position: calc(100% - 2em) top;
}
#card-1 .card__profile-description {
  color: rgba(255, 255, 255, 0.5);
}
#card-1 .card__testimonial-paragraph {
  color: rgba(255, 255, 255, 0.7);
}

#card-2 {
  background-color: hsl(217, 19%, 35%);
  color: hsl(0, 0%, 100%);
}
#card-2 .card__profile-description {
  color: rgba(255, 255, 255, 0.5);
}
#card-2 .card__testimonial-paragraph {
  color: rgba(255, 255, 255, 0.7);
}

#card-3 {
  background-color: hsl(0, 0%, 100%);
  color: hsl(219, 29%, 14%);
}
#card-3 .card__profile-description {
  color: rgba(25, 33, 46, 0.5);
}
#card-3 .card__testimonial-paragraph {
  color: rgba(25, 33, 46, 0.7);
}

#card-4 {
  background-color: hsl(219, 29%, 14%);
  color: hsl(0, 0%, 100%);
}
#card-4 .card__profile-description {
  color: rgba(255, 255, 255, 0.5);
}
#card-4 .card__testimonial-paragraph {
  color: rgba(255, 255, 255, 0.7);
}
#card-4 .card__profile-picture {
  border: 2px solid hsl(263, 55%, 52%);
}

#card-5 {
  background-color: hsl(0, 0%, 100%);
  color: hsl(219, 29%, 14%);
}
#card-5 .card__profile-description {
  color: rgba(25, 33, 46, 0.5);
}
#card-5 .card__testimonial-paragraph {
  color: rgba(25, 33, 46, 0.7);
}

@media (min-width: 37.5rem) {
  .testimonials {
    grid-template-columns: repeat(2, 16rem);
  }
  #card-1 {
    grid-area: 1/1/2/3;
    background-position: 78% top;
  }
  #card-2 {
    grid-area: 2/1/3/2;
  }
  #card-3 {
    grid-area: 2/2/3/3;
  }
  #card-4 {
    grid-area: 3/1/4/3;
  }
  #card-5 {
    grid-area: 4/1/5/3;
  }
}
@media (min-width: 75rem) {
  .testimonials {
    grid-template-columns: repeat(4, 16rem);
  }
  #card-1 {
    grid-area: 1/1/2/3;
  }
  #card-2 {
    grid-area: 1/3/2/4;
  }
  #card-3 {
    grid-area: 2/1/3/2;
  }
  #card-4 {
    grid-area: 2/2/3/4;
  }
  #card-5 {
    grid-area: 1/4/3/5;
  }
}/*# sourceMappingURL=index.css.map */