*{
    margin: 0px;
}

div{
    height: 100vh;
    background-color: black;
}

video{
    object-fit: contain;
}

h1{
    position: absolute;
    color: white;
    margin: 0px;
    top: 50%;
    margin-left: 40%;
}

h1 span{
    animation: name 5s linear forwards;
    opacity: 0;
    display: inline-block;
}

@keyframes name{
    0%{
        transform: rotateY(90deg);
        opacity: 0;
    }
    100%{
        transform: rotateY(0deg);
        opacity: 1;
    }
}

h1 span:nth-child(1){
    animation-delay: 1.5s;
}

h1 span:nth-child(2){
    animation-delay: 2s;
}

h1 span:nth-child(3){
    animation-delay: 2.5s;
}

h1 span:nth-child(4){
    animation-delay: 3s;
}

h1 span:nth-child(5){
    animation-delay: 3.5s;
}