html, body {margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background: #231f20;}

/* The canvas fills the window; index.html keeps its drawing buffer at the display pixel size. */
#unityContainer {position: absolute; top: 0; left: 0; width: 100vw; height: 100vh; overflow: hidden; background: #000;}

.webgl-content * {border: 0; margin: 0; padding: 0;}
.webgl-content {position: absolute; top: 0; left: 0;}

/* loading splash, appended into the container by UnityProgress.js */
#unityContainer .logo, #unityContainer .progress {position: absolute; left: 50%; top: 50%;
  -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);}
#unityContainer .logo {background: url('progressLogo.Light.png') no-repeat center / contain; width: 154px; height: 130px;}
#unityContainer .progress {height: 18px; width: 141px; margin-top: 90px;}
#unityContainer .progress .empty {background: url('progressEmpty.Light.png') no-repeat right / cover; float: right; width: 100%; height: 100%; display: inline-block;}
#unityContainer .progress .full {background: url('progressFull.Light.png') no-repeat left / cover; float: left; width: 0%; height: 100%; display: inline-block;}

#unityContainer .logo.Dark {background-image: url('progressLogo.Dark.png');}
#unityContainer .progress.Dark .empty {background-image: url('progressEmpty.Dark.png');}
#unityContainer .progress.Dark .full {background-image: url('progressFull.Dark.png');}

/* footer floats above the canvas instead of taking layout space */
.webgl-content .footer {position: fixed; right: 8px; bottom: 8px; height: 38px; line-height: 38px;
  font-family: Helvetica, Verdana, Arial, sans-serif; font-size: 18px; color: #ffffff;}
.webgl-content .footer .webgl-logo, .webgl-content .footer .title, .webgl-content .footer .fullscreen {height: 100%; display: inline-block; background: transparent center no-repeat;}
.webgl-content .footer .webgl-logo {background-image: url('webgl-logo.png'); width: 204px; float: left;}
.webgl-content .footer .title {margin-right: 10px; float: right;}
.webgl-content .footer .fullscreen {background-image: url('fullscreen.png'); width: 38px; float: right; cursor: pointer;}
