.parallax-image {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 300px;
  overflow: hidden;
  max-height: 800px;
}

.parallax-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center;
  will-change: transform;
  pointer-events: none;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .parallax-image {
    height: 60vh;
  }
}

@media (max-width: 768px) {
  .parallax-image {
    height: 50vh;
  }
}

@media (max-width: 600px) {
  .parallax-image {
    height: 40vh;
    max-height: 300px;
  }
}