@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600&display=swap");
/* general */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 15px;
}

body {
  width: 100%;
  background-color: hsl(0, 0%, 98%);
}

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "Poppins", sans-serif;
  color: hsl(234, 12%, 34%);
}

/* header */
.header {
  width: 80%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.header__title--light {
  display: block;
  font-size: clamp(1.6rem, 6vw, 2.385rem);
  font-weight: 200;
}
.header__title--bold {
  display: block;
  font-size: clamp(1.6rem, 6vw, 2.385rem);
}
.header__description {
  padding-top: 0.5rem;
}

/* cards */
.features {
  width: 80%;
  max-width: 73rem;
  padding-top: 4.8em;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 2.2em;
}

.card {
  padding: 2em;
  padding-bottom: 3em;
  justify-self: center;
  border-radius: 5px;
  background-color: white;
  box-shadow: 0 10px 20px rgba(75, 75, 201, 0.15);
}
.card__title {
  font-size: 1.3rem;
}
.card__description {
  font-size: 0.9rem;
  padding: 0.5em 0 2.3em 0;
}
.card__img {
  display: block;
  margin-left: auto;
}
.card:nth-child(1) {
  border-top: 0.3em solid hsl(180, 62%, 55%);
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 2;
  grid-row-end: 4;
}
.card:nth-child(2) {
  border-top: 0.3em solid hsl(0, 78%, 62%);
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 3;
}
.card:nth-child(3) {
  border-top: 0.3em solid hsl(34, 97%, 64%);
  grid-column-start: 2;
  grid-row-start: 3;
  grid-row-end: 5;
}
.card:nth-child(4) {
  border-top: 0.3em solid hsl(212, 86%, 64%);
  grid-column-start: 3;
  grid-column-end: 4;
  grid-row-start: 2;
  grid-row-end: 4;
}

/* media queries */
@media (max-width: 768px) {
  .features {
    display: flex;
    flex-direction: column;
  }
}/*# sourceMappingURL=style.css.map */