.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 1128px;
  margin-left: auto;
  margin-right: auto;
}
.gallery-item {
  width: 100%;
}
.gallery-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
}
.gallery-image {
  display: block;
  width: 360px;
  height: 200px;
  object-fit: cover;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
