@import url("https://fonts.googleapis.com/css2?family=Poppins: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");

.card-body * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --Very-Dark-Blue: hsl(234, 12%, 34%);
  --Grayish-Blue: hsl(229, 6%, 66%);
  --Very-Light-Gray: hsl(0, 0%, 98%);
  --border-color: hsl(0, 0%, 50%);
  --fw-light: 200;
  --fw-regular: 400;
  --fw-bold: 600;

  color: var(--Grayish-Blue);
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  font-weight: var(--fw-regular);
}

.card-body body {
  min-height: 100vh;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-body .cyan {
  --border-color: hsl(180, 62%, 55%);
  grid-area: 1 / 1 / 3 / 2;
}

.card-body .red {
  --border-color: hsl(0, 78%, 62%);
}

.card-body .orange {
  --border-color: hsl(34, 97%, 64%);
}

.card-body .blue {
  --border-color: hsl(212, 86%, 64%);
  grid-area: 1 / 3 / 3 / 4;
}

.card-body .header {
  text-align: center;
}

.card-body .header_subtitle,
.card-body .header_title {
  font-size: clamp(1.6rem, 5vw, 2rem);
}

.card-body .header_subtitle {
  font-weight: var(--fw-light);
}

.card-body .header_title {
  margin-bottom: 1rem;
}

.card-body .header_title,
.card-body .card_title {
  color: var(--Very-Dark-Blue);
}

.card-body .header_description {
  max-width: 500px;
  margin: 0 auto;
}

.card-body .card_grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.card-body .card {
  max-width: 320px;
  margin: 0 auto;
  padding: 2rem;
  border-top: 5px solid var(--border-color);
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(23, 79, 138, 0.1);
}

.card-body .card_title {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: var(--fw-bold);
}

.card-body .card_content {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.card-body .card_img {
  margin-left: auto;
  display: block;
  width: 32px;
}

@media (max-width: 768px) {
  .card-body .card_grid {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    align-items: stretch;
  }

  .card-body .cyan {
    grid-area: auto;
  }

  .card-body .blue {
    grid-area: auto;
  }

  .card-body .card {
    max-width: 300px;
  }
}

@media screen and (max-width: 500px) {
  .card-body .card_grid {
    grid-template-columns: repeat(1, minmax(200px, 1fr));
  }
}
