body {
    margin: 0;
    padding: 0;
    background-color: #000;
}

section {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
}

section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to right,
    #000, #F55, #ff5, #5f5, #5ff, #55F, #00F);
    mix-blend-mode: color-burn;
}

video {
    object-fit: contain;
    overflow: hidden;
}

h1 {
    margin: 0;
    padding: 0;
    position: absolute;
    top: calc(50% - .5em);
    width: 90%;
    min-width: 480px;
    display: flex;
    flex-direction: row;
    flex-flow: nowrap;
    flex-grow: 1;
    flex-shrink: 0;
    justify-content: space-around;
    text-align: center;
    color: white;
    font-size: 5em;
    font-family: sans-serif;
    text-shadow: 0 0 0.25em white;
    animation: squeeze 2s linear forwards 5s,
            darken 4s linear forwards 8s,
            pulse 3s linear infinite alternate 12s;
}

@keyframes squeeze {
    0% {
        width: 90%;
        top: calc(50% - .5em);
    }
    100% {
        font-size: 4em;
        width: 480px;
        top: .25em;
    }
}

@keyframes darken {
    0% {
        color: #fff;
    }
    100% {
        color: #F00;
    }
}

@keyframes pulse {
0% {
  text-shadow: 0 0 0.3em white;
}
100% {
  text-shadow: 0 0 0.1em var(--bg-color);
}
}

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

@keyframes animate {
    0% {
        opacity: 0;
        transform: rotateY(90deg);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: rotateY(0deg);
        filter: blur(0);
    }
}

h1 span:nth-child(1)
{
    animation-delay: 0.66s;
}
h1 span:nth-child(2)
{
    animation-delay: 1s;
}
h1 span:nth-child(3)
{
    animation-delay: 1.33s;
}
h1 span:nth-child(4)
{
    animation-delay: 1.66s;
}
h1 span:nth-child(5)
{
    animation-delay: 2s;
}
h1 span:nth-child(6)
{
    animation-delay: 2.33s;
}
h1 span:nth-child(7)
{
    animation-delay: 2.66s;
}
h1 span:nth-child(8)
{
    animation-delay: 3s;
}
h1 span:nth-child(9)
{
    animation-delay: 3.33s;
}

.slideshow {
    width: 100%;
    position: absolute;
    background: linear-gradient(to bottom, #000, #989, #989, #000 100%);
    animation: pullup 2s ease-out forwards 6s;
}

@keyframes pullup {
    0% {
        top: 100vh;
    }
    100% {
        top: 120px;
    }
}
