﻿@font-face
{
    font-family: roboto;
    src: url('./roboto-medium.woff');
    font-weight: normal;
    font-style: normal;
}

@media screen
{
  html, body
  {
   	width:  100%;
    height: 100%;
    margin: 0px;
  }
  canvas {
    margin:0 auto;
  }
}


body {
  min-height: 100vh;
  /* mobile viewport bug fix */
  min-height: -webkit-fill-available;
}

html {
  height: -webkit-fill-available;
}


#landscapeImage {
    display: none;
    position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        margin: auto;
        overflow: auto;
        z-index: 999;
}

#gameContainer {
  height: 100vh;
  width: 100vw;
}

#ingamehistory-iframe-holder {
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.7);
  position: absolute;
  z-index: 99;
}

.sidenav {
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  background-color: #ffffff; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 60px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
  
}

input[type=number]{
  width: 80px;
} 

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#enableDebug {
  /* transition: margin-left .5s; */
  padding: 10px 10px 10px 10px ;
}

  /* The debug menu items */
.debug{
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  /* font-size: 30px; */
  color: #818181;
  display: block;
  transition: 0.3s;
}
#errorDiv {
  position: absolute;
  /* top: 50%;
  left: 50%; */
  width: 100%;
  height: 100%;
  /* transform: translate(-50%, -50%); */
  background-color: black;
}

/* HTML ERROR STYLE */

#errorImage {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#errorText {
  position: relative;
  top: 50%;
  text-align: center;
  line-height: 100px;
  color:  rgb(255, 255, 255);
  font-weight: bold;
  font-family: Arial;
  font-size: 20px;
}

#errorCode {
  position: relative;
  top: 50%;
  text-align: center;
  line-height: 100px;
  color:  rgb(255, 255, 255);
  font-weight: bold;
  font-family: Arial;
  font-size: 20px;
}

#infoDiv {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  background-image: linear-gradient(#fef6bf, #fef9d1);
  font-family: 'Arial';
  z-index: 2;
}

#infoContent {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 10px;
  width: 95vw;
  overflow-y: auto;
  overflow-x: hidden;
  display: inline-block
}

#infoCloseButton{
  position: absolute;
  top: 10px; 
  right: 10px; 
  width: 50px; 
  height: 50px;
  background-size: 50px 50px; 
  background-repeat: no-repeat;
  background-position: center; 
  z-index: 3; 
  cursor: pointer;
}

#infoButton{
  position:absolute;
	width:60px;
	height:60px;
  top: 10px;
  right: 10px;
  background-size: 50px 50px; 
  background-repeat: no-repeat;
  background-position: center; 
  z-index: 1; 
  cursor: pointer;

}


/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-device-aspect-ratio: 8/5) {
  .sidenav {padding-top: 15px;}
  .debug {font-size: 30px;}
  .sidenav a {font-size: 18px;}
    select { font-size:30px; }
    option { font-size:15px; }
    input[type=checkbox] {
      /* Double-sized Checkboxes */
      -ms-transform: scale(2); /* IE */
      -moz-transform: scale(2); /* FF */
      -webkit-transform: scale(2); /* Safari and Chrome */
      -o-transform: scale(2); /* Opera */
      transform: scale(2);
      padding: 10px;
  }
  input[type=number]{
    font-size: 30px;
  } 
}
