.gallery-items {}
.gallery-items .gallery-item {
  display: block;
  width: 100%;
  height: 150px;
  position: relative;
}
/*.gallery-items a.gallery-item:before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(50,50,80,0);
  transition: .2s ease-in-out;
  pointer-events: none;
}
.gallery-items a.gallery-item:hover:before {
  background: rgba(50,50,80,.8);
}*/
.gallery-items .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.gallery-items .gallery-item.cover img {
  object-fit: cover;
}
.gallery-items .gallery-item span {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1rem;
  padding: .5rem;
  color: white;
  text-align: center;
  opacity: 0;
  transition: .2s ease-in-out;
  background: rgba(50,50,80,0);
}
.gallery-items .gallery-item:hover span {
  opacity: 1;
  background: rgba(50,50,80,.8);
}