@font-face{ 
    font-family: "MontserratBold"; 
    src: local('☺'), url('../media/fonts/MontserratBold.woff') format('woff');
    font-style:normal;
}

@font-face{ 
    font-family: "MontserratRegular"; 
    src: local('☺'), url('../media/fonts/MontserratRegular.woff') format('woff');
    font-style:normal;
}

@font-face{ 
    font-family: "Dimbo"; 
    src: local('☺'), url('../media/fonts/DimboRegular.woff') format('woff');
    font-style:normal;
}


@font-face{ 
    font-family: "MouseMemoirs"; 
    src: local('☺'), url('../media/fonts/MouseMemoirs-Regular.woff') format('woff');
    font-style:normal;
}

a, a:visited, a:hover, a:active, a:focus {
    color: inherit;
    outline: 0;
}


html {
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 100%;
 background-color: #000000;
   overflow: hidden;
  -ms-user-select: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none; 
  -webkit-user-callout: none;
  -ms-touch-action: manipulation !important;
  -webkit-backface-visibility: hidden;
   backface-visibility: hidden;
}

body {
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 100%;

  background-color: #000000;
  /*
  background-position: center;
  background-image: url('../media/images/background_pattern.jpg');
  */

  overflow: hidden;
  -ms-user-select: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none; 
  -webkit-user-callout: none;
  -ms-touch-action: manipulation !important;
  -webkit-backface-visibility: hidden;
   backface-visibility: hidden;
}



/* -------------------------- */
/* main                       */
/* -------------------------- */


#wrapper{
    position: absolute;
    display: block;
    top: 0px; 
    left: 0px;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform-origin: 0% 0%;
    -webkit-transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;

   overflow: hidden;
}



#debug{
    position: absolute;
    top: 0px; 
    left: 0px;
    background-color: #ffffff;
    font-size: 10px;
    font-family: Arial;
    color: #333333;
}

#canvas_timer {
  position: absolute;
  display: block;
  display: none;
  pointer-events: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#canvas_score {
  position: absolute;
  display: block;
  display: none;
  pointer-events: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#canvas_game {
  position: absolute;
  display: block;
  top: 0px; 
  left: 0px;
  display: none;
  pointer-events: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;

 
  
}

#canvas_debug{
  position: absolute;
  display: block;
  top: 0px; 
  left: 0px;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#canvas_mute {
  position: absolute;
  display: block;
  right: 0px; 
  top: 0px;
  width: 64px;
  height: 180px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#canvas_screens {
  position: absolute;
  display: block;
  top: 0px; 
  left: 0px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#canvas_overlay {
  position: absolute;
  display: none;
  top: 0px; 
  left: 0px;
  background: transparent;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#canvas_background {
  position: absolute;
  display: none;
  top: 0px; 
  left: 0px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* -------------------------- */
/* landscape / screensize     */
/* -------------------------- */

#orientation_overlay {
  position: absolute;
  display: none;
  top: 0px; 
  left: 0px;
  width: 100%;
  height: 100%;

  z-index: 1000;

  background-color: #000000;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#screensize_overlay {
  position: absolute;
  overflow: hidden;
  top: 0px; 
  left: 0px;
  width: 100%;
  height: 100%;

   z-index: 1001;

  background-color: #333333;
  color: #89a8cc;
  text-align: center;
  font-family: Arial, Helvetica;
  font-weight: normal;
  font-size: 14pt;
}

#div_instructions{
    position: absolute;
    display: none;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    pointer-events: none;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

}

#div_errors{
    position: absolute;
    display: none;
   /* left: 0px;
    top: 0px;*/
     z-index: 1002;
    font-family: Arial, Helvetica;
    width: 100%;
    height: 100%;
    opacity: 1;
    font-size: 14pt;
    color: #ffffff;
    background-color: #333333;
}


/* -------------------------- */
/* fader                      */
/* -------------------------- */

#fader {
  position: absolute;
  top: 0px; 
  left: 0px;
  background-color: rgb(13, 100, 169);
  transform: transale3d(0,0,0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  pointer-events: none;
}


/* -------------------------- */
/* legal                      */
/* -------------------------- */

