.gallery {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;

  min-width: 200px;
}

.gallery-item {
  border-radius: 4px;
  max-height: 200px;
  background: #dfdfdf;
  padding: 8px;
  box-shadow: rgba(0, 0, 55, 0.35) 0 5px 15px;
}

.gallery-image {
  object-fit: contain;
  height: 100%;
  width: 100%;
}

@media screen and (max-width: 1000px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 800px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .gallery {
    grid-template-columns: repeat(1, 1fr);
  }
}