.info {
  width:100%;
  padding:12px;
  box-sizing: border-box;
}

/* webgl layout */

.webgl-wrapper {
  width: calc(100% - 320px);
  height: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

#gameContainer {
  width: 100%;
  height: calc(100vh - 145px);
}

.webgl-content * {
  border: 0;
  margin: 0;
  padding: 0;
}

.webgl-content {
  position: relative;
  width: 100%;
  background: #ccc;
}

#gameContainer canvas {
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
}

#stackybird-io_728x90 {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 0);
  transform-origin: center bottom;
  width: 728px;
  height: 90px;
  z-index: -5;
}

@media screen and (max-width: 1024px) {
  #gameContainer {
    height: 96vh;
  }
}

@media screen and (max-width: 720px) {
  #gameContainer {
    height: 78vh;
  }
}

.webgl-content .logo, .progress-loader {position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);}
.webgl-content .logo {background: url('../images/progressLogo.Light.png') no-repeat center / contain; width: 154px; height: 130px;}
.webgl-content .progress-loader {height: 18px; width: 141px; margin-top: 90px;}
.webgl-content .progress-loader .empty {float: right; width: 100%; height: 100%; display: inline-block; box-sizing: border-box;}
.webgl-content .progress-loader .full {float: left; width: 0%; height: 100%; display: inline-block; box-sizing: border-box;}
.webgl-content .logo.Dark {background-image: url('../images/progressLogo.Dark.png');}
.webgl-content .progress-loader.Dark .empty {border-style: solid; border-width: 2px; border-color: white;}
.webgl-content .progress-loader.Dark .full {background-color: white;}
.webgl-content .footer {margin-top: 5px; height: 38px; line-height: 38px; font-family: Helvetica, Verdana, Arial, sans-serif; font-size: 18px;}
.webgl-content .footer .webgl-logo, .title, .fullscreen {height: 100%; display: inline-block; background: transparent center no-repeat;}
.webgl-content .footer .webgl-logo {background-image: url('../images/webgl-logo.png'); width: 204px; float: left;}
.webgl-content .footer .title {margin-right: 10px; float: right;}
.webgl-content .footer .fullscreen {background-image: url('../images/fullscreen.png'); width: 38px; float: right; cursor:pointer;}

/* Banner Media Queries */
/* In here, we resize the banner */
@media(max-width: 727px) or (max-height: 980px) {
  #stackybird-io_728x90 {
    transform: translate(-50%, 0) scale(0.9);
  }
}

@media(max-width: 655px) or (max-height: 900px) {
  #stackybird-io_728x90 {
    transform: translate(-50%, 0) scale(0.8);
  }
}

@media(max-width: 582px) or (max-height: 800px) {
  #stackybird-io_728x90 {
    transform: translate(-50%, 0) scale(0.7);
  }
}

@media(max-width: 509px) or (max-height: 727px) {
  #stackybird-io_728x90 {
    transform: translate(-50%, 0) scale(0.6);
  }
}

@media(max-width: 436px) or (max-height: 636px) {
  #stackybird-io_728x90 {
    transform: translate(-50%, 0) scale(0.5);
  }
}

@media(max-height: 436px) {
  #stackybird-io_728x90 {
    transform: translate(-50%, 0) scale(0.4);
  }
}
