html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.section-height {
  min-height: 100vh;
}

.sticky-image-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#sticky-image {
  max-height: 100%;
  width: 450px;
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

#sticky-image.fade-out {
  opacity: 0.8;
}

#sticky-image.fade-in {
  opacity: 1;
}

.content-slide {
  opacity: 0.5;
  transition: opacity 0.3s ease-in-out;
}

.content-slide.active {
  opacity: 1;
}

#card-container {
  will-change: transform, opacity;
}

@media (min-width: 768px) and (max-width: 1023px) {
  #sticky-image {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease-in-out;
  }
}
