#gallery {
  margin: 0 auto;
  max-width: 1200px;
}

#gallery .box-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

#gallery .box-container a {
  width: 360px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}
#gallery .box-container .vertical img {
  height: 160px;
  object-fit: cover;
}

#gallery .box-container a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

#gallery .box-container a:hover img {
  transform: scale(1.2);
}
