@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: hsl(214, 17%, 92%);
  font-family: "Barlow Semi Condensed", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2rem;
}

article {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 12px 12px 15px hsl(0, 0%, 81%);
}
article .persona {
  display: flex;
  align-items: center;
  gap: 1rem;
}
article .persona img {
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
}
article h2 {
  font-size: 1rem;
  font-weight: 500;
}
article p {
  font-size: 0.85rem;
}
article h3 {
  font-size: 1.51rem;
  font-weight: 500;
}

.daniel {
  grid-row: 1;
  grid-column: 1/3;
  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: 90% 0;
}

.jonathan {
  grid-row: 1;
  grid-column: 3;
  background-color: hsl(224, 10%, 45%);
  color: hsl(0, 0%, 100%);
}

.jeanette {
  grid-row: 2;
  grid-column: 1;
  background-color: hsl(0, 0%, 100%);
  color: hsl(217, 19%, 35%);
}

.patrick {
  grid-row: 2;
  grid-column: 2/4;
  background-color: hsl(219, 29%, 14%);
  color: hsl(0, 0%, 100%);
}

.kira {
  grid-row: 1/3;
  grid-column: 4;
  background-color: hsl(0, 0%, 100%);
  color: hsl(217, 19%, 35%);
}

.daniel img {
  border: 2px solid hsl(264, 82%, 80%);
}

.jonathan img {
  border: 2px solid hsl(0, 0%, 100%);
}

.jeanette img {
  border: 2px solid hsl(224, 10%, 45%);
}

.patrick img {
  border: 2px solid hsl(263, 55%, 52%);
}

.kira img {
  border: 2px solid hsl(224, 10%, 45%);
}

@media screen and (max-width: 950px) {
  main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
  }
  main .daniel {
    grid-row: 1/3;
    grid-column: 1;
  }
  main .jonathan {
    grid-row: 1;
    grid-column: 2;
  }
  main .jeanette {
    grid-row: 2;
    grid-column: 2;
  }
  main .patrick {
    grid-row: 3/5;
    grid-column: 1;
  }
  main .kira {
    grid-row: 3/5;
    grid-column: 2;
  }
}
@media screen and (max-width: 600px) {
  body {
    padding: 1.5rem;
  }
  body main {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

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