* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --purple-50: hsl(260, 100%, 95%);
  --purple-300: hsl(264, 82%, 80%);
  --purple-500: hsl(263, 55%, 52%);
  --white: hsl(0, 0%, 100%);
  --grey-100: hsl(214, 17%, 92%);
  --grey-200: hsl(0, 0%, 81%);
  --grey-400: hsl(224, 10%, 45%);
  --grey-500: hsl(217, 19%, 35%);
  --dark-blue: hsl(219, 29%, 14%);
  --black: hsl(0, 0%, 7%);
}

body {
  font-size: 13px;
  background-color: var(--grey-100);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  grid-template-areas:
    "card1 card1 card2 card3"
    "card4 card5 card5 card3";
  margin: 0 auto;
  height: 660px;
}

.card-1,
.card-2,
.card-3,
.card-4,
.card-5 {
  border-radius: 10px;
  padding: 35px;
  border-radius: 7px;
  overflow: hidden;
  font-family: "Barlow Semi Condensed";
}

.card-1 {
  background-color: var(--purple-500);
  background-image: url(images/bg-pattern-quotation.svg);
  background-repeat: no-repeat;
  background-position: top 3px right 61px;
  background-size: 100px;
  grid-area: card1;
}

.card-1-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-1-header img {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  border: 2px solid var(--purple-300);
}

.card-1-header-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--grey-200);
  font-weight: 500;
  font-size: 0.7rem;
}

.card-1-body {
  color: var(--grey-100);
  margin-top: 10px;
  font-weight: 500;
  margin-top: 20px;
  line-height: 1.3;
  font-size: 1.3rem;
}

.card-1-footer {
  color: var(--grey-200);
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 400;
  margin-top: 10px;
}
.card-2 {
  background-color: var(--grey-500);
  grid-area: card2;
}

.card-2-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-2-header img {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  border: 1px solid var(--grey-200);
}

.card-2-header-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--grey-200);
  font-weight: 500;
  font-size: 0.7rem;
}

.card-2-body {
  color: var(--grey-100);
  margin-top: 10px;
  font-weight: 500;
  margin-top: 20px;
  line-height: 1.3;
  font-size: 1.2rem;
  font-weight: 500;
}

.card-2-footer {
  color: var(--grey-200);
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 400;
  margin-top: 15px;
}

.card-3 {
  background-color: var(--white);
  grid-area: card3;
}

.card-3-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-3-header img {
  border-radius: 50%;
  width: 30px;
  height: 30px;
}

.card-3-header-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--grey-400);
  font-weight: 500;
}

.card-3-body {
  color: var(--grey-500);
  margin-top: 10px;
  font-weight: 500;
  margin-top: 20px;
  line-height: 1.3;
  font-size: 1.5rem;
  font-weight: 600;
}

.card-3-footer {
  color: var(--grey-400);
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 500;
  margin-top: 15px;
  opacity: 0.9;
}

.card-4 {
  background-color: var(--white);
  grid-area: card4;
}

.card-4-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-4-header img {
  border-radius: 50%;
  width: 30px;
  height: 30px;
}

.card-4-header-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--grey-400);
}

.card-4-body {
  color: var(--grey-500);
  margin-top: 10px;
  font-weight: 600;
  margin-top: 20px;
  line-height: 1.3;
  font-size: 1.4rem;
  font-weight: 500;
}

.card-4-footer {
  color: var(--grey-400);
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 500;
  margin-top: 15px;
  opacity: 0.9;
}

.card-5 {
  background-color: var(--dark-blue);
  grid-area: card5;
}

.card-5-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-5-header img {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  border: 2px solid var(--purple-300);
}

.card-5-header-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--grey-200);
  font-weight: 500;
  font-size: 0.7rem;
}

.card-5-body {
  color: var(--grey-200);
  margin-top: 10px;
  font-weight: 500;
  margin-top: 20px;
  line-height: 1.3;
  font-size: 1.3rem;
}

.card-5-footer {
  color: var(--grey-200);
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 500;
  margin-top: 15px;
  opacity: 0.9;
}
@media (max-width: 668px) {
  body {
    height: auto;
    padding: 20px;
  }

  .container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "card1"
      "card2"
      "card3"
      "card4"
      "card5";
    height: auto;
    max-width: 375px;
    margin: 0 auto;
  }

  .card-1,
  .card-2,
  .card-3,
  .card-4,
  .card-5 {
    padding: 25px;
  }
}
@media (max-width: 375px) {
  .container {
    max-width: 100%;
  }

  .card-1-body,
  .card-2-body,
  .card-3-body,
  .card-4-body,
  .card-5-body {
    font-size: 1.1rem;
  }
}
