.image-links {
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
}

.image-links a {
  position: relative;
  display: inline-block;
  flex: 0 1 calc(100% / 3);
  box-sizing: border-box;
}
.image-links a img {
  min-width: 400px;
  max-width: 400px;
  height: auto;
  display: block;
  filter: brightness(80%);
}
.image-links a:hover img {
  filter: none;
}
.image-links a span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
