@font-face {font-family:"Burbank";src:url("../fonts/Burbank Big Regular Black.woff") format("woff"),url("../fonts/Burbank Big Regular Black.ttf") format("truetype");font-weight:normal;font-style:normal;}

html, body {
  width: 100%;
  height: 100%;
  background-color: #000;
  color: #fff;
  margin: 0px;
  padding: 0;
  overflow: hidden;
  font-family: Burbank,sans-serif;
}

body {
    position: fixed;
    width: 100%;
    height: 100vh;
    -webkit-user-select: none;
    user-select: none;
    background-color: #000;
}

canvas {
  position: absolute;
  top: 0;
}

#actionButtons {
  position: absolute;
  left: 50%;
  bottom: 15px;
  transform: translate(-50%, 0);
  margin: 0px;
  margin-bottom: 1em;
  z-index: 101;
  display: block;
  width: 100%;
  line-height: 2em;
  text-align: center;
  pointer-events: all;
}

#loaderBarHolder {
  position: absolute;
  z-index: 2000;
  top: 5px;
  right: 5px;
  height: 5px;
  width: 150px;
  background-color: #e00a1c;
  display: none;
  opacity: 0.5;
}

#loaderBar {
  height: 100%;
  width: 0%;
  background-color: #0ae01c;  
}

#miniFigSpeech {
  font-size: 30px;
  padding: 15px;
}

.actionButton, .actionButtonRound {
  padding: 25px;
  min-width: 250px;
  padding-left: 20px;
  padding-right: 20px;
  background-color: #e00a1c;
  font-size: 22px;
  display:none;
  border-radius: 5px;
  color: #fff;
  -webkit-tap-highlight-color: rgba(100,0,10,0.35);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  
  border: 1px solid #d53f3f;
  background-image: linear-gradient(bottom, rgb(195, 43, 43) 0%, rgb(213, 65, 65) 100%);
  background-image: -o-linear-gradient(bottom, rgb(195, 43, 43) 0%, rgb(213, 65, 65) 100%);
  background-image: -moz-linear-gradient(bottom, rgb(195, 43, 43) 0%, rgb(213, 65, 65) 100%);
  background-image: -webkit-linear-gradient(bottom, rgb(195, 43, 43) 0%, rgb(213, 65, 65) 100%);
  background-image: -ms-linear-gradient(bottom, rgb(195, 43, 43) 0%, rgb(213, 65, 65) 100%);

  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  text-shadow: 0px -1px 0px rgba(0,0,0,.5);
  -webkit-box-shadow: 0px 6px 0px #8d1f1f, 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
  -moz-box-shadow: 0px 6px 0px #8d1f1f, 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
  box-shadow: 0px 6px 0px #8d1f1f, 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
}

.actionButtonRound {
  width: 100px;
  min-width: 100px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
}

.actionButton:active, .actionButtonRound:active {
  -webkit-box-shadow: 0px 2px 0px #8d1f1f, 0px 1px 6px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
  -moz-box-shadow: 0px 2px 0px #8d1f1f, 0px 1px 6px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
  box-shadow: 0px 2px 0px #8d1f1f, 0px 1px 6px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
    background-image: linear-gradient(bottom, rgb(141, 31, 31) 0%, rgb(195, 43, 43) 100%);
    background-image: -o-linear-gradient(bottom, rgb(141, 31, 31) 0%, rgb(195, 43, 43) 100%);
    background-image: -moz-linear-gradient(bottom, rgb(141, 31, 31) 0%, rgb(195, 43, 43) 100%);
    background-image: -webkit-linear-gradient(bottom, rgb(141, 31, 31) 0%, rgb(195, 43, 43) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(141, 31, 31) 0%, rgb(195, 43, 43) 100%);

      -webkit-transform: translate(0, 4px) rotateX(20deg);  
      -moz-transform: translate(0, 4px);  
      transform: translate(0, 4px);  
}

.actionButton.short {
  min-width: 100px;
}


#endGameHolder {
      background-image: url(../images/end_background.jpg);
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center center;
      width: 100%;
      height: 100%;
      min-width: 100%;
      min-height: 100%;
      max-width: 100%;
      max-height: 100%;
      position: absolute;      
      z-index: 9999;
      top: 0px;
      display: none;
    }

    #legoCityLogo {
      width: 100%;
    }

    #legoCityLogo img {
      width: 50%;
      height: auto;
      margin-left: 25%;
      margin-top: 7px;
    }

    #explorerText {
      width: 100%;
    }

    #explorerText img {
      width: 45%;
      height: auto;
      margin-left: 27.5%;
      margin-top: 7px;
    }

    #productBoxes {
      width: 100%;
    }

    #productBoxes img {
      width: 90%;
      height: auto;
      margin-left: 5%;
      margin-top: 0px;
    }

    #btnMore {
      width: 100%;      
      z-index: 102;
    }

    #btnMore img {
      width: 70%;
      height: auto;
      margin-left: 15%;
      margin-top: 2px;
    }

    #btnPlayAgain {
      width: 100%;
      position: absolute;
      z-index: 102;
    }

    #btnPlayAgain img {
      width: 70%;
      height: auto;
      margin-left: 15%;
      margin-top: 2px;
    }

    #endFooter {
      position: absolute;
      bottom: -10px;
      width: 100%;
      pointer-events: none;
      z-index: 101;
    }

    #endFooter img {
      width: 100%;
      height: auto;
    }

    #videoHolder {
      position:absolute;
      z-index:110;
      top:0;
      width:100%;
      height:100%;
      background-image: url(../images/end_background.jpg);
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center center;
    }

    #videoPlayer {
      width:100%;
      height:100%
    }

    .endGameHolder_Desktop {
      text-align: center !important;
    }

    .legoCityLogo_Desktop, .explorerText_Desktop, .productBoxes_Desktop, .btnMore_Desktop, .btnPlayAgain_Desktop  {
      width: 30% !important;
      display: inline-block !important;
      clear: left !important;
    }

    .btnPlayAgain_Desktop {
      margin-left: -15% !important;
    }

    #legalLine {
      font-family: arial;
      position:absolute;
      z-index: 9999;
      bottom: 5px;
      text-align: center;
      width: 100%;
      font-size: 12px;
      color: #efefef;
    }