* {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 0;
  margin: 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
#HIGHSCORE {
  position: absolute;
  left: 50%;
  width: 250px;
  overflow: visible;
  margin-left: -175px;
  font-family: Exo;
}
#container {
  color: #232323;
  position: absolute;
  left: 50%;
  top: calc(50%);
  text-align: center;
  transform: translate(-50%, -50%);
  font-family: Exo;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  display: none;
}
.tweet {
  font-size: 2rem;
  color: #4099ff;
}
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
  .tweet {
    font-size: 1rem;
  }
}
a {
  color: #232323;
}
.navbar {
  width: 80%;
  margin: 0 auto;
  padding: 2.5vmin 0;
  text-align: center;
}
.navbar li {
  display: inline-block;
  text-align: center;
  width: calc(33% - 1.25vmin);
}
#title {
  color: #ecf0f1;
  font-size: 6vmin;
}
#score {
  font-size: 4vmin;
  text-align: center;
  width: 30%;
}
#highscores {
  text-align: center;
  list-style: none;
}
.not-visible {
  display: none;
}
button {
  color: #ecf0f1;
  background-color: rgba(0, 0, 0, 0);
  border: 0;
}
button:focus {
  outline: 0;
}
#openSideBar {
  position: fixed;
  margin-top: 6px;
  width: 72px;
  height: 72px;
  margin-left: 11px;
  z-index: 3003;
  color: #232323;
  cursor: pointer;
  top: 0;
  left: 0;
}
#pauseBtn {
  display: none;
  position: fixed;
  margin-bottom: 7px;
  width: 72px;
  height: 72px;
  margin-right: 11px;
  z-index: 3000;
  color: #232323;
  cursor: pointer;
  right: 0;
  bottom: 60px;
  z-index: 99;
}
#restartBtn {
  display: none;
  position: fixed;
  margin-bottom: 7px;
  width: 72px;
  height: 72px;
  margin-left: 11px;
  z-index: 3000;
  color: #232323;
  cursor: pointer;
  bottom: 60px;
  z-index: 99;
}
#startBtn {
  position: absolute;
  left: 40%;
  top: 38%;
  height: 25%;
  width: 25%;
  z-index: 99999999;
  cursor: pointer;
}
#helpScreen {
  height: calc(100% - 60px);
  width: 100%;
  z-index: 3001;
  position: fixed;
  top: 0;
  margin: 0;
  font-size: 15px;
  text-align: center;
  display: none;
  color: #232323;
  background-color: rgba(236, 240, 241, 1);
}
#colorBlindBtn {
  position: absolute;
  width: 120px;
  height: 20px;
  z-index: 9999;
  left: 47%;
  top: 65%;
  font-size: 15px;
  text-align: center;
  color: #232323;
  cursor: pointer;
}
#inst_main_body {
  padding: 0px;
  font-size: 1.2em;
  left: 50%;
  top: 50%;
  position: absolute;
  text-align: left;
  max-width: 400px; /*margin-top:30px;*/
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
#inst_main_body > a {
  font-weight: bold;
}
#inst_main_body > hr {
  width: 100%;
  color: #232323;
  background-color: #232323;
  height: 1px;
  border: 0;
}
#inst_main_body > p {
  margin-bottom: 15px;
}
#instructions_head {
  text-align: center;
  font-size: 1.5em;
  padding-bottom: 4px;
}
#highScoreInGameTextHeader {
  color: #bdc3c7;
  width: 100%;
}
#highScoreInGameText {
  position: absolute;
  top: 10px;
  text-align: center;
  width: 200px;
  left: 50%;
  margin-left: -100px;
}
#currentHighScore {
  color: #2c3e50;
  width: 100%;
  margin-top: -5px;
  font-size: 2em;
}
@media only screen and (max-device-width: 480px) {
  #helpScreen {
    position: fixed;
    top: 2px;
    margin: 0;
    width: 100%;
    height: calc(100% - 60px);
    font-size: 13px;
    text-align: center;
  }
  #inst_main_body {
    width: calc(100% - 70px);
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  }
  #instructions_head {
    padding-left: 0%;
  }
  #openSideBar {
    width: 60px;
    height: 60px;
  }
  #pauseBtn {
    width: 60px;
    height: 60px;
  }
  #restartBtn {
    width: 60px;
    height: 60px;
  }
}
.overlay {
  position: absolute;
  height: 20%;
  width: 100%;
  left: 50%;
  top: 50%;
  margin-left: -50%;
  margin-top: -10%;
  z-index: 3000;
  color: #232323;
  text-align: center;
}
.helpText {
  z-index: 3001;
}
.centeredHeader {
  font-size: 5vw;
  text-align: center;
  line-height: 4rem;
}
.centeredSubHeader {
  font-size: 2.2rem;
  line-height: 1em;
  text-align: center;
}
.centeredSubSubHeader {
  font-size: 1.4rem;
  text-align: center;
}
#buttonCont {
  position: absolute;
  left: 50%;
  width: 310px;
  margin-left: -8px;
  transform: translate(-50%, 0%);
  -webkit-transform: translate(-50%, 0%);
  -moz-transform: translate(-50%, 0%);
  -ms-transform: translate(-50%, 0%);
}
@media only screen and (orientation: landscape) {
  #buttonCont {
    bottom: calc(50vh - 19vh - 36px);
  }
  #container {
    top: calc(50vh - 11vh);
  }
}
@media only screen and (orientation: portrait) {
  #buttonCont {
    bottom: calc(50vh - 19vw - 36px);
  }
  #container {
    top: calc(50vh - 11vw);
  }
}
@media only screen and (min-device-width: 320px) and (max-device-width: 600px) {
  .centeredHeader {
    font-size: 2rem;
    text-align: center;
    line-height: 0.6rem;
  }
  .centeredSubHeader {
    font-size: 1rem;
    text-align: center;
  }
  .overlay {
    margin-top: -20%;
  }
  #buttonCont {
    width: 280px;
  }
  @media only screen and (orientation: landscape) {
    #buttonCont {
      bottom: 119px;
    }
  }
  @media only screen and (orientation: portrait) {
    #buttonCont {
      bottom: 119px;
    }
  }
}
.blur {
  opacity: 0.1;
}
* {
  padding: 0;
  margin: 0;
}
body {
  color: #ecf0f1;
  font-family: "Exo", sans-serif;
  background-color: #ecf0f1;
}
#clickToExit {
  cursor: pointer;
}
#canvas {
  transition: all 0.5s ease;
  position: absolute;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background-color: #ecf0f1;
  z-index: 0;
}
#title {
  z-index: 99;
  margin-top: 20px;
  color: #2c3e50;
}
#gameoverscreen {
  /*display:none;*/
}
#restart {
  display: none;
  cursor: pointer !important;
  margin: 0;
  padding: 0;
  bottom: 75px;
  position: absolute;
  left: calc(50% - 124px);
  transform: translate(-50%, 0%);
  -webkit-transform: translate(-50%, 0%);
  -moz-transform: translate(-50%, 0%);
  -ms-transform: translate(-50%, 0%);
  margin-bottom: -3.5px;
}
#socialShare {
  display: none;
  margin: 0;
  padding: 0;
  bottom: 60px;
  margin-bottom: 6.5px;
  position: absolute;
  left: calc(50% + 30px);
  transform: translate(-50%, 0%);
  -webkit-transform: translate(-50%, 0%);
  -moz-transform: translate(-50%, 0%);
  -ms-transform: translate(-50%, 0%);
  padding-bottom: 2px;
}
.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
#afterhr {
  margin: 0;
  padding: 0;
  margin-bottom: -10px;
  padding-bottom: -10px;
}
body {
  overflow: hidden;
}
#gameoverscreen {
  padding: 8px;
}
@font-face {
  font-family: Exo;
  font-weight: light;
  src: url("./fonts/Exo2-ExtraLight.otf") format("opentype");
}
@font-face {
  font-family: Exo;
  src: url("./fonts/Exo2-Regular.otf") format("opentype");
}
@font-face {
  font-family: Exo;
  font-weight: bold;
  src: url("./fonts/Exo2-SemiBold.otf") format("opentype");
}
.GOTitle {
  font-weight: bold;
  font-size: 24.2px;
}
.scoreNum {
  font-weight: normal !important;
}
#cScore {
  font-size: 60.5px;
  font-weight: light;
  margin-bottom: 5px;
  margin-top: -10px;
}
#highScoresTitle {
  margin-bottom: 2px;
}
.score {
  font-weight: light;
  line-height: 18px;
}
#bottomContainer {
  position: absolute;
  width: 100%;
  bottom: 0px;
}
#androidBadge {
  position: absolute;
  height: 41px;
  margin-top: 5px;
  left: calc(50% - 66px);
  transform: translate(calc(-50% - 4px), -1px);
  -webkit-transform: translate(calc(-50% - 4px), -1px);
  -moz-transform: translate(calc(-50% - 4px), -1px);
  -ms-transform: translate(calc(-50% - 4px), -1px);
}
#iOSBadge {
  margin-top: 5px;
  position: absolute;
  left: calc(50% + 65px);
  transform: translate(calc(-50% - 4px), 0%);
  -webkit-transform: translate(calc(-50% - 4px), 0%);
  -moz-transform: translate(calc(-50% - 4px), 0%);
  -ms-transform: translate(calc(-50% - 4px), 0%);
}
#authors {
  position: absolute;
  width: 200px;
  bottom: 0px;
  left: 50%;
  transform: translate(-50%, 0%);
  -webkit-transform: translate(-50%, 0%);
  -moz-transform: translate(-50%, 0%);
  -ms-transform: translate(-50%, 0%);
} /* 自己新增的代码 */ /* 整个页面 */
#entry-page {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  background-color: #252d36;
} /* 游戏信息 */
.entry-page-game {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  padding: 20px;
  color: #fff;
}
.entry-page-game .game-poster {
  margin-right: 15px;
  font-size: 0;
}
.entry-page-game .game-name {
  margin-top: 14px;
  margin-bottom: 20px;
  font-size: 20px;
}
.entry-page-game .game-tag {
  margin-bottom: 6px;
  width: fit-content;
  height: 14px;
  padding: 2px 8px;
  color: #f45131;
  font-size: 12px;
  line-height: 14px;
  border: 1px solid #f45131;
  border-radius: 3px;
}
.entry-page-game .game-like {
  font-size: 12px;
}
.entry-page-game .game-detail {
  flex: 1;
}
.entry-page-game .game-poster img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
}
.entry-page-desc {
  box-sizing: border-box;
  width: 100%;
  padding: 0 20px 20px;
  color: #bdbdbd;
  font-size: 16px;
} /* play按钮 */
#entry-page-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 80px);
  height: 36px;
  font-size: 16px;
  background-color: #2a6797;
  border: none;
  outline: none;
  border-radius: 6px;
  animation: playBtnZoom 0.7s linear infinite alternate;
}
.entry-page-ad-wrap {
  width: 100%;
  margin-top: 20px;
}
@keyframes playBtnZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.11);
  }
}
.footer-ads {
  position: fixed;
  z-index: 999999999;
  bottom: 0;
  width: 100%;
  height: 60px;
}

.play-loading {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 100%;
  animation: circle-loading infinite 0.75s linear;
}

@keyframes circle-loading {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

.play-arrow {
  display: none;
  width: 16px;
  margin-right: 10px;
  animation: play-arrow 0.3s infinite;
}

@keyframes play-arrow {
  0% {
    transform: translateX(-1rem);
  }

  50% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-1rem);
  }
}
