main::-webkit-scrollbar {
    display: none;
}
figure {
    margin: 0;
  }
  
  .scroll-container {
    height: 100dvh;
    overflow: scroll;
    scroll-snap-type: y mandatory;
    z-index: 1;
    position: relative;
    display: grid;
  }
  
  .scroll-item {
    position: relative;
    scroll-snap-align: start;
    /*height: 100dvh;*/
    height: -webkit-fill-available;
    background-color: #212121;
  }
  .scroll-item:nth-child(2) {
    background-color: #E040FB;
  }
  .scroll-item:nth-child(2n) h2 {
    background-color: #1d276b;
  }
  .scroll-item:nth-child(3n) .scroll-item__bg-image img {
    object-position: bottom;
  }
  .scroll-item h2 {
    position: sticky;
    top: 0;
    margin: 0;
    padding: 1rem;
    background-color: #283593;
    color: #a1aae6;
    z-index: 1;
  }
  
  .scroll-item__content {
/*    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;*/
    height: 100dvh;
    transition: opacity 800ms, transform 800ms;
  }

  
  .scroll-item__inner {
    transition: opacity 800ms, transform 800ms;
    opacity: 1;
    transform: translate3d(0, -1.5rem, 0);
    width: 100%;
  }
  /*
  .scroll-item__inner.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  */
  .scroll-item__bg-image {
    width: 100%;
    height: 100dvh;
    position: absolute;
    top: 0;
    left: 0;
  }
  .scroll-item__bg-image img {
    width: 100%;
    height: 100dvh;
    object-fit: cover;
    display: block;
  }
  .scroll-item__bg-image::after {
    display: block;
    content: '';
    width: 100%;
    height: 100dvh;
    position: absolute;
    top: 0;
    left: 0;
  /*  background: rgba(0, 0, 0, 0.7) !important; */
   transition: background 1000ms; 
  }
  .scroll-item__bg-image.is-visible::after {
  background: rgba(0, 0, 0, 0.0); 
  }




  /* 태블릿 */
@media all and (min-width:479px) and (max-width:1050px) {
  .scroll-item__inner {
    margin: 15px;

  }
}







/* 모바일 */
@media all and (max-width:479px) {
  .scroll-item__inner {
    margin: 0px;
    display: block;
    padding-top: 20%;
  }
}