body, html {
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 100%;
}

.snap-container-y {
  width: 100vw;
  height: 100dvh;
  overflow: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.snap-container-x {
  width: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.section, .section-container {
  width: 100vw;
  height: 100dvh;
  scroll-snap-align: start;
  display: flex;
  /*
  justify-content: center;
  align-items: center;
  */
  font-size: 2em;
  color: white;
}

.section-x {
  min-width: 100vw;
  height: 100%;
  scroll-snap-align: start;
  display: flex;
  /*
  justify-content: center;
  align-items: center;
  */
  font-size: 2em;
  color: white;
}

.section-sx {
  width: 100vw;
  height: 20dvh;
  scroll-snap-align: center;
  display: flex;
  /*
  justify-content: center;
  align-items: center;
  */
  font-size: 2em;
  color: white;
  margin-top: 40dvh;
  margin-bottom: 40dvh;
}

#section1 {
  background-color: rgba(241, 196, 15, 0.137254902);
}

#section2 {
  background-color: rgba(230, 125, 34, 0.1843137255);
}

#section3 {
  background-color: rgba(231, 77, 60, 0.1568627451);
}

#section4 {
  background-color: rgba(141, 68, 173, 0.2156862745);
}

#section5 {
  background-color: rgba(41, 127, 185, 0.1725490196);
}

#section6 {
  background-color: rgba(22, 160, 132, 0.1254901961);
}

#section7 {
  background-color: rgba(39, 174, 95, 0.1607843137);
}

#section8 {
  background-color: #2c3e50;
}

#chapter {
  background-color: #27ae60;
}

/* Progress Bar */
.progress-bar-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-image: linear-gradient(to right, #ff6ec4, #7873f5);
  display: block;
}

.progress-bar {
  height: 100%;
  background-color: #47b3ff;
}

#toggleProgressBar {
  position: sticky;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

/* FlipBook */
#animation-canvas {
  position: sticky;
  top: 0;
  width: 100dvw;
  height: 100dvw;
  /*
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);

  max-height: 50dvh;
  max-width: 100vw;
  */
  /*
  background-color: #e67e22;
  */
  pointer-events: none;
}

.story-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px;
}

.story-section .image-container {
  width: 100%; /* Image container will fill the entire width */
  margin-bottom: 20px;
}

.story-section .image-container img {
  width: 100%; /* Image will fill the entire width */
}

.story-section .text {
  text-align: left;
  font-size: 3.5vh;
  line-height: 5vh;
  font-family: "Noto Sans", sans-serif;
  font-weight: 600;
  color: #2c3e50;
  margin: 10px;
}

.title-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100dvh; /* Takes up the full viewport height */
}

.title-section .image-container {
  max-width: -moz-fit-content;
  max-width: fit-content; /* Adjust as needed */
  max-height: -moz-fit-content;
  max-height: fit-content; /* Adjust as needed */
}

.title-section .image-container img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain; /* Ensures the image maintains its aspect ratio */
  border-radius: 15px;
}

.button {
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}/*# sourceMappingURL=main.css.map */