  .image-hover-cap {
  display: block;
  width: 100%;
  background-size: cover;
  background-position: center center;
  z-index: 10;
  text-decoration: none;
}

a.image-hover-cap {
  text-decoration: none;
}

.image-hover-cap-overlay {
  display: flex;
  content: ' ';
  z-index: 20;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: 0.6s;
  align-items: center;
  justify-content: center;
}

.image-hover-cap:hover .image-hover-cap-overlay {
  opacity: 1;
  transition: 0.6s;
}

.image-hover-cap-caption {
  text-align: center;
  text-decoration: none;
}

