body {
  cursor: default;
  cursor: url(../images/cursor.png) 2 2, default;
  margin: 0px;
  padding: 0px;
  overflow: hidden;
  background-color: black;
}
.xtest {
  position: relative;
  top: 0;
  left: calc(50% - 7vh);
  bottom: 0;
  right: 0;
  color: #fff;
  text-align: center;
  width: 3.5vh;
  display: inline-block;
  float: left;
  background-size: cover;
  background-position: center;
}
.xtest2 {
  width: 100%;
  height: 3.5vh;
  position: absolute;
  top: 0;
  background-size: cover;
  background-position: center;
  display: none;
}
.xtest:before {
  content: "";
  margin-top: 100%;
  display: block;
}
.xtest:after {
  position: absolute;
  font-size: 1.6vh;
  top: 0;
  left: 110%;
  line-height: 3.7vh;
  color: #fff;
  font-family: arial;
}
.bkg:hover .xtest:after {
  color: #fff !important;
}
.bkg:hover .xtest2 {
  display: block;
}
.bkg:hover .bkg2 {
  -webkit-filter: brightness(150%);
          filter: brightness(150%);
  -ms-filter: brightness(150%);
}
#fullscreen .xtest {
  background-image: url(../images/how_btn_fullscreen.png);
}
#fullscreen .xtest2 {
  background-image: url(../images/how_btn_fullscreen.png);
}
#effect3d {
  z-index: 50;
  position: absolute;
  top: 0;
  width: 100%;
  height: 4vh;
  background: url(../images/1px_back.png) repeat-x;
  background-size: 1px 100%;
}
#gradient {
  background: rgb(0,0,0);
  background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, rgba(255,255,255,0) 50%, rgba(0,0,0,0.4) 100%);
}
#buttonscontainer {
  display: inline-flex;
  width: 42%;
  left: 29%;
  height: 3.5vh;
  z-index: 100;
  position: absolute;
}
.buttonform:hover {
  background: rgba(0, 255, 42, 0.7);
}
@media (max-width: 767px) {
  .game_logo {
    /*background: url(../images/title.png);*/
    background-size: 100% auto;
    background-repeat: no-repeat;
    width: 80%;
    height: 38%;
    left: 10%;
    z-index: 2;
    position: absolute;
    top: 25vh;
	  background-position-x: 50%;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .game_logo {
    /*background: url(../images/title.png);*/
    background-size: auto 80%;
    background-repeat: no-repeat;
    width: 100%;
    height: 15%;
    left: 0;
    z-index: 2;
    position: absolute;
    top: 35vh;
	background-position-x: 50%;
  }
}
@media (min-width: 1200px) and (max-width: 1980px) {
  .game_logo {
    /*background: url(../images/title.png);*/
    background-size: auto 90%;
    background-repeat: no-repeat;
    width: 100%;
    height: 16%;
    left: 0;
    z-index: 2;
    position: absolute;
    top: 30vh;
	background-position-x: 50%;
  }
}
@media (min-width: 1980px) {
  .game_logo {
    /*background: url(../images/title.png);*/
    background-size: auto 80%;
    background-repeat: no-repeat;
    width: 100%;
    height: 14%;
    left: 0;
    z-index: 2;
    position: absolute;
    top: 35vh;
	background-position-x: 50%;
  }
}
.emscripten {
  padding-right: 0px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  z-index: 8;
  height: 100%;
  width: 100%;
  position: absolute;
}
.age_rating {
  background: url(../images/age_rating.png);
  width: 64px;
  height: 64px;
  bottom: 10px;
  left: 10px;
  z-index: 3;
  position: absolute;
}
canvas.emscripten {
  border: 0px solid black;
  overflow: hidden;
}
textarea.emscripten {
  font-family: monospace;
  width: 80%;
}
div.emscripten {
  text-align: center;
}
input {
  outline: none;
  z-index: 100500;
}
input:focus {
  outline: 0;
}
textarea {
  outline: none;
  z-index: 100500;
}
textarea:focus {
  outline: 0;
}
div#input_holder {
  top: 0px;
  left: 0px;
  border: none;
}
p {
  font-family: "Arial";
  font-size: 1em;
  font-weight: 400;
}
p#loading_text {
  margin: 0px !important;
  color: #eacc8a;
}
div#elem_loading_error {
  text-align: center;
  color: rgb(250, 183, 0);
  position: absolute;
  width: 600px;
  top: 52vh;
  max-width: calc(96% - 20px);
  left: 2%;
  display: block;
  background: #0000007a;
  font-size: 30px;
  margin: auto;
  display: none;
  padding: 10px;
}
@media(min-width:600px) {
  div#elem_loading_error {
    left: calc(50% - 300px);
  }
}
div#elem_loading {
  width: 100%;
  text-align: center;
  margin-top: 0.5vh;
  position: relative;
  z-index: 3;
}
div#elem_loading_bar {
  width: 1%;
  height: 100%;
  position: relative;
  background: #ff3b00;
  z-index: 4;
}
div#elem_loading_bar_bg {
  width: 100%;
  height: 4px;
  margin-top: 0.5vh;
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  z-index: 3;
}
p#elem_loading_hint_text {
  color: white;
  margin: 0px !important;
}
div#elem_loading_hint {
  width: 100%;
  margin-top: 65vh;
  text-align: center;
  position: relative;
  z-index: 3;
}
@media (max-width: 690px) {
  div#elem_loading_hint {
    margin-top: 65vh;
  }
}
.game_contentdiv {
  top: 3.5vh;
  left: 0px;
  width: 100%;
  height: 96.5vh;
  overflow: hidden;
  position: absolute;
  border: none;
  margin-top: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000000;

  /* disable select */
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
      -moz-user-select: none; /* Old versions of Firefox */
      -ms-user-select: none; /* Internet Explorer/Edge */
          user-select: none; /* Non-prefixed version, currently
                                supported by Chrome, Edge, Opera and Firefox */
}
.buttonscell {
  display: inline-block;
  float: left;
  height: 3.3vh;
  width: 9.6vw;
}
.bkg:hover .buttonscell p {
  color: #80d2ff !important;
}
.bkg {
  max-width: 100%;
  width: 100%;
  height: 3.5vh;
  display: inline-block;
  float: left;
  position: relative;
}
.bkg2 {
  position: absolute;
  height: 100%;
  width: calc(50% + 5.5vh);
  left: calc(50% - 5.5vh);
}
@media (max-width: 800px) {
  #effect3d {
    width: 100%;
    left: 0%;
  }
  #buttonscontainer {
    width: 85%;
    left: 6.5%;
  }
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: rgba(0, 0, 0, 0.3);
}
input::-moz-placeholder,
textarea::-moz-placeholder {
  color: rgba(0, 0, 0, 0.3);
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.3);
}
input:-moz-placeholder,
textarea:-moz-placeholder {
  color: rgba(0, 0, 0, 0.3);
}
:-webkit-full-screen {
  background: black;
}
:-moz-full-screen {
  background: black;
}
:-webkit-full-screen#contentdiv {
  width: 100vw;
  height: 100vh;
  left: 0;
  top: 0;
  margin-top: 0;
  background-size: cover;
}
:-moz-full-screen#contentdiv {
  width: 100vw;
  height: 100vh;
  left: 0;
  top: 0;
  margin-top: 0;
  background-size: cover;
}
:-webkit-full-screen .emscripten {
  height: 100vh;
}
:-moz-full-screen .emscripten {
  height: 100vh;
}
:-webkit-full-screen #safarifix {
  display: none;
}
:-moz-full-screen #safarifix {
  display: none;
}
:-webkit-full-screen #buttonscontainer {
  display: none;
}
:-moz-full-screen #buttonscontainer {
  display: none;
}

