@font-face{ 
    font-family: "Montserrat"; 
    src: local('☺'), url('../media/fonts/Montserrat-Bold.woff') format('woff');
    font-weight: bold;
}
@font-face{ 
    font-family: "Montserrat"; 
    src: local('☺'), url('../media/fonts/Montserrat-Regular.woff') format('woff');
}
@font-face{ 
    font-family: "Montserrat Black"; 
    src: local('☺'), url('../media/fonts/Montserrat-Black.woff') format('woff');
}

@font-face{ 
    font-family: "Passion One"; 
    src: local('☺'), url('../media/fonts/PassionOne-Bold.woff') format('woff');
    font-weight: bold;
}
@font-face{ 
    font-family: "Passion One"; 
    src: local('☺'), url('../media/fonts/PassionOne-Regular.woff') format('woff');
}


/* -------------------------- */
/* general                    */
/* -------------------------- */


html {
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 100%;
  background-color: black;
  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%;

  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;
  background-color: black;
  background-repeat: no-repeat;
   background-size: auto 100%;
    background-position: center top;
  background-image: url('../media/images/desktop_backgrund.jpg');
}

a { color: inherit; } 

/* -------------------------- */
/* canvases                   */
/* -------------------------- */


#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;
  box-shadow: 0px 0px 20px #000000;
}

#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;
  background-color: #666666;
  pointer-events: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;

}

#debug{
  position: absolute;
  display: none;
  top: 0px; 
  left: 0px;
  z-index: 2;
  overflow: auto;
  height: 100%;
  padding: 20px;
  background-color: white;
  pointer-events: auto;
}

#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: black;
  color: #89a8cc;
  text-align: center;
  font-family: Arial, Helvetica;
  font-weight: normal;
  font-size: 14px;
}

#div_instructions{
  position: absolute;
  display: none;
  left: 0px;
  top: 0px;
  text-align: center;
  pointer-events: none;
}

.instructions_image{
  position: relative;
  display: none;
  left: 0px;
  top: 0px;
  width: 100%;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: "";
  background-image: url('../media/images/spinner.gif');

}

.instructions_txt_measure{
  position: absolute;
  display: block;
  width: 100%;
  bottom: 0px;
  visibility: hidden;
  pointer-events: none;
  pointer-events: none;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;         /* Opera/IE 8+ */
}

.instructions_txt{
  position: absolute;
  display: block;
  left: 0px;
  bottom: 0px;
  height: auto;
  width: 100%;
  padding: 20px;
  color: white;
  text-align: center;
  font-family: "Montserrat";
  font-weight: bold;
  font-size: 18px;
  background-color: rgba(0,0,0,0.6);
  pointer-events: none;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;         /* Opera/IE 8+ */
}

#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: 14px;
    color: #ffffff;
    background-color: black;
}

#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;
}



/* -------------------------- */
/* loading                     */
/* -------------------------- */


#div_loading{
  position: absolute;
  display: block;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: black;
 }

.loading_block{
  position: absolute;
  display: block;
  text-align: center;
  pointer-events: none;
 }

 .loading_logo{
    position: relative;
    display: inline-block;
 }

 .loading_date{
    position: relative;
    display: inline-block;
    pointer-events: none;
    color: white;
    font-size: 40px;
    text-align: center;
    font-family: "Passion One";
 }

 .loading_bar{
    position: relative;
    display: inline-block;
    width: 100%;
    height: 24px;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
 }
.loading_bar_fill{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #A030FF;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
 }

.loading_bar_frame{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    border: 2px solid white;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
 }








#div_legal{
  position: absolute;
  display: block;
  left: 0px;
  top: 0px;
  width: 100%;
  z-index: 100;
  overflow: visible;
  background-color: #222222;
  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%;
}


.legal_block {
  position: relative;
  display: inline-block;
  top: 0px;
  width: 100%;
  padding: 8px;
  font-size: 14px;
  font-family: "MontserratRegular";
  color: #ffffff;
  text-align:center;
  pointer-events: none;
  background-color: #222222;
}

.legal_text {
  position: relative;
  display: inline-block;
  pointer-events: none;
  white-space: nowrap;
  color: #ffffff;
  margin-right: 4px;
  margin-left: 4px;
  font-family: "Montserrat";
}

