/* Styles for the photography gallery page */

.gallery {
  /* Photos flow into as many columns as fit (up to 4), each at least 260px wide */
  columns: 4 260px;
  column-gap: 8px;
  padding: 0 1%;
}

.gallery a {
  display: block;
  break-inside: avoid;
  margin-bottom: 8px;
}

.gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform .15s ease;
}

.gallery a:hover img {
  transform: scale(1.01);
}
