@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("../Fonts/BarlowSemiCondensed-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("../Fonts/BarlowSemiCondensed-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("../Fonts/BarlowSemiCondensed-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("../Fonts/BarlowSemiCondensed-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("../Fonts/BarlowSemiCondensed-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("../Fonts/BarlowSemiCondensed-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("../Fonts/BarlowSemiCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("../Fonts/BarlowSemiCondensed-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("../Fonts/BarlowSemiCondensed-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
/*********standard resets**********/
* {
  margin: 0;
  padding: 0;
}

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

img, svg, canvas, video {
  display: block;
}

/***********************************/
body {
  min-height: 100vh;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 400;
  font-style: normal;
  display: grid;
  place-items: center;
  background-color: rgb(245, 245, 245);
}

main {
  width: 80%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 1.7rem;
  place-content: center;
}

article {
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  padding-top: 2rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.testimonial__avatar {
  border-radius: 50%;
  width: 2rem;
  min-width: 1.8rem;
}

.testimonial__profile {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  font-size: 0.813rem;
}

.testimonial__name {
  font-weight: 500;
}

.testimonial__header {
  font-weight: 500;
  font-size: 1.2rem;
}

.testimonial__info {
  line-height: 1.5;
  font-weight: 500;
  font-size: 0.85rem;
}

article:nth-child(1) {
  grid-column: 1/3;
  color: hsl(260, 100%, 95%);
  background-color: hsl(263, 55%, 52%);
  padding-bottom: 1.3rem;
  background-image: url(/images/bg-pattern-quotation.svg);
  background-repeat: no-repeat;
  background-position: 86.6% 0%;
  background-size: 6.063rem;
}
article:nth-child(1) .testimonial__profile {
  margin-bottom: 0.5rem;
}
article:nth-child(1) .testimonial__avatar {
  border: 3px solid hsl(264, 82%, 80%);
}
article:nth-child(1) .testimonial__header {
  margin-bottom: 0.5rem;
}

article:nth-child(2) {
  color: hsl(0, 0%, 100%);
  background: hsl(217, 19%, 35%);
  padding-bottom: 0.5rem;
}
article:nth-child(2) .testimonial__profile, article:nth-child(2) .testimonial__header {
  margin-bottom: 1.3rem;
}

article:nth-child(3) {
  color: hsl(224, 10%, 45%);
  background: hsl(0, 0%, 100%);
}
article:nth-child(3) .testimonial__profile, article:nth-child(3) .testimonial__header {
  margin-bottom: 1.5rem;
}

article:nth-child(4) {
  grid-column: 2/4;
  color: hsl(0, 0%, 81%);
  background: hsl(219, 29%, 14%);
  padding-bottom: 1.5rem;
}
article:nth-child(4) img {
  border: 3px solid hsl(263, 55%, 52%);
}
article:nth-child(4) .testimonial__profile, article:nth-child(4) .testimonial__header {
  margin-bottom: 1rem;
}

article:nth-child(5) {
  grid-column: 4/5;
  grid-row: 1/3;
  color: hsl(224, 10%, 45%);
  background: hsl(0, 0%, 100%);
}
article:nth-child(5) .testimonial__profile, article:nth-child(5) .testimonial__header {
  margin-bottom: 1.5rem;
}

@media screen and (max-width: 75rem) {
  main {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    margin: 4rem 0;
  }
  article:nth-child(1) {
    grid-column: 1/3;
    grid-row: 1/2;
  }
  article:nth-child(1) .testimonial__profile, article:nth-child(1) .testimonial__header {
    margin-bottom: 1.5rem;
  }
  article:nth-child(2) {
    grid-column: 1/2;
    grid-row: 2/3;
    padding-bottom: 1rem;
  }
  article:nth-child(3) {
    grid-column: 2/3;
    grid-row: 2/3;
  }
  article:nth-child(4) {
    grid-column: 1/3;
    grid-row: 3/4;
  }
  article:nth-child(4) .testimonial__profile, article:nth-child(4) .testimonial__header {
    margin-bottom: 1.5rem;
  }
  article:nth-child(5) {
    grid-column: 1/3;
    grid-row: 4/5;
    padding-bottom: 1rem;
  }
}
@media screen and (max-width: 37.5rem) {
  main {
    grid-template-columns: auto;
    grid-template-rows: auto;
    width: 85%;
  }
  article:nth-child(1) {
    background-image: unset;
    background-repeat: unset;
    background-position: unset;
    background-size: unset;
  }
  article:nth-child(3) {
    padding-bottom: 1rem;
  }
  article:nth-child(1),
  article:nth-child(2),
  article:nth-child(3),
  article:nth-child(4),
  article:nth-child(5) {
    grid-column: unset;
    grid-row: unset;
  }
}/*# sourceMappingURL=style.css.map */