html, body {
    width: 100%;
    height:100%;
}

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

.video-wrapper {
    display: inline-flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.intro {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    font-size: 24px;
    line-height: 24px;
    color: rgba(40, 57, 77, 0.98);
    text-shadow: 2px 2px black;
    text-align: center;
    transform: translate(-50%, -50%);
    -webkit-animation: color-change 6s infinite;
    -moz-animation: color-change 6s infinite;
    -o-animation: color-change 6s infinite;
    -ms-animation: color-change 6s infinite;
    animation: color-change 6s infinite;
    display: none;
    z-index: 2;
}

.grid {
    position: relative;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
}

.border {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 300px;
    width: 100%;
    transform: translate(-50%, -50%);
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.footer {
    position: absolute;
    bottom: 50px;
    width: 100%;
    text-align: center;
    font-size: 10px;
    color: rgba(111, 134, 161, 0.98);
    z-index: 2;
}

.enter {
    font-size: 20px;
    padding-bottom: 15px;
}

.enter a,
.enter a:visited,
.enter a:hover,
.enter a:active
{
    color: rgba(111, 134, 161, 0.98);
    text-decoration: none;
}

@-webkit-keyframes color-change {
    0% { color: rgba(40, 57, 77, 0.98); }
    50% { color: rgba(111, 134, 161, 0.98); }
    100% { color: rgba(40, 57, 77, 0.98); }
}

@-moz-keyframes color-change {
    0% { color: rgba(40, 57, 77, 0.98); }
    50% { color: rgba(111, 134, 161, 0.98); }
    100% { color: rgba(40, 57, 77, 0.98); }
}

@-ms-keyframes color-change {
    0% { color: rgba(40, 57, 77, 0.98); }
    50% { color: rgba(111, 134, 161, 0.98); }
    100% { color: rgba(40, 57, 77, 0.98); }
}

@-o-keyframes color-change {
    0% { color: rgba(40, 57, 77, 0.98); }
    50% { color: rgba(111, 134, 161, 0.98); }
    100% { color: rgba(40, 57, 77, 0.98); }
}

@keyframes color-change {
    0% { color: rgba(40, 57, 77, 0.98); }
    50% { color: rgba(111, 134, 161, 0.98); }
    100% { color: rgba(40, 57, 77, 0.98); }
}

@media (min-aspect-ratio: 16/9) {
    .video-wrapper >  #intro {
        height: 300%;
        top: -100%;
    }
}

@media (max-aspect-ratio: 16/9) {
    .video-wrapper > #intro {
        width: 300%;
        left: -100%;
    }
}
