*,
*::after,
*::before {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

h1,
h2 {
  margin: 0;
}

img {
  max-width: 100%;
  display: block;
}

html {
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-size: 62.5%;
}

body {
  min-height: 100vh;
  margin: 6rem 3rem;
}

.wrapper {
  max-width: 120rem;
  margin-inline: auto;
  padding-inline: 3.2rem;
}
.wrapper--narrow {
  max-width: 50rem;
  margin-inline: auto;
}

.heading--2, .heading--1 {
  font-size: 3.5rem;
  line-height: 1.3;
  color: hsl(234, 12%, 34%);
}

.header__text, .card__text {
  color: hsl(229, 6%, 66%);
  line-height: 1.7;
}

.heading--1 {
  font-weight: 200;
}
.heading--1 span {
  font-weight: 600;
}

.heading--2 {
  font-size: 2rem;
  font-weight: 600;
}

.card__text {
  font-size: 1.2rem;
}

.header__text {
  font-size: 1.5rem;
}

.mb-sm {
  margin-bottom: 2rem;
}

.mb-md {
  margin-bottom: 3rem;
}

.mb-lg {
  margin-bottom: 6rem;
}

.mb-hg {
  margin-bottom: 8rem;
}

.brd-red {
  border-top: 2px solid hsl(0, 78%, 62%);
}

.brd-cyan {
  border-top: 2px solid rgb(69, 211, 211);
}

.brd-orange {
  border-top: 2px solid hsl(34, 97%, 64%);
}

.brd-blue {
  border-top: 2px solid hsl(212, 86%, 64%);
}

@media (min-width: 600px) {
  .card__box {
    display: grid;
    grid-template-columns: repeat(3, [col-start] 1fr [col-end]);
    grid-template-rows: repeat(2, 1fr);
    align-items: center;
    gap: 2rem;
  }
}
.card__box .card:first-child {
  grid-column: col-start 1/col-end 1;
  grid-row: 1/-1;
}
.card__box .card:last-child {
  grid-column: col-start 3/col-end 3;
  grid-row: 1/-1;
}
.card__box .card {
  position: relative;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: start;
  border-radius: 4px;
  box-shadow: 0 1rem 1.5rem -0.5rem rgba(0, 50, 100, 0.2);
  margin-bottom: 1.6rem;
}
.card__box .card__icon {
  margin-top: 1.5rem;
  max-width: 20%;
  align-self: end;
}
.card__box .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 100%;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}
.card__box .card:nth-child(1)::before {
  border-top: 5px solid rgb(69, 211, 211);
}
.card__box .card:nth-child(2)::before {
  border-top: 5px solid hsl(0, 78%, 62%);
}
.card__box .card:nth-child(3)::before {
  border-top: 5px solid hsl(34, 97%, 64%);
}
.card__box .card:nth-child(4)::before {
  border-top: 5px solid hsl(212, 86%, 64%);
}

.header {
  text-align: center;
}

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