body {
  font-family: "Poppins";
  align-items: center;
}
body p {
  font-size: 15px;
}

main {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  align-items: center;
  justify-content: center;
  row-gap: 2em;
  margin: 3em 15px 50px 15px;
}

.grid.child {
  position: relative;
  box-shadow: 0px 4px 8px hsl(210, 6%, 44%);
  padding: 25px;
  padding-inline-start: 40px;
  border-radius: 12px;
}
.grid.child::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.grid.child.red::before {
  background-color: hsl(0, 78%, 62%);
}
.grid.child.cyan::before {
  background-color: hsl(180, 62%, 55%);
}
.grid.child.orange::before {
  background-color: hsl(34, 97%, 64%);
}
.grid.child.blue::before {
  background-color: hsl(212, 86%, 64%);
}
.grid.child img {
  float: right;
  padding-bottom: 20px;
  padding-top: 15px;
}

header {
  text-align: center;
  padding-top: 10px;
  max-width: 45ch;
  margin: 0 auto;
}
header h1 {
  line-height: 1rem;
  font-size: 26px;
}

@media screen and (min-width: 769px) {
  main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 2em;
  }
  .grid.child.cyan {
    align-self: center;
    grid-column: 1;
    grid-row: 2/span 2;
  }
  .grid.child.red {
    grid-column: 2;
    grid-row: 1/span 2;
  }
  .grid.child.orange {
    grid-column: 2;
    grid-row: 3/span 2;
  }
  .grid.child.blue {
    align-self: center;
    grid-column: 3;
    grid-row: 2/span 2;
  }
  header {
    max-width: 45ch;
    margin: 0 auto;
  }
}/*# sourceMappingURL=style.css.map */