
#juego.startGame .juego-wrap {
  width: 100%;
  max-width: 100vw;
  margin: auto;
  background-color: black;
}

#juego.startGame .hide.preload {
  transition: all 0.2s ease;
  opacity: 0;
  z-index: -1;
}

@-moz-keyframes spin {
  100% {
    -moz-transform: rotate(360deg);
  }
}
@-webkit-keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes hide {
  0% {
    opacity: 1;
  }
  70% {
    opacity: 0;
  }
  90% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    z-index: -1;
  }
}

@-moz-keyframes showAndHide {
  100% { opacity: 0; }
  50% { opacity: 1; }
  0% { opacity: 0; }
}
@-webkit-keyframes showAndHide {
  100% { opacity: 0; }
  50% { opacity: 1; }
  0% { opacity: 0; }
}
@keyframes showAndHide {
  100% { opacity: 0; }
  50% { opacity: 1; }
  0% { opacity: 0; }
}

#juego.startGame.loading:after {
  -webkit-animation: showAndHide 1s linear infinite;
  -moz-animation: showAndHide 1s linear infinite;
  animation: showAndHide 1s linear infinite;
  content: " ";
  background-image: url(../game/res/loader/loader.png);
  background-size: 260px 260px;
  background-repeat: no-repeat;
  background-position: center center;
  position: absolute;
  margin: auto;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
}

@media screen and (max-width: 1002px) {
  #juego.startGame.loading:after {
    background-size: 200px 200px;
  }
}
#juego.startGame .hide.preload {
  -webkit-animation: hide 0.2s forwards;
  /* Safari 4+ */
  -moz-animation: hide 0.2s forwards;
  /* Fx 5+ */
  -o-animation: hide 0.2s forwards;
  /* Opera 12+ */
  animation: hide 0.2s forwards;
}

#juego.startGame .juego-wrap #Cocos2dGameContainer canvas {
  background-color: black;
}

#juego.startGame .juego-wrap #Cocos2dGameContainer {
  background-color: black;
  z-index: 2;
}

#juego.startGame .juego-wrap::after, #juego.startGame .juego-wrap a {
  -webkit-animation: hide 0.2s forwards;
  /* Safari 4+ */
  -moz-animation: hide 0.2s forwards;
  /* Fx 5+ */
  -o-animation: hide 0.2s forwards;
  /* Opera 12+ */
  animation: hide 0.2s forwards;
}
