.gallery {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.gallery-item {
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  align-items: center;
  justify-content: center;
  width: calc((100% - 2 * 24px) / 3);
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-link {
  display: block;
  text-decoration: none;
}

.gallery-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
