@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&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");

* {
  box-sizing: border-box;
}

.attribution {
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}

h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  color: hsl(212, 6%, 44%);
  padding: 0;
  margin: -10px;
  margin-top: 100px;
}

h2 {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 500;
  padding: 0;
  margin: 0;
  color: hsl(234, 12%, 34%);
}

.main_heading {
  font-size: 32px;
}

p {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: hsl(212, 6%, 44%);
  padding: 0px;
  margin: 0px;
}

.description {
  color: hsl(234, 12%, 34%);
}
body {
  display: flex;
  flex-direction: column;
  text-align: center;
  min-height: 100vh;
  width: 100%;
}

.cards {
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 100%;
}

.card {
  box-shadow: 0px 1px 20px 1px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  width: 100%;
  max-width: 352px;
  padding: 29px 25px;
  margin: 0 auto 25px auto;
  border: 2px solid transparent;
}

#supervisor_card,
#calculator_card {
  align-self: center;
}

img {
  width: 50px;
  display: block;
  margin-left: auto;
}

#supervisor_card {
  border-top: 5px solid hsl(180, 62%, 55%);
}
#teambuilder_card {
  border-top: 5px solid hsl(0, 78%, 62%);
}
#calculator_card {
  border-top: 5px solid hsl(212, 86%, 64%);
}
#karma_card {
  border-top: 5px solid hsl(34, 97%, 64%);
}

@media (min-width: 1200px) {
  .cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  #supervisor_card,
  #calculator_card {
    align-self: center;
  }
}
