/* Basic full-screen mobile layout for Cocos Creator web builds */

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  background-color: #000;
}

/* Make the game canvas (and its container) always fill the visible viewport */
html, body, #GameCanvas, #Cocos2dGameContainer {
  touch-action: none;
}

#GameCanvas,
#Cocos2dGameContainer {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
}

/* Splash screen covers the whole viewport as well */
#splash {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
}









