.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 8px;
}
.gallery img {
  width: 100%;
  height: auto;
  display: block;
}
.gallery figure {
  margin: 0;
}
img[src="zumix.gif"] {
  image-rendering: pixelated;
}