body{
  background-color: #000;
  margin: 0;
  padding: 0;
  font-size: 16px;
  overflow: hidden;
}

a {
  visibility: hidden;
}

.load_page {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgb(30, 30, 30);
}

.load {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 0px;
  padding-top: 260px;
  margin-top: -130px;
  margin-left: -130px;
  background-size: 100% 100%;
}

#r_blue {
  background-image: url("load_src/r_blue.png");
  animation: spin_r 4s infinite linear;
}

#r_red {
  background-image: url("load_src/r_red.png");
  animation: spin_r 2s infinite linear reverse;
}

#r_txt {
  background-image: url("load_src/r_txt.png");
  animation: spin_r 20s infinite linear;
}

.perc {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 170px;
  height: 58px;
  transform: translate(-50%, -50%);
}

@font-face {
  font-family: Gravedigger;
  src: url("http://www.picto3d.co.kr/sp/font/Gravedigger.otf"), url("load_src/Gravedigger.otf");
  font-style: normal;
  font-weight: normal;
}

.perc_txt {
  position: absolute;
  top: 0%;
  text-align: center;
  width: 62.5px;
  height: 58px;
  font-family: Gravedigger;
  font-size: 54px;
  color: rgb(255, 255, 255);
}

#perc_txt1 {
  left: 5%;
}

#perc_txt2 {
  right: 25%;
}

#perc_p {
  position: absolute;
  width: 45px;
  height: 39px;
  bottom: 0%;
  right: 0%;
  background-image: url("load_src/tper.png");
  background-size: 100% 100%;
}

@keyframes spin_r {
  0% {transform: rotate(0deg);}
  100% {transform: rotate(360deg);};
}

#main_container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
}

#preloader_container{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 11;
  background-color: #333333;
}

#preloader_image {
  position: absolute;
  top: 49.5%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20%;
  height: auto;
  -webkit-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  filter: grayscale(100%);
  z-index: 10;
}

.circle_loader{
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 24%;
  padding-top: 24%;
  margin-top: -12.5%;
  margin-left: -12.5%;
  border: 0.5vw  solid #333333;
  border-radius: 50%;
  border-top: 0.5vw solid #d89444;
  border-bottom: 0.5vw  solid #d89444;
  animation: spin linear 3s infinite;
  -moz-animation: spin linear 3s infinite;
  -ms-animation: spin linear 3s infinite;
  -webkit-animation: spin linear 3s infinite;
  -o-animation: spin linear 3s infinite;
}

@keyframes spin {
  0% {transform: rotate(0deg);}
  100% {transform: rotate(360deg);}
}

@-webkit-keyframes spin {
  0% {transform: rotate(0deg);}
  100% {transform: rotate(360deg);}
}

@-moz-keyframes spin {
  0% {transform: rotate(0deg);}
  100% {transform: rotate(360deg);}
}

@-ms-keyframes spin {
  0% {transform: rotate(0deg);;}
  100% {transform: rotate(360deg);}
}

@-o-keyframes spin {
  0% {transform: rotate(0deg);}
  100% {transform: rotate(360deg);}
}

#percentage_counter {
  position: absolute;
  top: 200%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  z-index: 2;
}

#preloader_static_path {
  position: absolute;
  left: 50%;
  top: 80%;
  width: 20em;
  height: 1em;
  transform: translate(-50%, -50%);
  border: 0.1em solid white;
}

#preloader_dynamic_path {
  position: absolute;
  left: 0;
  top: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(to right, #95373a, #da9a44);
  background: -webkit-linear-gradient(right, #95373a, #da9a44);
  background: -moz-linear-gradient(right, #95373a, #da9a44);
  background: -o-linear-gradient(right, #95373a, #da9a44);
}

#main_canvas_container {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
}

input:focus{
  outline: none;
}

*{
  -ms-user-select: none;
   -moz-user-select: -moz-none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   user-select: none;
}

a{
  bottom: 30px;
  right: 30px;
  height: 2.5em;
  width: 2.5em;
  text-decoration: none;
  position: absolute;
  z-index: 10;
  -moz-transition-duration: 0.3s;
  -ms-transition-duration: 0.3s;
  -webkit-transition: filter 0.5s, transform 0.3s;
  transition-duration: 0.3s;
}

a:hover{
  -webkit-transform: scale(1.3,1.3);
  -moz-transform: scale(1.3,1.3);
  -ms-transform: scale(1.3,1.3);
  transform: scale(1.3,1.3);
}

#_video{
  left: 30px;
  bottom: 30px;
}

#_music{
  left: 30px;
  bottom: 80px;
}

#_webm {
  position: absolute;
  top: 3%;
  left: 98%;
  transform: translate(-100%, 0%);
  width: 30em;
  height: auto;
  z-index: 11;
  display: none;
}

#_img{
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  width: auto;
  height: auto;
  position: absolute;
  z-index: 11;
}

.hide {
  visibility: hidden;
}

#logo {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 106px;
  height: 40px;
  background-image: url("assets/logo.png");
  background-size: 100% 100%;
}

div#control_circle {
  position: absolute;
  background-image: url(interface_img/gamepad/controls_150.png);
  width: 150px;
  height: 150px;
    z-index: 100;
    left: 10px;
    bottom:10px;
  visibility:hidden;
}

div#control_tap{
  position: absolute;
  z-index: 100;
  background-image: url(interface_img/gamepad/tap_50.png);
  width: 50px;
  height: 50px;
  visibility: hidden;
}

div#control_jump{
  position: absolute;
  right: 0px;
  bottom: 0px;
  background-image: url(interface_img/gamepad/jump_100.png);
  margin: 0px 10px 10px 0px;
  width: 100px;
  height: 100px;
  z-index: 100;
  visibility: hidden;
}

@media screen and (max-width: 800px){
  body{
    font-size: 12px;
  }

  #_webm{
    width: 30%;
  }

  #_music{
    left: 20px;
    bottom: 70px;
  }

  #_video{
    left: 20px;
    bottom: 30px;
  }

}

@media screen and (max-width: 600px){
  #_img, #_webm{
    width: 90%;
  }

}
