@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");

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

  --dark-grey: hsl(234, 12%, 34%);
  --grey: hsl(212, 6%, 44%);
  --white: hsl(0, 0%, 100%);
}

body {
  background-color: var(--white);
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: var(--dark-grey);
  width: 100vw;
  height: 100vh;
}

h1,
h2 {
  font-weight: 600;
}

h1 {
  font-size: 1.5rem;
}

.thin-text {
  font-weight: 200;
}

header {
  margin: 2rem;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header p {
  text-align: center;
  margin-top: 1rem;
}

.card {
  border-top: 5px solid var(--cyan);
  margin: 2rem;
  padding: 2rem;
  box-shadow: 0 5px 20px hsl(234, 12%, 34%, 0.25);
  border-radius: 0.5rem;
}

.card p {
  font-size: 0.83rem;
}

.icon {
  display: flex;
  justify-content: end;
  margin: 1rem 0;
}

main {
  padding: 1.5rem 0;
}

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

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

.calculator {
  border-top: 5px solid var(--blue);
}

/* Tablet */
@media (min-width: 923px) {
  main {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .card {
    width: 23rem;
    height: min-content;
  }

  .icon {
    margin-top: 2rem;
  }

  header p {
    width: 32rem;
  }

  header {
    margin-bottom: 1rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .card p {
    font-size: 15px;
  }
}
