/* *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* background: url(./pexels_videos_2324166\ \(2160p\).mp4); */
/* } */

video{
    object-fit: cover;
    
} 

.bg-video-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    background: url(./pexels_videos_2324166\ \(2160p\).mp4) no-repeat center auto;
  }
  video {
    min-width: 100%;
    min-height: 100%;
    z-index: 1;
  }
  .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: linear-gradient(45deg, rgba(0,0,0,.3) 50%, rgba(0,0,0,.7) 50%);
    background-size: 3px 3px;
    z-index: 2;
  }
section{
    background:#000 ;
}

h1{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
    letter-spacing: 1rem;
    text-transform: uppercase;
    color: #f5f5f5;
    font-size: 5em;
    font-family: sans-serif;
}

h1 span{
    display: inline-block;
    animation: animate 1s  ease-in-out;

}

@keyframes animate{
    0%{
        opacity: 0%;
        transform: rotateY(90deg);
        filter: blur(10px);
    }
    100%{
        opacity: 1;
        transform: rotateY(0deg);
        filter: blur(0px);
}
}
h1 span:nth-child(1)
{
    animation-delay: 0.6s;
}
h1 span:nth-child(2)
{
    animation-delay: 1s;
}
h1 span:nth-child(3)
{
    animation-delay: 1.7s;
}
h1 span:nth-child(4)
{
    animation-delay: 2.3s;
}
h1 span:nth-child(5)
{
    animation-delay: 2.7s;
}
h1 span:nth-child(6)
{
    animation-delay: 3.2s;
}
h1 span:nth-child(7)
{
    animation-delay: 3.7s;
}
h1 span:nth-child(8)
{
    animation-delay: 4s;
}


h1 span:nth-child(9)
{
    animation-delay: 4.6s;
}
h1 span:nth-child(10)
{
    animation-delay: 5s;
}
h1 span:nth-child(11)
{
    animation-delay: 5.7s;
}
h1 span:nth-child(12)
{
    animation-delay: 6s;
}
h1 span:nth-child(13)
{
    animation-delay: 6.7s;
}
h1 span:nth-child(14)
{
    animation-delay: 7s;
}
h1 span:nth-child(15)
{
    animation-delay: 7.7s;
}
h1 span:nth-child(16)
{
    animation-delay: 8s;
}
h1 span:nth-child(17)
{
    animation-delay: 8.7s;
}
h1 span:nth-child(18)
{
    animation-delay: 9s;
}
h1 span:nth-child(19)
{
    animation-delay: 9.7s;
}
h1 span:nth-child(20)
{
    animation-delay: 9.7s;
}
h1 span:nth-child(21)
{
    animation-delay: 10s;
}