.image-shadow:after {
  transform: scale(0.95) translateY(36px) translateZ(-30px);
  filter: blur(12px);
  opacity: 0.35;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: inherit;
  background-size: cover;
  z-index: -1;
  transition: filter 0.3s ease;
}

.image-shadow {
  margin: 40px auto;
  width: 500px;
  height: 500px;
  border-radius: 10px;
  display: block;
  position: relative;
  background-size: cover;
}

.light {
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 30%);
  width: 600px;
  height: 600px;
  background-blend-mode: lighten;
  position: fixed;
  pointer-events: none;
}

h1 {
  max-width: 400px;
  width: 100%;
  font-size: 24px;
  text-align: center;
  margin: 50px auto 30px;
}
h1 span {
  font-size: 16px;
  color: #666;
  font-weight: 400;
}

.js-tilt-container {
  transition: transform 0.1s ease;
  transform: rotateX(0) rotateY(0);
  transform-style: preserve-3d;
}

.leave {
  transform: rotateX(0) rotateY(0) !important;
  transition-timing-function: cubic-bezier(0.42, 0, 0, 1) !important;
  transition-duration: 1.5s;
}