html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: rgb(255, 255, 255); /* Page background color */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
    color: #8a8a8a; /* Color of brackets in [100%] */
}

a {
    color: #8a8a8a; /* Color of number in [100%] */
    text-decoration: none;
}

a.selected {
    text-decoration: underline;
}

#container {
    margin: 0;
    padding: 0;
    max-height: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

object, embed {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    image-rendering: optimizeSpeed;             /* STOP SMOOTHING, GIVE ME SPEED  */
    image-rendering: -moz-crisp-edges;          /* Firefox                        */
    image-rendering: -o-crisp-edges;            /* Opera                          */
    image-rendering: -webkit-optimize-contrast; /* Chrome (and eventually Safari) */
    image-rendering: pixelated; /* Chrome */
    image-rendering: optimize-contrast;         /* CSS3 Proposed                  */
    -ms-interpolation-mode: nearest-neighbor;   /* IE8+                           */

}

#container.fullscreen object, #container.fullscreen embed{
    width: 100%;
    height: 100%;
}

#controls {
    position: fixed;
    bottom: 16px;
    left: 12px;
    right: 12px;
}

#controls.fullscreen {
    display: none;
}

#controls span {
    font-size: 12px;
    float: left;
    }