/* src/VideoScroller.css */
* {
  box-sizing: border-box;
}

body, #root {
  background: #000;
  margin: 0;
  padding: 0;
}

.App {
  text-align: center;
  font-family: sans-serif;
}

.container {
  display: flex;
  align-items: center;
  gap: 10px;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overflow-y: auto;
  position: fixed;
  scroll-padding-top: 0;
  overscroll-behavior: contain;
  transform: translateZ(0);
  scroll-padding: 0;
  -webkit-overflow-scrolling: touch;
  overflow: hidden auto;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  inset: 0;
}

.item {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  max-width: 560px;
  height: 100vh;
  min-height: 100vh;
  margin: 0;
  scroll-margin: 0;
}

.item:first-child, .item:first-of-type {
  margin-top: 0;
}

video {
  object-fit: contain;
  transition: opacity .3s ease;
  width: 100%;
  height: 100%;
}

.intro-page {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  padding: 10px 0;
}

@media screen and (min-width: 400px) {
  .intro-page {
    padding: 30px 0;
  }
}
