* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  /* Primary colors */
  --red: hsl(0, 78%, 62%);
  --cyan: hsl(180, 62%, 55%);
  --orange: hsl(34, 97%, 64%);
  --blue: hsl(212, 86%, 64%);

  /* Neutral colors */
  --grey-500: hsl(234, 12%, 34%);
  --grey-400: hsl(212, 6%, 44%);
  --white: hsl(0, 0%, 100%);
}

body {
  background-color: #fafafa;
  font-size: 0.9375rem;
}

/* WRAPPER */
.wrapper {
  text-align: center;
  padding: 3.5rem 2rem;
}

/* HEADER */
#reliable {
  font-size: 1.5rem;
  font-weight: 200;
  color: var(--grey-500);
}

#power {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--grey-500);
}

#art {
  color: var(--grey-500);
  font-weight: 400;
  margin: 1rem 0 3rem 0;
}

/* CARDS */
.cards {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 2rem;
}

.card {
  border-radius: 0.5rem;
  background-color: var(--white);
  padding: 1.5rem 1.7rem 3.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 20px var(--grey-400);
}

.card > img {
  width: 4rem;
  align-self: end;
  margin-top: 1.5rem;
}

#super {
  border-top: 5px solid var(--cyan);
}

#team {
  border-top: 5px solid var(--red);
}

#karma {
  border-top: 5px solid var(--orange);
}

#calc {
  border-top: 5px solid var(--blue);
}

#supervisor,
#builder,
#karmaHead,
#calculator {
  font-size: 1.2rem;
  color: var(--grey-500);
  font-weight: 600;
}

#super,
#team,
#karma,
#calc {
  color: var(--grey-400);
  font-size: 0.85rem;
}

@media screen and (min-width: 768px) {
  #reliable,
  #power {
    font-size: 1.2rem;
  }

  #art {
    font-size: 0.6rem;
    padding: 0 13rem;
  }

  .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }

  #calc {
    grid-column: 3 / span 1;
  }

  #super,
  #calc {
    grid-row: 1 / span 2;
  }
}
