

#grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 260px);
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
}
#grid .card {
  background-color: #ccc;
  width: 260px;
  height: 190px;
  transition: all 0.1s ease;
  border-radius: 3px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0);
  overflow: hidden;
  cursor: pointer;
}
#grid .card:hover {
  -webkit-transform: scale(4);
          transform: scale(4);
  z-index: 2;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
#grid .card:hover img {
  -webkit-filter: grayscale(0);
          filter: grayscale(0);
}
#grid .card .reflection {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  left: 0;
  top: 0;
  transition: all 0.1s ease;
  opacity: 1;
  mix-blend-mode: soft-light;
}
#grid .card .reflection p {
  width: 100%;
  height: 30px;
  line-height: 30px;
  text-align: center;
  color: #fff;
  background-color: #1a1919;
  opacity: 1;
  margin: 0;
}
#grid .card img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  /*-webkit-filter: grayscale(0.65);*/
  /*        filter: grayscale(0.65);*/
  transition: all 0.3s ease;
}
#grid .card  p {
 
  margin: 0;
    width: 100%;
    height: 30px;
    line-height: 30px;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-filter: grayscale(0.65);
    filter: grayscale(0.65);
    transition: all 0.3s ease;
    text-align: center;
    position: absolute;
    bottom: 0px;
    color: #fff;
    
    background-color: rgba(50, 48, 48, 0.6);
}