body {
    display: flex;
    margin: 0;
    background: #000;
    /*font-family: "King", "Courier New", Courier, Serif;*/
    font-family: 'Glegoo', serif;
    /*color: #81bf74;*/
    color: #5ce8a5;
    font-size: 11px;
    text-transform: uppercase;
    text-shadow: 0 0 10px #81bf74;
    letter-spacing: 2px;
    font-weight: bold;
}

.wrapper {
    width: 100%;
    margin: 100px 20%;
    -webkit-transform: scale(1.4, 1);
    -moz-transform: scale(1.4, 1);
    -ms-transform: scale(1.4, 1);
    transform: scale(1.4, 1);
}

h1 {
    display: inline-block;
    margin: 0 0 50px 0;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    padding-bottom: 0px;
    border-bottom: 1px solid #81bf74;
    line-height: 16px;
}

#loading {
    display: block;
    border: none;
    font-family: "Courier", Serif;
    font-weight: 300;
    color: #5ce8a5;
}

#welcome {
    margin: 0 0 50px 0;
}

#userinput {
    display: inline-block;
    width: auto;
}

em {
    font-style: normal;
    color: #ffff80;
    text-shadow: 0 -1px 10px #ffff80;
}

input[type="text"] {
    opacity: 0.0;
    width: 100%;
    height: 40px;
    font-size: 14px;
    font-weight: bold;
    background: #000;
    font-family: 'Glegoo', serif;
    color: #5ce8a5;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px #81bf74;
    border: none;
    outline: 0;
}

hr {
    display: block;
    height: 0;
    margin: 0;
    padding: 0;
    background: #000;
    border: none;
}

pre {
    display: inline-block;
    margin: 0;
    line-height: 20px;
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: bold;
    font-family: 'Glegoo', serif;
    white-space: pre-wrap;
}

.pending {
    padding-bottom: 0px;
    border-bottom: 1px solid #81bf74;
}

a {
    font-family: 'Glegoo', serif;
    text-decoration: underline;
    color: #5ce8a5;
}



#video-container {
    display: none;
}

#video-container .credits {
    position: absolute;
    left: 50%;
    bottom: 20px;
    width: 500px;
    margin: 0 auto 0 -250px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    text-shadow: none;
    font-size: 9px;
    z-index: 2;
}

video {
    position: fixed;
    top: 50%; left: 50%;
    z-index: 1;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
} 

#video-container .skip {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    margin: 0;
    padding: 0;
}

#skip {
    color: rgba(255, 255, 255, 0.5);
    text-shadow: none;
}



#social {
    position: absolute;
    display: none;
    top: 20px;
    right: 20px;
    height: 20px;
    line-height: 20px;
}

#social ul {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

#social li {
    float: left;
    margin: 0 10px;
}

#social a {
    display: block;
    width: 20px;
    height: 20px;
    text-indent: -9999px;
    opacity: 0.3;
}

#social a:hover {
    opacity: 1.0;
}

#social .facebook a {
    background: url(images/facebook.png) no-repeat;
    background-size: 20px 20px;
}

#social .twitter a {
    background: url(images/twitter.png) no-repeat;
    background-size: 20px 20px;
}

#social .instagram a {
    background: url(images/instagram.png) no-repeat;
    background-size: 20px 20px;
}

#social .sound a {
    background: url(images/sound.png) no-repeat;
    background-size: 25px;
    background-position: 0 0;
}



.one {
    opacity: 0;
    -webkit-animation: dot 1.3s infinite;
    -webkit-animation-delay: 0.0s;
    -moz-animation: dot 1.3s infinite;
    -moz-animation-delay: 0.0s;
    -o-animation: dot 1.3s infinite;
    -o-animation-delay: 0.0s;
    animation: dot 1.3s infinite;
    animation-delay: 0.0s;
}

.two {
    opacity: 0;
    -webkit-animation: dot 1.3s infinite;
    -webkit-animation-delay: 0.2s;
    -moz-animation: dot 1.3s infinite;
    -moz-animation-delay: 0.2s;
    -o-animation: dot 1.3s infinite;
    -o-animation-delay: 0.2s;
    animation: dot 1.3s infinite;
    animation-delay: 0.2s;
}

.three {
    opacity: 0;
    -webkit-animation: dot 1.3s infinite;
    -webkit-animation-delay: 0.3s;
    -moz-animation: dot 1.3s infinite;
    -moz-animation-delay: 0.3s;
    -o-animation: dot 1.3s infinite;
    -o-animation-delay: 0.3s;
    animation: dot 1.3s infinite;
    animation-delay: 0.3s;
}




.menu {
    display: none;
    width: 420px;
    margin: 0 auto;
}

div.menu div.left
{
    float: left;
}

div.menu div.right
{
    float: right;
}

div.menu div.left p, div.menu div.right p
{
    margin-top: 0px;
    margin-bottom: 0px;
}

div.menu div.left p span, div.menu div.right p span
{
    width: 4em;
    float: right;
    text-align: left;
    padding-left: 30px;
}




@media only screen and (min-width: 320px) and (max-width: 640px) {

    body {
        width: auto;
        margin: 0;
        padding: 15px;
    }

    .wrapper {
        width: 71%;
        margin-top: 60px;
    }

    #welcome {
        width: 100%;
    }

    #video-container .credits {
        position: absolute;
        left: 0;
        bottom: 20px;
        width: 100%;
        margin: 0 auto;
        text-align: center;
        color: rgba(255, 255, 255, 0.5);
        text-shadow: none;
        font-size: 9px;
        z-index: 2;
    }

}




@-webkit-keyframes dot {
      0% { opacity: 0; }
     50% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes dot {
      0% { opacity: 0; }
     50% { opacity: 0; }
    100% { opacity: 1; }
}
