body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #808080;
  background-image: url("../ImagesIndex/BackGround.png");
  background-size:cover
}

h1 {
  text-align: center;
}

.gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 23vh;
}

.image-container {
  margin: 15px;
  transition: 0.3s ease;
  width: 285px;
  height: 200px;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
}

.image-container img {
  height: 100%;
  width: auto;
  -o-object-fit: cover;
     object-fit: cover;
  transition: 0.3s ease;
}

.image-container:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.image-container:hover img {
  filter: none;
  transition: 0.3s ease;
}

.image-container img {
  filter: grayscale(10%);
  transition: 0.3s ease;
}

@media screen and (max-width: 768px) {
  .gallery {
    flex-direction: column;
    height: auto;
  }

  .image-container {
    width: 100%;
    max-width: 300px;
    height: 200px;
  }
}