@keyframes 'anim-galleryitem-overlay' {
  from {
    background-color: rgba(190,54,12, 0);
    opacity: 0;
  }
  to {
    background-color: rgba(190,54,12, 0.75);
    opacity: 1;
  }
}

.gallery .galleryitem {
  position: relative;
  display: block;
  overflow: hidden;
}

.gallery .galleryitem_overlay {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  content: '';
  background-color: rgba(190, 54, 12, 0);
  opacity: 0;
  width: 100%;
  height: 100%;
  text-transform: uppercase;
  transition-duration: 250ms;
}

.gallery .galleryitem:hover .galleryitem_overlay {
  animation-name: 'anim-galleryitem-overlay';
  animation-duration: 250ms;
  animation-fill-mode: both;
}
