body {
  margin: 0;
  background: #111;
  color: #fff;
  font-family: sans-serif;
}

.masonry {
  display: flex;
  gap: 10px;
  padding: 10px;
  align-items: flex-start;
}

.masonry-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.masonry img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.overlay img {
  max-width: 90%;
  max-height: 90%;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.overlay.hidden {
  display: none;
}

#fullImage {
  transition: none;
}
