html {
  scroll-padding-top: 60px;
  scroll-behavior: smooth;
}


@media (max-width: 1920px) {
  .mobile-only-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* iOS 모멘텀 스크롤 */
    -ms-overflow-style: none;
    /* IE, Edge */
    scrollbar-width: none;
    /* Firefox */
  }

  .mobile-only-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
  }
}


@layer utilities {
  @keyframes wipeColor {
    0% {
      background-position: right;
    }

    100% {
      background-position: left;
    }
  }

  .text-wipe {
    background: linear-gradient(to left, #CFD8DC 50%, #EF3340 50%);
    background-size: 200% 100%;
    background-position: right;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
  }

  .animate-wipe {
    animation: wipeColor 1s ease-out forwards;
  }
}



.scroll_move {
  padding: 16px 0;
  text-decoration: none;
  border-bottom: 4px solid transparent;
  transition: border-color 0.2s ease;
}



.scroll_move.active-tab {
  border-bottom: 4px solid #EF3340;
  /* 클릭/기본 활성 탭 */
}




.content-section {
  --scroll-length: 1.5;
  width: 640px;
  height: 220px;
}

.content-section .content .subheading,
.content-section .content .paragraph {
  opacity: calc(1 + var(--viewport-y));
}

@media (max-width: 767px) {
  .content-section {
    width: auto;
    height: 160px;
  }
}

@media (min-width: 768px) and (max-width: 1023px){
  .content-section {
    width: 500px;
    height: 180px;
  }
}

@media (min-width: 1024px) {
  .content-section {
    width: 640px;
    height: 220px;
  }
}



.figure {
  --scale: calc(0.9 + 0.1 * var(--scroll-length) * var(--visible-y));
  position: sticky;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  background-color: #ffffff;
  transform: scale(var(--scale));
  will-change: transform, opacity;

  opacity: calc(var(--visible-y));
  transition: opacity 0.3s ease, transform 0.3s ease;
}



