body{
    touch-action: none;
    margin: 0% !important;
    padding:0%;
    width:100%;
    height:100%;
    background: #FFFFFF;
    text-align:center;
    overflow: hidden;
    position: fixed;
}

#demoCanvas{
    touch-action: none;
    user-select: none;
    -moz-tap-highlight-color: rgba(141, 90, 90, 0);
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    border:none;
    padding:0%;
    margin:0%;
    background:rgb(255, 255, 255);
    width:100%;
    height:100%;
    display: inline-block;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: pixelated;
}
/* canvas{display: block; touch-action: none; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); width: 100%; height: 100%; cursor: inherit;} */
#inputArea{
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    background: #000000;
    height: 100%;
    max-width: 100%;
    /* z-index: 100; */
    display: none;
}
#loginArea{
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    background: #000000;
    height: 100%;
    max-width: 100%;
    /* z-index: 100; */
    display: none;
}

.submitButton{
    background: #f2f2f2;
    color: black;
    display: inline-block;
    padding: 10px 10px;
    margin: 2px;
    text-align: center;
    text-decoration: none;
}
.close{
    background: back;
    color: white;
    border: white 1px solid;
}
.largeInput{
    background: #999999;
    color: white;
    display: block;
    padding: 10px 0px;
    margin: 2px;
    text-align: center;
    text-decoration: none;
    width: 100%;
    border: solid 2px white;
    box-sizing: border-box;
}

.centerBlock{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
}

#loginrule{
    color: red;
    font-weight: bold;
    display: none;
}

#namerule{
    color: red;
    font-weight: bold;
    display: none;
}

#namealert{
    color: red;
    font-weight: bold;
    display: none;
}

#passrule{
    color: red;
    font-weight: bold;
    display: none;
}
#passwrong{
    color: red;
    font-weight: bold;
    display: none;
}
.whiteText {
    color: white;
    margin: 2%;
}
/* Begin loading css */
#loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 120px;
    height: 120px;
    margin: -76px 0 0 -76px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
  }
  
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* Add animation to "page content" */
  .animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
  }
  
  @-webkit-keyframes animatebottom {
    from { bottom:-100px; opacity:0 } 
    to { bottom:0px; opacity:1 }
  }
  
  @keyframes animatebottom { 
    from{ bottom:-100px; opacity:0 } 
    to{ bottom:0; opacity:1 }
  }
  #loadingArea{
      background-color: black;
      opacity: 0.8;
      position:fixed;
      width: 100%;
      height: 100%;
      display: none;
      z-index: 9999;
  }
/* */
#RunGame{
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    background-color: #000000;
    position:fixed;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}
.centerPlayBlock{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
}
.PlayText {
    font-size:x-large;
    color: #032ff5;
    margin: 10px;
    /* top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */
}
.Playbutton {
    border: 0;
    background: transparent;
    box-sizing: border-box;
    width: 0;
    height: 74px;
  
    border-color: transparent transparent transparent #032ff5;
    transition: 100ms all ease;
    cursor: pointer;
  
    border-style: solid;
    border-width: 37px 0 37px 60px;

    /* position: fixed; */
    /* top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */
}
.Playbutton:hover {
    border-color: transparent transparent transparent #4389f1;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0%;
    right: 0%;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}
#socialButton{
    position: absolute;
    top: 0;
    right: 0;
}
@media screen and (max-height: 450px) {
.sidenav {padding-top: 15px;}
.sidenav a {font-size: 18px;}
}


*,*:focus,*:hover{
    outline:none;
}
