@import url('https://fonts.googleapis.com/css2?family=Public+Sans&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Public Sans', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #000000;
}

h2 {
    position: relative;
    margin: 20px 0 0;
    font-size: 4em;
    font-weight: 900;
    color: #ffffff;
    z-index: 1;
    overflow: hidden;
}

h2:before {
    content: '';
    position: absolute;
    left: 0;
    width: 120%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, #000000 5%, #000000 100%);
    animation: animate 5.5s linear forwards;
    animation-delay: 1.2s;
}

@keyframes animate {
    0% {
        left: 120%;
    }

    100% {
        left: 5%;
    }
}

h2 span {

    color: #ff022c
}

video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: screen;
}