
body {
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center; 
  min-height: 100vh;  
  margin: 0;         
}

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

.gallery-item {
  flex-basis: calc((100% - 2 * 24px) / 3);
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

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