/* Riftorn aspect-fit template: the canvas is sized to the largest 16:9 rect that fits the window
   (see fitCanvas in index.html) and centered; everything else is black, which forms the
   letterbox / pillarbox bars. */
html, body { width: 100%; height: 100%; padding: 0; margin: 0; overflow: hidden; background: #000 }
#unity-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #000 }
#unity-canvas { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #000 }
#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
#unity-logo { width: 154px; height: 130px; background: url('unity-logo-dark.png') no-repeat center }
#unity-progress-bar-empty { width: 141px; height: 18px; margin-top: 10px; margin-left: 6.5px; background: url('progress-bar-empty-dark.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }
#unity-fullscreen-button { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; cursor: pointer; opacity: 0.35; background: url('fullscreen-button.png') no-repeat center; transition: opacity 0.15s }
#unity-fullscreen-button:hover { opacity: 1 }
