*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

body {
  width: 1128px;
  margin: 0 auto;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  gap: 24px;
}

.gallery-item {
  width: 360px;
  height: 200px;
  overflow: hidden;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25); /* тінь */
}
.gallery-image:hover {
  transform: scale(1.044, 1.04);
}
