@font-face {
  font-family: "MrEavesXLModNarOT";
  src: url(../images/MrEavesXLModNarOT-Bold.ttf);
}
body {
  padding: 0;
  margin: 0;
}
img {
  max-width: 100%;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
  touch-action: none;
}

p {
  margin: 0;
  text-align: center;
}

#esk_adArea {
  width: 300px;
  height: 600px;
  background-image: url(../images/bg.png);
  position: relative;
  font-family: "MrEavesXLModNarOT";
  color: #ffffff;
  overflow: hidden;
}

#ctaArea {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: red; */
  transform: translateX(100%);
}

#game_canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
  touch-action: none;
}

#counter {
  left: calc(50% - (73px / 2));
  bottom: 10%;
  position: absolute;
  width: 73px;
  height: 84px;
  background-image: url(../images/count_icon.png);
  background-position: center;
}

.count {
  width: 73px;
  height: 73px;
  position: absolute;
  bottom: 0;
  left: 0;
  background-image: url(../images/count_hand.png);
  /* filter: drop-shadow(0 1px 10px white); */
}

.opacity0 {
  opacity: 0;
}

.abs {
  position: absolute;
}
.point {
  position: absolute;
  right: 0px;
  bottom: 45%;
  width: fit-content;
  text-align: center;
  padding-right: 20px;
  border-radius: 10px;
  background-color: #ece7f5;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
  touch-action: none;
  font-size: 22px;
  font-weight: bolder;
  padding: 5px 10px;
  color: #8c5bd9;
  border: 1px solid #fff;
}

.score {
  position: absolute;
  width: 50%;
  left: 25%;
  top: 100px;
  font-size: 20px;
  transform: scale(0);
  background-color: #ffffff57;
  border: 1px solid #ffffff;
  border-radius: 20px;
  padding: 5px 10px;
  box-sizing: border-box;
}
.total {
  font-size: 20px;
  font-weight: bold;
  /* margin-top: -5px; */
}
.total span {
  font-size: 40px;
  color: #8d5dd9;
}

#retryBtn {
  width: 20%;
  position: absolute;
  left: 40%;
  bottom: 11%;
  cursor: pointer;
  transform: scale(0);
  transition: 0.3s all cubic-bezier(0.165, 0.84, 0.44, 1);
}

#retryBtn:hover {
  /* transform: scale(0.9); */
  opacity: 0.9;
}

#clickItem {
  position: absolute;
  left: calc(50% - (130px / 2));
  top: calc(57% - (330px / 2));
  width: 130px;
  height: 330px;
  transition: all 0.1s ease-in-out;
  -webkit-appearance: none;
}

#clickItem:active {
  transform: scale(0.9) !important;
  filter: drop-shadow(0 0 10px #89b8ff);
  opacity: 0.9;
  -webkit-appearance: none;
}

.disable {
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
  touch-action: none;
}

#timerCount {
  position: absolute;
  border-radius: 20px;
  height: 13px;
  border: 1px solid #fff;
  width: 80%;
  left: 10%;
  bottom: 8%;
  background-color: #eeeeee3a;
  overflow: hidden;
}

.timerInner {
  border-radius: 20px;
  height: 100%;
  width: 0;
  left: 0;
  position: absolute;
  top: 0;
  background: radial-gradient(
    circle,
    rgba(145, 99, 218, 1) 0%,
    rgba(83, 41, 153, 1) 100%
  );
}
