/* global.css */
html, body {
  margin: 0;
  padding: 0;
  background-color: #FFFAF2;
  color: #5B4AE5;
  font-family: 'East Sea Dokdo', cursive;
  height: auto;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}


.scroll-container {
  overflow-x: hidden;
  height: 100vh;
}

.scroll-container {
  overflow-y: scroll;
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* iOS 更丝滑 */
  scrollbar-width: none; /* Firefox 隐藏滚动条 */
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.scroll-container.scroll-locked {
  overflow-y: hidden;
  overflow-x: hidden; 
  height: 100vh;
}

section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  scroll-snap-align: start; /* 或 center，根据你要吸附到哪 */
}

.spacer {
  height: 100vh;
}

.char {
  display: inline-block;
  will-change: transform, opacity;
  
}

#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 64px;
  height: 64px;
  background-image: url('images/Acursor.png');
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(0, 0, 0);
  transition: top 0.1s ease, left 0.1s ease;
  display: none;
}


.brush-teeth-section{
  cursor: none;
}

/* rush section */
#rush-traffic-wrapper,
#rush-horizontal,
.rush-text {
  cursor: none !important;
}

/* traffic jam section */
#traffic-jam,
#traffic-video {
  cursor: none !important;
}

/* brush teeth section */
#brush-section,
#brush-pinned-block {
  cursor: none !important;
}

/* low battery section */
#lowbattery-section,
.lowbattery-text {
  cursor: none !important;
}

/* outro section */
#traffic-outro {
  cursor: none !important;
}

/* Ending Section */
#ending-section {
  cursor: none !important;
}


