body {
    font: 0.8em Verdana,sans-serif;
    background: black;
    color: white;
}

a {
    color: #DDEEFF;
    text-decoration: none;
}

a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

h2 {
    font-size: 1.1em;
    text-align: center;
}

#stats {
    position: fixed;
    top: 25px;
    right: 20px;
    z-index: 2;
    pointer-events: none;
    opacity: 0.75;
}

#brand {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 2;
    pointer-events: none;
    opacity: 0.75;
}

#viewport-frame, #webgl-error {
    position: fixed;
    top:0;
    left:0;
    margin: 0;
    width: 100%;
    height: 100%;
}

canvas {
    width: 100%;
    height: 100%;
    cursor: move;
    text-align: center;
    background-color: black;
    display: none;
}

#viewport-info {
    position: fixed;
    bottom: 20px;
    left: 50%;
    margin: auto;
    margin-left: -411px;
    width: 854px;
    opacity: 0.75;
}

#viewport-info h3 {
    margin: 2px;
}

#viewport-info ul {
    list-style: none;
    padding-right: 20px;
    padding-left: 20px;
}

#controls, #config {
    float: left;
    width: 411px;
    height: 120px;
    margin: 5px;
    margin-top: 10px;
    padding: 3px;
    background-color: black;
    border-radius: 5px;
    opacity: 0.5;
}

#config {
    text-align: right;
}

#fullscreenBtn {
    cursor: pointer;
}

#viewport-frame:-moz-full-screen, :-moz-full-screen canvas {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
}

#viewport-frame:-webkit-full-screen, :-webkit-full-screen canvas {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
}

#loading {
    position: fixed;
    margin: auto;
    margin-left: -210px;
    top: 20%;
    left: 50%;
    padding: 10px;
    border: 2px solid #666;
    border-radius: 5px;
    width: 400px;
    z-index: 5;
    background-color: black;
    text-align: center;
    vertical-align: middle;
    pointer-events: none;
}


/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {
    h2, #viewport-info {
        display: none !important;
    }

    #webgl-error {
        width: 100%;
        height: 100%;
    }

    #viewport-frame
     {
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
    }

    canvas {
        position: absolute;
        top: 0;
        left: 0;
        cursor: move;
        background-color: black;
        display: none;
        text-align: center;
        width: 100%;
        height: 100%;
    } 
}
