* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    background-color: #000000;
    color: white;
    overflow-x: hidden;
    font-family: sans-serif;
  }
  
.scroll-sequence-container {
    /* height: 5000px; */
    position: relative;
    /* display: none; */
}

.scroll-buffer {
    height: calc(var(--animation-height, 4000px)); /* dynamically changed  in the js file */
}
  
#animation-canvas {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 10;
  pointer-events: none;
  margin: 0 auto;
  margin-left: 50%;
  transform: translateX(-50%);
  /* background-color: black; */
}
  
.revealed-text-container {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}
  
.revealed-content {
  text-align: center;
  max-width: 600px;
  opacity: 0;
  /* transition: opacity 0.3s ease-out; */
  transform: scale(0.9); /* start smaller */
  transition: opacity 0.3s ease-out, transform 0.6s ease-out;
  pointer-events: none;
}
  
.page-content {
  padding: 4rem;
  background-color: #222;
  min-height: 100vh;
}
  
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  z-index: 9999;
}

/* MOBILE SECTION (INSTEAD OF ANIMATED FRAMES) */
#mobile-hero-section{
  display: none;
  justify-content: center;
  align-items: center;
  /* height: 100vh; */
}

#mobile-hero-section .hero-section {
  position: absolute;
}

#mobile-hero-section img{
  object-fit: contain;
  height: 100%;
}

@media only screen and (max-width: 720px) {
  .scroll-sequence-container{
    display: none;
  }
  #mobile-hero-section{
    display: flex;
    width: 100vw;
    min-height: 100vh;
    height: auto;
    overflow: hidden;
  }
}