.legal_link {
    text-decoration: none;
    pointer-events: auto;
    white-space: nowrap;
    color: #ffffff;
    font-family: "Montserrat";
}

.legal_link:hover {
    color: #faaf1e;
    cursor: pointer;
}
.legal_link:active {
    color: #faaf1e;
}


/*legal links for mobile*/
.legal_link_mobile {
    text-decoration: none;
    pointer-events: auto;
    white-space: nowrap;
    color: #ffffff;
    font-size: 14px;
    font-family: "Montserrat";
}

.legal_button_holder{
    position: absolute;
    display: block;
    width: 100%;
    height: 46px;
    top:-45px;
    left:-8px;
}

.b_legal {
    position: relative;
    display: inline-block;
    min-width: 120px;
    margin-left: auto;
    margin-right: auto;
    top: 0px;
    height: 46px;
    line-height: 46px;
    padding-right: 20px;
    padding-left: 20px;
    pointer-events: auto;
    cursor: pointer;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none !important;
    white-space: nowrap;
    color: #ffffff;
    text-decoration: none;
    pointer-events: auto;
    font-family: "Montserrat";
    border-radius: 30px 30px 0px 0px;
    background-color: #222222;
}

.b_legal:active {
    color: #faaf1e;
}

.b_legal:hover {
    color: #faaf1e;
}

.b_legal_mobile {
    position: relative;
    display: inline-block;
    top: 0px;
    width: 120px;
    margin-left: auto;
    margin-right: auto;

    height: 46px;
    min-width: 120px;
    pointer-events: auto;
    cursor: pointer;
    text-align: center;
    line-height: 45px;
    font-size: 16px;
    text-decoration: none !important;
    white-space: nowrap;
    color: #ffffff;
    padding-right: 20px;
    padding-left: 20px;
    text-decoration: none;
    pointer-events: auto;
    font-family: "Montserrat";
    border-radius: 30px 30px 0px 0px;
    background-color: #222222;
}

.legal_image{
    position: relative;
    display: inline-block;
    margin: 5px;
    pointer-events: none;
    max-width: calc(100% - 20px);
}




/*-----------------------------------*/
/* exit popup                        */
/*-----------------------------------*/

#div_popups {
    position: absolute;
    display: none;
    z-index: 1003;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.6);
    pointer-events: auto;
}


.popup_exit{
  position: absolute;
  display: block;
  top:0px;
  left:0px;
  width: 100%;
  color: white;
  background-color: #000000;
  font-family: 'Montserrat';
  font-weight: bold;
  font-size: 14px;
  pointer-events: auto;
  text-align: center;
  padding: 20px;
  overflow-y: auto;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;         /* Opera/IE 8+ */
}

.exit_hdr{
  position: relative;
  display: inline-block;
  font-family: "Passion One";
  font-size: 30px;
  margin-bottom: 20px;
}

.exit_msg{
  position: relative;
  display: inline-block;
 max-width: 640px;
}


.green_button{
  text-decoration: none !important;
  position: relative;
  display: inline-block;
  color: black !important;
  margin-top: 10px;
  margin-bottom: 10px;
  white-space: nowrap;
  text-align: center;
  font-family: 'Passion One';
  font-size: 30px;
  padding: 6px;
  padding-left: 20px;
  padding-right: 20px;
  background-color: #7EBD2E;
  cursor: pointer;
}
.green_button a:visited, green_button a:link {
  text-decoration: none !important;
  color: #ffffff;
}

.green_button:hover{
  text-decoration: none !important;
   cursor: pointer;
}
.orange_button{
  text-decoration: none !important;
  position: relative;
  display: inline-block;
  color: black !important;
  margin-top: 10px;
  margin-bottom: 10px;
  white-space: nowrap;
  text-align: center;
  font-family: 'Passion One';
  font-size: 30px;
  padding: 6px;
  padding-left: 20px;
  padding-right: 20px;
 
  background-color: #FFD716;
  cursor: pointer;
}
.orange_button a:visited, orange_button a:link {
  text-decoration: none !important;
  color: #ffffff;
}

.orange_button:hover{
  text-decoration: none !important;
   cursor: pointer;
}


