.gallery {
  display: grid;
  grid-template-columns: repeat(3, auto);
  grid-gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
}

  p {
  	font-size: 4em;
  }

@media screen and (max-width: 640px) {
  .gallery {
    grid-template-columns: repeat(2, auto);
  }

}
.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.gallery img:fullscreen { object-fit: contain; }
body, html {
  padding: 0;
  margin: 0;
}