#div_copyright{
  text-decoration: none !important;
  position: absolute;
  display: block;
  right: 8px;
  top: 0px;
  letter-spacing: 1px;
  font-size: 12px;
  text-align: right;
  font-family: "MontserratBold";
  color: #ffba00;
  text-shadow: 0 0 3px #000000;
  -webkit-text-size-adjust: 100%;
  -ms-transform-origin: 100% 0%; /* IE 9 */
  -webkit-transform-origin: 100% 0%; /* Chrome, Safari, Opera */
  transform-origin: 100% 0%;
  white-space: nowrap;
}

.copyright_link{
  text-decoration: none !important;
  pointer-events: auto;
  white-space: nowrap;
  cursor: pointer;
}
.copyright_link:hover{
  color: white;
}

.copyright_link_mobile{
  text-decoration: none !important;
  pointer-events: auto;
  white-space: nowrap;
  cursor: pointer;

}


#div_legal{
  position: absolute;
  display: block;
  left: 0px;
  top: 0px;
  width: 100%;
  z-index: 100;
  overflow: visible;
  background-color: #0b111d;
  touch-action: none;
  text-align: center;
  -webkit-overflow-scrolling: none;
  -webkit-text-size-adjust: 100%;
  -ms-transform-origin: 0% 0%; /* IE 9 */
  -webkit-transform-origin: 0% 0%; /* Chrome, Safari, Opera */
  transform-origin: 0% 0%;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;         /* Opera/IE 8+ */
}


.legal_block {
  position: absolute;
  display: inline-block;
  top: 0px;
  left:0px;
  padding: 8px;
  font-size: 20pt;
  font-family: "MontserratRegular";
  color: #ffffff;
  text-align:center;
  pointer-events: none;
  background-color: #000000;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;         /* Opera/IE 8+ */
}

/*legal links*/
.legal_link {
    text-decoration: none;
    pointer-events: auto;
    white-space: nowrap;
    color: #ffffff;
    font-family: "MontserratRegular";
}

.legal_link:hover {
    color: #faaf1e;
}
.legal_link:active {
    color: #faaf1e;
}

/*legal links for mobile*/
.legal_link_mobile {
    text-decoration: none;
    pointer-events: auto;
    white-space: nowrap;
    color: #ffffff;
    font-family: "MontserratRegular";
}

.b_legal {
    position: absolute;
    display: block;
    top: -48px;
    left: 0px;
   letter-spacing: 1px;
    height: 50px;

    padding-right: 30px;
    padding-left: 120px;

    font-family: "MontserratRegular";
    text-align: center;
    line-height: 50px;
    text-decoration: none !important;
    white-space: nowrap;
    color: #ffffff;

    border-radius: 0px 30px 0px 0px;

    pointer-events: auto;
    cursor: pointer;

    background-color: #000000;
    background-repeat: no-repeat;
    background-position: 4px center;
    background-size: auto 40px;
    background-image: url('../media/images/rating_NR.png');


}
.b_legal:active {
    color: #faaf1e;
}
.b_legal:hover {
    color: #faaf1e;
}

.b_legal_mobile {
  position: absolute;
  display: block;
  top: -48px;
  left: 0px;

  height: 50px;

  padding-right: 30px;
  padding-left: 120px;

  font-family: "MontserratRegular";
  text-align: center;
  line-height: 50px;
  text-decoration: none !important;
  white-space: nowrap;
  color: #ffffff;

  border-radius: 0px 30px 0px 0px;

  pointer-events: auto;
  cursor: pointer;

  background-color: #000000;
  background-repeat: no-repeat;
  background-position: 4px center;
  background-size: auto 40px;
  background-image: url('../media/images/rating_NR.png');
}


.legal_image{
    position: relative;
    display: inline-block;
    margin: 5px;
    pointer-events: none;
    max-width: calc(100% - 40px);
}


.billing_block{
  position: relative;
  display: inline-block;
  margin-top: 5px;
  pointer-events: none;
  background-color: #000000;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url('../media/images/billingblock_640.png');
}

.browserxml{
	
	top:15%;
	left: 18%;
}

