.gallery {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.gallery a {
  display: flex;
  align-items: center;
  /* position: relative; */
  width: 24%;
  box-sizing: border-box;
  overflow: hidden;
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.gallery a:hover img {
  transform: scale(1.03);
}