/*
 * Baseline styles
 */

 html,body{
  width:100%;
  height:100%;
  margin:0;
 }

@media screen and (orientation:portrait) {
    body {
      text-align: center;
      background: url(../image/loading.jpg?v=2018102901) no-repeat center;
      background-position: 50% 30%;
      background-color: #222;
      position: relative;
	  overflow-y:hidden;
    }
  }

@media screen and (orientation:landscape) {
  body {
      text-align: center;
      background: url(../image/loading2.jpg?v=2018102901) no-repeat center;
      background-position: 50% 18%;
      background-color: #222;
      position: relative;
	  overflow-y:hidden;
    }
  }

h2 {
  color: #ccc;
  margin: 0;
  font: 1.2em verdana;
  text-transform: uppercase;
  letter-spacing: .1em;
}

/*
 * Loading Dots
 * Can we use pseudo elements here instead :after?
 */

.loading{
  position: relative;
  top:70%;
 
}

.loading span {
  display: inline-block;
  vertical-align: middle;
  width: .6em;
  height: .6em;
  margin: .19em;
  background: #007DB6;
  border-radius: .6em;
  animation: loading 1s infinite alternate;
}

/*
 * Dots Colors
 * Smarter targeting vs nth-of-type?
 */
.loading span:nth-of-type(2) {
  background: #008FB2;
  animation-delay: 0.2s;
}
.loading span:nth-of-type(3) {
  background: #009B9E;
  animation-delay: 0.4s;
}
.loading span:nth-of-type(4) {
  background: #00A77D;
  animation-delay: 0.6s;
}
.loading span:nth-of-type(5) {
  background: #00B247;
  animation-delay: 0.8s;
}
.loading span:nth-of-type(6) {
  background: #5AB027;
  animation-delay: 1.0s;
}
.loading span:nth-of-type(7) {
  background: #A0B61E;
  animation-delay: 1.2s;
}

/*
 * Animation keyframes
 * Use transition opacity instead of keyframes?
 */
@keyframes loading {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.gamediv{ margin:0; width:100%;height:100%;}
.info{ color: #ffffff; font-size: 22px; position: absolute; text-align: center; display:none;top: 30%;left: 0;right: 0;overflow: auto;}
.gameframe{ width:100%;height:100%;border:0;margin:0;overflow-x:hidden;overflow-y:hidden; display:none;}