
body {
  font-family: Arial, sans-serif;
  background: #fafafa;
  margin: 0;
  padding: 20px;
  text-align: center;
}
h1 {
  color: #444;
  margin-bottom: 30px;
}
.gallery {
  column-count: 3;
  column-gap: 15px;
  max-width: 1200px;
  margin: auto;
}
.gallery a {
  display: inline-block;
  margin-bottom: 15px;
  width: 100%;
}
.gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px #ccc;
  break-inside: avoid;
}
@media screen and (max-width: 768px) {
  .gallery {
    column-count: 2;
  }
}
@media screen and (max-width: 480px) {
  .gallery {
    column-count: 1;
  }
}
