/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
    box-sizing: border-box;
  }
  
  /* 2. Remove default margin */
  * {
    margin: 0;
  }
  
  body {
    /* 3. Add accessible line-height */
    line-height: 1.5;
    /* 4. Improve text rendering */
    -webkit-font-smoothing: antialiased;
  }
  
  /* 5. Improve media defaults */
  img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
  }
  
  /* 6. Inherit fonts for form controls */
  input, button, textarea, select {
    font: inherit;
  }
  
  /* 7. Avoid text overflows */
  p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
  }
  
  /* 8. Improve line wrapping */
  p {
    text-wrap: pretty;
  }
  h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
  }
  
  /*
    9. Create a root stacking context
  */
  #root, #__next {
    isolation: isolate;
  }

  #site-comp {
    width: 100%;
  }

  body {
    background: #000;
    font-family: Helvetica, sans-serif;
  }


  html, body {
    overflow-y: hidden;
  }

  .frame {
    position: relative;
    width: 100vw;
    height: 100vh;
  }

  .animated {
    position: absolute;
    top: 50%; /* Center vertically */
    transform: translateY(-50%);
    background: #000;
    animation: moveBackForth 5s ease-in-out infinite; /* Move continuously */
  }

  h1 {
    font-size: 90px;
    color: #fff;
  }

  /* Stagger the animations */
.animated:nth-child(1) {
  animation-delay: 0s;
}
.animated:nth-child(2) {
  animation-delay: 0.5s;
}
.animated:nth-child(3) {
  animation-delay: 1s;
}
.animated:nth-child(4) {
  animation-delay: 1.5s;
}
.animated:nth-child(5) {
  animation-delay: 1.8s;
}
.animated:nth-child(6) {
  animation-delay: 1.9s;
}
.animated:nth-child(7) {
  animation-delay: 2s;
}
.animated:nth-child(8) {
  animation-delay: 2.4s;
}
.animated:nth-child(9) {
  animation-delay: 2.6s;
}
.animated:nth-child(10) {
  animation-delay: 2.9s;
}
.animated:nth-child(11) {
  animation-delay: 3s;
}
.animated:nth-child(12) {
  animation-delay: 3.3s;
}
.animated:nth-child(13) {
  animation-delay: 3.4s;
}
.animated:nth-child(14) {
  animation-delay: 3.7s;
}
  
  @keyframes moveBackForth {
    0% {
      left: 0; /* Start at the left edge */
    }
    50% {
      left: calc(100% - 100px); /* Move to the right edge minus the div's width */
    }
    100% {
      left: 0; /* Return to the left edge */
    }
  }