@import url("https://fonts.googleapis.com/css2?family=Heebo:wght@400;700&&display=swap");
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  font-family: "Heebo", sans-serif;
  font-size: 0.7rem;
}

.container {
  display: -ms-grid;
  display: grid;
      grid-template-areas: "card1 card1 card2 card5" "card3 card4 card4 card5";
  grid-gap: 2rem;
  -ms-grid-columns: (1fr)[4];
      grid-template-columns: repeat(4, 1fr);
  -ms-grid-rows: (285px)[2];
      grid-template-rows: repeat(2, 285px);
  max-width: 1115px;
  margin: 10rem auto;
}

.card1 {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  -ms-grid-column-span: 2;
  grid-area: card1;
}

.card2 {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
  grid-area: card2;
}

.card3 {
  -ms-grid-row: 2;
  -ms-grid-column: 1;
  grid-area: card3;
}

.card4 {
  -ms-grid-row: 2;
  -ms-grid-column: 2;
  -ms-grid-column-span: 2;
  grid-area: card4;
}

.card5 {
  -ms-grid-row: 1;
  -ms-grid-row-span: 2;
  -ms-grid-column: 4;
  grid-area: card5;
}

body {
  background-color: #edf2f8;
  color: white;
}

@-webkit-keyframes show {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes show {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.card {
  border-radius: 7px;
  padding: 2.1rem 2.1rem;
  opacity: 0;
  -webkit-animation: show 2s linear forwards;
          animation: show 2s linear forwards;
}

.card .card-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.card .card-header img {
  border-radius: 50%;
  margin-right: 0.91rem;
  height: 2.1rem;
}

.card .card-header h2 {
  font-size: 0.56rem;
  font-weight: 700;
  margin: 0;
}

.card .card-header h3 {
  font-size: 0.56rem;
  font-weight: 500;
  margin: 0.175rem 0 0 0;
  opacity: 0.7;
}

.card .sample {
  font-size: 1.05rem;
  line-height: 1.54rem;
  margin-top: 0.84rem;
  font-weight: 700;
}

.card p {
  font-size: 0.693rem;
  line-height: 1.19rem;
  margin-top: 0.84rem;
  opacity: 0.7;
}

.card1 {
  background-color: #733fc8;
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s;
}

.card1 img {
  border: 3px solid #a17bd0;
}

.card2 {
  background-color: #49556b;
  -webkit-animation-delay: 1.6s;
          animation-delay: 1.6s;
}

.card3,
.card5 {
  background-color: white;
  color: #53565d;
  -webkit-animation-delay: 0.8s;
          animation-delay: 0.8s;
  -webkit-box-shadow: 0px 35px 82px -28px rgba(0, 0, 0, 0.21);
          box-shadow: 0px 35px 82px -28px rgba(0, 0, 0, 0.21);
}

.card4 {
  background-color: #18202d;
  -webkit-animation-delay: 1.2s;
          animation-delay: 1.2s;
}

.card4 img {
  border: 3px solid #a17bd0;
}

.card1 {
  background-image: url("../images/bg-pattern-quotation.svg");
  background-repeat: no-repeat;
  background-position: 80% 0;
}

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

@media only screen and (max-width: 375px) {
  .container {
        grid-template-areas: "card1" "card2" "card3" "card4" "card5";
    -ms-grid-columns: (1fr)[1];
        grid-template-columns: repeat(1, 1fr);
    -ms-grid-rows: (auto)[5];
        grid-template-rows: repeat(5, auto);
    margin: 6rem 1.5rem;
  }
}
