@font-face {
    font-family: 'Contrail One';
    src: local('☺'), url('../media/fonts/ContrailOne-Regular.woff') format('woff');
}

@font-face {
    font-family: 'Smythe';
    src: local('☺'), url('../media/fonts/Smythe-Regular.woff') format('woff');
}
@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;
}


a, a:visited, a:hover, a:active, a:focus {
   
    outline: 0;
}


html {
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 100%;
}

body {
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 100%;
  background-color: #0d64a9;
  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: relative;
    display: inline-block;
    top: 0px; 
    left: 0px;
    overflow: hidden;
    background-color: #420027;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform-origin: 0% 0%;
    -webkit-transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    background-size: cover;
      background-position: center;
    background-repeat: no-repeat;
}


#debug{
    position: absolute;
    top: 0px; 
    left: 0px;
    background-color: #ffffff;
    font-size: 10px;
    font-family: Arial;
    color: #333333;
}

#footer {
    transform-origin: 0% 0%;
    -webkit-transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    position: absolute;
    top: 0px; 
    left: 0px;
    background-color: #0d64a9;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: auto;
    -moz-background-size: auto;
    -o-background-size: auto;
    background-size: auto;
    color: #89a8cc;
    padding: 2px;
    text-align: center;
    font-family: 'Montserrat';
    font-weight: normal;
    font-size: 8pt;
}

#canvas_game {
  position: absolute;
  display: block;
  top: 0px; 
  left: 0px;
  display: none;
  pointer-events: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#canvas_messages {
  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;
  left: 0px; 
  top: 0px;
  width: 64px;
  height: 180px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#canvas_screen {
  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;
  -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%;

  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%;

  background-color: #0d64a9;
  color: #89a8cc;
  text-align: center;
  font-family: Arial, Helvetica;
  font-weight: normal;
  font-size: 14pt;
}

#div_errors{
    position: absolute;
    display: none;
    left: 0px;
    top: 0px;
    font-family: Arial, Helvetica;
    width: 100%;
    height: 100%;
    opacity: 1;
    font-size: 14pt;
    color: #89a8cc;
    background-color: #0d64a9;
}


/* -------------------------- */
/* 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_legal{
  position: absolute;
  display: block;
  left: 0px;
  top: 0px;
  width: 100%;
  overflow: visible;
  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: block;
  top: 0px;
  left:0px;
  padding: 8px;
  font-size: 12px;
  width: 100%;
  font-family: "MontserratRegular";
  color: #ffffff;
  text-align:center;
  pointer-events: none;
  background-color: rgba(28,8,18,1);
  -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;
    font-size: 12px;
    color: #faaf1e;
    font-family: "MontserratRegular";
}

/*legal links*/
.legal_text {
    text-decoration: none;
    pointer-events: auto;
    white-space: nowrap;
    color: #faaf1e;
    font-size: 14px;
    font-family: "MontserratRegular";
}

/*legal links*/
.legal_ad_warning {
    position: relative;
    display: inline-block;
    pointer-events: none;
    white-space: nowrap;
    color: white;
    font-size: 14px;
    font-family: "MontserratBold";
    border: 1px solid white;
    padding: 3px;
    padding-left: 10px;
    padding-right: 10px;
}

.legal_link:a {
    color: #faaf1e;
}

.legal_link:hover {
    color: #ffffff;
}
.legal_link:active {
    color: #ffffff;
}

/*legal links for mobile*/
.legal_link_mobile {
    text-decoration: none;
    pointer-events: auto;
    white-space: nowrap;
    color: #faaf1e;
    font-size: 14px;
    font-family: "MontserratRegular";
}

.b_legal {
    position: absolute;
    display: block;
    top: -34px;
    right: 0px;
    height: 35px;
    pointer-events: auto;
    cursor: pointer;
    text-align: center;
    line-height:34px;
    font-size: 15px;
    text-decoration: none !important;
    white-space: nowrap;
    color: #ffffff;
    padding-right: 20px;
    padding-left: 20px;
    text-decoration: none;
    pointer-events: auto;
    font-family: "MontserratRegular";
    border-radius: 16px 16px 0px 0px;

   background: linear-gradient(rgba(28,8,18,.6), rgba(28,8,18,1));

}
.b_legal:active {
    color: #faaf1e;
}
.b_legal:hover {
    color: #faaf1e;
}

.b_legal_mobile {
    position: absolute;
    display: block;
    top: -34px;
    right: 0px;
    height: 35px;
    pointer-events: auto;
    cursor: pointer;
    text-align: center;
    line-height: 34px;
    font-size: 15px;
    text-decoration: none !important;
    white-space: nowrap;
    color: #ffffff;
    padding-right: 20px;
    padding-left: 20px;
    text-decoration: none;
    pointer-events: auto;
    font-family: "MontserratRegular";
    border-radius: 16px 16px 0px 0px;
   background: linear-gradient(rgba(28,8,18,.6), rgba(28,8,18,1));
}
.legal_image{
    position: relative;
    display: inline-block;
    margin: 5px;
    pointer-events: none;
}

