body {
  width: 100vw;
  height: 100vh;
  margin: 0;
}

#game-section {
  width: 100%;
  height: 100%;
  position: fixed;
  display: flex;
}

#Cocos2dGameContainer {
  position: relative;
  max-width: calc(var(--mw, 1mw));
  max-height: calc(var(--mh, 1mh));
  margin: 0 auto !important;
  overflow: hidden;
  top: calc((100% - var(--mh, 1mh)) * 0.5);
}

/* nagaLoadingChanges */
.logo {
  position: fixed;
  z-index: 999;
  overflow: visible;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

#background-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  background: #000;
}

#black-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}

.black-background {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  background: #000;
  transition: opacity 0.5s;
}

.transparent {
  opacity: 0;
}

.background {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}

#GameCanvas {
  position: absolute;
  width: 100%;
  left: 50%;
  top: 0;
  transform: translate(-50%, calc((var(--mh, 1mh) - 100%) * 0.5));
}

/* nagaLoadingChanges */
#sprite {
  width: 311px;
  height: 158px;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: 9999;
  background: url('src/logoSplash.png');
  background-position: 0px 0px;
}

.NAGA_00 {width:311px; height:158px; background-position: -1px -1px}
.NAGA_01 {width:311px; height:158px; background-position: -1px -161px}
.NAGA_02 {width:311px; height:158px; background-position: -1px -321px}
.NAGA_03 {width:311px; height:158px; background-position: -1px -481px}
.NAGA_04 {width:311px; height:158px; background-position: -1px -641px}
.NAGA_05 {width:311px; height:158px; background-position: -1px -801px}
.NAGA_06 {width:311px; height:158px; background-position: -1px -961px}
.NAGA_07 {width:311px; height:158px; background-position: -1px -1121px}
.NAGA_08 {width:311px; height:158px; background-position: -1px -1281px}
.NAGA_09 {width:311px; height:158px; background-position: -1px -1441px}
.NAGA_10 {width:311px; height:158px; background-position: -1px -1601px}
.NAGA_11 {width:311px; height:158px; background-position: -1px -1761px}
.NAGA_12 {width:311px; height:158px; background-position: -314px -1px}
.NAGA_13 {width:311px; height:158px; background-position: -314px -161px}
.NAGA_14 {width:311px; height:158px; background-position: -314px -321px}
.NAGA_15 {width:311px; height:158px; background-position: -314px -481px}
.NAGA_16 {width:311px; height:158px; background-position: -314px -641px}
.NAGA_17 {width:311px; height:158px; background-position: -314px -801px}
.NAGA_18 {width:311px; height:158px; background-position: -314px -961px}
.NAGA_19 {width:311px; height:158px; background-position: -314px -1121px}
.NAGA_20 {width:311px; height:158px; background-position: -314px -1281px}
.NAGA_21 {width:311px; height:158px; background-position: -314px -1441px}
.NAGA_22 {width:311px; height:158px; background-position: -314px -1601px}
.NAGA_23 {width:311px; height:158px; background-position: -314px -1761px}
.NAGA_24 {width:311px; height:158px; background-position: -627px -1px}
.NAGA_25 {width:311px; height:158px; background-position: -627px -161px}
.NAGA_26 {width:311px; height:158px; background-position: -627px -321px}
.NAGA_27 {width:311px; height:158px; background-position: -627px -481px}
.NAGA_28 {width:311px; height:158px; background-position: -627px -641px}
.NAGA_29 {width:311px; height:158px; background-position: -627px -801px}
.NAGA_30 {width:311px; height:158px; background-position: -627px -961px}
.NAGA_31 {width:311px; height:158px; background-position: -627px -1121px}
.NAGA_32 {width:311px; height:158px; background-position: -627px -1281px}
.NAGA_33 {width:311px; height:158px; background-position: -627px -1441px}
.NAGA_34 {width:311px; height:158px; background-position: -627px -1601px}
.NAGA_35 {width:311px; height:158px; background-position: -627px -1761px}
.NAGA_36 {width:311px; height:158px; background-position: -940px -1px}
.NAGA_37 {width:311px; height:158px; background-position: -940px -161px}
.NAGA_38 {width:311px; height:158px; background-position: -940px -321px}
.NAGA_39 {width:311px; height:158px; background-position: -940px -481px}
.NAGA_40 {width:311px; height:158px; background-position: -940px -641px}
.NAGA_41 {width:311px; height:158px; background-position: -940px -801px}
.NAGA_42 {width:311px; height:158px; background-position: -940px -961px}
.NAGA_43 {width:311px; height:158px; background-position: -940px -1121px}
.NAGA_44 {width:311px; height:158px; background-position: -940px -1281px}
.NAGA_45 {width:311px; height:158px; background-position: -940px -1441px}
.NAGA_46 {width:311px; height:158px; background-position: -940px -1601px}
.NAGA_47 {width:311px; height:158px; background-position: -940px -1761px}
.NAGA_48 {width:311px; height:158px; background-position: -1253px -1px}
.NAGA_49 {width:311px; height:158px; background-position: -1253px -161px}
.NAGA_50 {width:311px; height:158px; background-position: -1253px -321px}
.NAGA_51 {width:311px; height:158px; background-position: -1253px -481px}
.NAGA_52 {width:311px; height:158px; background-position: -1253px -641px}
.NAGA_53 {width:311px; height:158px; background-position: -1253px -801px}
.NAGA_54 {width:311px; height:158px; background-position: -1253px -961px}
.NAGA_55 {width:311px; height:158px; background-position: -1253px -1121px}
.NAGA_56 {width:311px; height:158px; background-position: -1253px -1281px}
.NAGA_57 {width:311px; height:158px; background-position: -1253px -1441px}
.NAGA_58 {width:311px; height:158px; background-position: -1253px -1601px}
.NAGA_59 {width:311px; height:158px; background-position: -1253px -1761px}

/* nagaLoadingChanges */
.loading {
  position: fixed;
  z-index: 999;
  height: 2em;
  width: 2em;
  overflow: visible;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.loading a {
  position: absolute;
  margin-top: 0px;
  margin-left: -5px;
  color: lightblue;
  text-shadow: 0 0 black;
  font-size: 16px;
  width: 20px;
  height: 10px;
}

/* Transparent Overlay */
.loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  animation: spinner 1500ms infinite linear;
  border-radius: 0.5em;
  box-shadow: rgba(255, 255, 255, 0.749) 1.5em 0 0 0, rgba(171, 213, 200, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.749) 0 1.5em 0 0, rgba(171, 213, 200, 0.75) -1.1em 1.1em 0 0, rgba(255, 255, 255, 0.749) -1.5em 0 0 0, rgba(171, 213, 200, 0.75) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.749) 0 -1.5em 0 0, rgba(171, 213, 200, 0.75) 1.1em -1.1em 0 0;
}

@font-face {
  font-family: 'MyWebFont';
  src: url('DXCharmantB-KSCpc-EUC-H.eot'); /* IE9 Compat Modes */
  src: url('DXCharmantB-KSCpc-EUC-H.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('DXCharmantB-KSCpc-EUC-H.woff2') format('woff2'), /* Super Modern Browsers */
       url('DXCharmantB-KSCpc-EUC-H.woff') format('woff'), /* Pretty Modern Browsers */
       url('DXCharmantB-KSCpc-EUC-H.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('DXCharmantB-KSCpc-EUC-H.svg#svgFontName') format('svg'); /* Legacy iOS */
}

/* Animation */
@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}