#blog p {
  margin-bottom: 2em;
  text-align: center;
  width: 90%;
}

#blog .gallery {
  display: grid;
  grid-gap: 1em;
  grid-template-columns: repeat(auto-fit, minmax(20em, 1fr));
  grid-auto-rows: 19em;
  grid-auto-flow: dense;
  width: 90%;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery img:hover {
  filter: brightness(1.2);
}

.gallery .wide {
  grid-column: span 1;
}

.gallery .tall {
  grid-row: span 1;
}


/* @media (min-width:729px) { */
@media (min-width:1049px) {
  .gallery .wide {
    grid-column: span 2;
  }

  .gallery .tall {
    grid-row: span 2;
  }

  #blog .gallery {
    grid-template-columns: repeat(auto-fit, minmax(11em, 1fr));
  }
}

@media (min-width:1476px) {
  #blog .gallery {
    grid-template-columns: repeat(auto-fit, minmax(15em, 1fr));
  }
}

@media (min-width:1974px) {
  #blog .gallery {
    grid-template-columns: repeat(auto-fit, minmax(21em, 1fr));
  }
}