/* TODO
  - add 
*/

html {
  font-family: "Poppins", serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
  font-size: 16px;
  color: hsl(234, 12%, 34%);
  line-height: 1;
  padding: 2rem 1rem;
}

.title-1 {
  font-weight: 200;
  font-size: 1.5rem;
}
.title-2 {
  font-size: 1.5rem;
}

.tagline {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 3rem;
  padding-top: 1rem;
  line-height: 1.5;
}
.description,
.tagline {
  color: hsl(229, 6%, 66%);
  font-size: 0.9rem;
}
.box {
  margin: auto;
  width: 22rem;
  height: 16rem;
  box-shadow: 0 4px 8px 0 #a7a7a733, 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  text-align: left;
  border-radius: 0.5rem;
}
/* coloured lines */
.supervisor {
  background: linear-gradient(hsl(180, 62%, 55%) 2%, white 2%);
}
.team-builder {
  background: linear-gradient(hsl(0, 78%, 62%) 2%, white 2%);
}
.karma {
  background: linear-gradient(hsl(34, 97%, 64%) 2%, white 2%);
}
.calculator {
  background: linear-gradient(hsl(212, 86%, 64%) 2%, white 2%);
}

.text {
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 0.8rem;
}
.heading {
  padding-top: 2rem;
  padding-bottom: -5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.description {
  margin-top: -2rem;
  line-height: 2;
}

.box > img {
  display: block;
  margin-left: auto;
  padding-right: 2rem;
}
.team-builder > img,
.calculator > img {
  padding-bottom: 2rem;
}

/* For desktop: */
@media only screen and (min-width: 1000px) {

.title-1, .title-2 {
  font-size: 2.5rem;
}
.tagline{
  width: 35rem;
  margin: auto;
}
  .benefits {
    width: 1400px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }

  .box {
    /* flex: 1; */
    width: 400px;
  }

  .box:nth-child(odd) {
    transform: translateY(50%);
  }
}

/* 
Just need to figure out how to swap karma and calculator around.

try this tutorial https://youtu.be/wxwsEZxa1AI?si=ScQwT2zDvrzvWQoF
i tried changing the order and using reverse wrap but it throws the whole design off
