@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;700&display=swap');

body {
    font-family: 'Space Grotesk', sans-serif;
    overflow: hidden;
}

#content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

#videoBg {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

@media only screen and (min-width: 993px) {
    #top-stripe {
        height: 10vh;
        font-size: 30px;
    }

    #bottom-stripe {
        font-size: 24px;
        padding-top: 15px;
        height: 50px;
    }

    #videoBg {
        object-fit: cover;
    }

}

@media only screen and (max-width: 992px) {
    #top-stripe {
        min-height: 100px;
        font-size: 20px;
    }

    #bottom-stripe {
        font-size: 18px;
        padding-top: 15px;
        min-height: 50px;
    }

    #videoBg {
        object-fit: contain;
    }

}

#main {
    height: 100vh;
}

#top-stripe {
    background-color: white;
    color: black;
    padding-top: 25px;
    text-transform: uppercase;
    position: fixed;
    top: 0;
    z-index: 5;
}


#bottom-stripe {
    position: fixed;
    bottom: 0;
    background: rgb(255, 255, 255);
    color: #000000;
    width: 100%;
    padding: 20px;
    height: 100px;
    z-index: 5;
}

#top-logo {
    padding: 30px;
}

.top-text {
    padding: 10px;

}

.top-text > a {
    color: black;
    text-decoration: none;
}

.top-text > a:hover {
    color: black;
    text-decoration: underline;
}

.crawl {
    width: 7000px;
    padding: 10px 0;
    color: #000000;
    font-size: 36px;
    text-transform: uppercase;
}

.crawl > * {
    display: inline-block;
    animation: news 40s infinite linear;
}

@keyframes news {
    0% {transform: translateX(0);}
    100% {transform: translateX(-4135px);}
}

/*.crawl {
    height: 50px;
    overflow: hidden;
    position: relative;
}
.crawl h3 {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    line-height: 50px;
    text-align: center;

    !* Starting position *!
    -moz-transform:translateX(100%);
    -webkit-transform:translateX(100%);
    transform:translateX(100%);

    !* Apply animation to this element *!
    -moz-animation: crawl 15s linear infinite;
    -webkit-animation: crawl 15s linear infinite;
    animation: crawl 15s linear infinite;
}*/

/* Move it (define the animation) */
@-moz-keyframes crawl {
    0%   { -moz-transform: translateX(100%); }
    100% { -moz-transform: translateX(-100%); }
}
@-webkit-keyframes crawl {
    0%   { -webkit-transform: translateX(100%); }
    100% { -webkit-transform: translateX(-100%); }
}
@keyframes crawl {
    0%   {
        -moz-transform: translateX(100%); /* Firefox bug fix */
        -webkit-transform: translateX(100%); /* Firefox bug fix */
        transform: translateX(100%);
    }
    100% {
        -moz-transform: translateX(-100%); /* Firefox bug fix */
        -webkit-transform: translateX(-100%); /* Firefox bug fix */
        transform: translateX(-100%);
    }
}

