*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html, body {
  min-height: 100vh;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

/*
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}
p {
    text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}
*/
body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3.75rem;
  background-color: #FAFAFA;
  padding: 3.5rem 1.875rem 2.875rem 1.8125rem;
}

header {
  width: 19.75rem;
  text-align: center;
}
header h1 {
  color: var(--color-grey-500, #4D4F62);
  font-family: Poppins;
  font-size: 2.25rem;
  font-style: normal;
  font-weight: 275;
  line-height: 140%;
  letter-spacing: 0.015625rem;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
header h1 strong {
  color: var(--color-grey-500, #4D4F62);
  font-family: Poppins;
  font-size: 2.25rem;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
  letter-spacing: 0.015625rem;
  font-size: 1.5rem;
}
header p {
  color: var(--color-grey-500, #4D4F62);
  font-family: Poppins;
  font-size: 0.9375rem;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.0065rem;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 2rem;
}

.featurecard {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 2rem;
  width: 19.625rem;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 0.9375rem 1.875rem -0.6875rem rgba(131, 166, 210, 0.5);
  position: relative;
  overflow: hidden;
}
.featurecard header {
  all: unset;
}
.featurecard h2 {
  color: var(--color-grey-500, #4D4F62);
  font-family: Poppins;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 600;
  line-height: 135%;
  margin-bottom: 0.375rem;
}
.featurecard p {
  color: var(--color-grey-500, #4D4F62);
  font-family: Poppins;
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 0.005625rem;
}
.featurecard img {
  width: 4rem;
  height: 4rem;
  align-self: flex-end;
  margin-bottom: 1rem;
}
.featurecard::before {
  content: "";
  width: 100%;
  height: 0.25rem;
  position: absolute;
  top: 0;
  left: 0;
}
.featurecard:nth-child(1)::before {
  background-color: #44d3d2;
}
.featurecard:nth-child(2)::before {
  background-color: #ea5454;
}
.featurecard:nth-child(3)::before {
  background-color: #fcae4a;
}
.featurecard:nth-child(4)::before {
  background-color: #549ef2;
}

@media (min-width: 48rem) {
  body {
    gap: 4.625rem;
    padding: 5rem 3.375rem;
  }
  header {
    width: 33.75rem;
  }
  header h1 {
    color: var(--color-grey-500, #4D4F62);
    font-family: Poppins;
    font-size: 2.25rem;
    font-style: normal;
    font-weight: 275;
    line-height: 140%;
    letter-spacing: 0.015625rem;
  }
  header h1 strong {
    color: var(--color-grey-500, #4D4F62);
    font-family: Poppins;
    font-size: 2.25rem;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    letter-spacing: 0.015625rem;
  }
  main {
    display: grid;
  }
  .featurecard:nth-child(1) {
    grid-row: 1;
    grid-column: 2/4;
  }
  .featurecard:nth-child(2) {
    grid-row: 2;
    grid-column: 1/3;
  }
  .featurecard:nth-child(3) {
    grid-row: 2;
    grid-column: 3/5;
  }
  .featurecard:nth-child(4) {
    grid-row: 3;
    grid-column: 2/4;
  }
}
@media (min-width: 75rem) {
  body {
    padding: 0;
  }
  .featurecard {
    width: 21.875rem;
  }
  .featurecard:nth-child(1) {
    grid-column: 1;
    grid-row: 2/4;
  }
  .featurecard:nth-child(2) {
    grid-column: 2;
    grid-row: 1/3;
  }
  .featurecard:nth-child(3) {
    grid-column: 2;
    grid-row: 3/5;
  }
  .featurecard:nth-child(4) {
    grid-column: 3;
    grid-row: 2/4;
  }
}

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