.image-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
}

.image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,.29), rgba(0,0,0,.29)), var(--bg);
  background-size: auto, cover;
  background-position: center;
  transform: scale(1);
  transition: transform .5s ease;
  z-index: 0;
}

.image-card:hover::before {
  transform: scale(1.12);
}

.image-card .content {
  position: relative;
  z-index: 1;
  color: #fff;
}

