@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header {
  text-align: center;
  margin: 1.4rem;
}
header h2 {
  font-weight: 200;
}
header p {
  margin: 1rem 0;
  font-weight: 400;
}

@media screen and (min-width: 600px) {
  header p {
    margin: 1rem auto;
    max-width: 60%;
  }
}
main {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
}
main article {
  display: grid;
  align-items: center;
  justify-items: center;
}
main article > div {
  background-color: #fff;
  max-width: 20rem;
  margin: 1.2rem;
  padding: 1.4rem;
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}
main h2 {
  font-size: 1.2rem;
  font-weight: 600;
}
main p {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  font-weight: 400;
}
main figure {
  float: right;
  padding-top: 1.4rem;
}

@media screen and (min-width: 600px) {
  div:nth-child(1) {
    grid-row: 3/-1;
  }
  div:nth-child(3) {
    grid-row: 3/2;
  }
  div:nth-child(4) {
    grid-row: 3/1;
  }
}
@media screen and (max-width: 1053px) and (min-width: 600px) {
  article {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  div:nth-child(1),
  div:nth-child(3),
  div:nth-child(4) {
    grid-row: unset;
  }
}
.card > div:nth-child(1) {
  border-top: 3px solid hsl(180, 62%, 55%);
}

.card > div:nth-child(2) {
  border-top: 3px solid hsl(0, 78%, 62%);
}

.card > div:nth-child(3) {
  border-top: 3px solid hsl(34, 97%, 64%);
}

.card > div:nth-child(4) {
  border-top: 3px solid hsl(212, 86%, 64%);
}

footer {
  padding: 1rem 0;
}
footer .attribution {
  text-align: center;
  padding: 0 0.8rem;
  color: hsl(234, 12%, 34%);
}
footer a {
  color: #6A8BF5;
}

body {
  width: 100%;
  height: 100%;
  margin: 1rem 0;
  background-color: hsl(0, 0%, 98%);
  color: hsl(229, 6%, 66%);
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
}

h1,
h2 {
  color: hsl(234, 12%, 34%);
  font-size: 1.6rem;
}

a {
  text-decoration: none;
}/*# sourceMappingURL=index.css.map */