body {
  margin: 0;
  background: #111;
  font-family: sans-serif;
}

.masonry {
  column-count: 5;
  column-gap: 1em;
  padding: 1em;
}

.masonry img {
  width: 100%;
  margin-bottom: 1em;
  border-radius: 10px;
  break-inside: avoid;
  transition: transform 0.3s ease;
}

.masonry img:hover {
  transform: scale(1.03);
}

/* Responsive columns */
@media (max-width: 900px) {
  .masonry {
    column-count: 2;
  }
}
@media (max-width: 600px) {
  .masonry {
    column-count: 1;
  }
}