@media (max-width: 600px) and (min-height: 701px) {
  .xtest:after {
    font-size: 1.4vh;
  }
}
@media (max-width: 550px) and (max-height: 350px) {
  .bkg {
    height: 5vh;
  }
  .xtest {
    width: 5vh;
    height: 5vh;
  }
  .xtest2 {
    height: 5vh;
  }
  .xtest:after {
    font-size: 2vh;
    line-height: 5vh;
  }
}
@media (max-width: 480px) and (max-height: 700px) and (min-height: 351px) {
  #effect3d {
    width: 100%;
    left: 0%;
  }
  #buttonscontainer {
    width: 92%;
    left: 5%;
  }
  .xtest:after {
    font-size: 1.2vh;
  }
}
.please-wait-bkg {
  display: none; /* Hidden by default, use 'flex' to show */
  position: fixed;
  z-index: 9;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
  align-items: center;
  justify-content: center;
}
.please-wait-content {
  background-color: #fefefe;
  padding: 15px;
  border: 3px solid #888;
  width: 400px;
  border-radius: 20px;
  text-align: center;
}
.please-wait-noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}
.play_button {
  font-weight: bold;
  font-size: xx-large;
  color: black !important;
  background: rgb(80, 176, 250);
  border: none;
  height: 60px;
  width: 300px;
  top: 40px;
  position: relative;
  display:inline-block;
  border-radius:20px;
}
.play_button:hover {
  background: rgb(120, 216, 250);
}