@charset "UTF-8";
/* RESET
--------------------------------------------------------------------------------------*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, rem, font, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, figure {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  line-height: 1;
}

body {
  line-height: 1;
  background: #000;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote.clear:after, blockquote:after, q:before, q.clear:after, q:after {
  content: "";
  content: none;
}

:focus {
  outline: 0;
}

ins {
  text-decoration: none;
}

del {
  text-decoration: line-through;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

address {
  display: inline;
  font-style: normal;
}

.container {
  width: calc(100% - 20px);
  max-width: 1100px;
  position: relative;
  margin: auto;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  z-index: 3;
}

@font-face {
  font-family: "微軟正黑體";
}
* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: "微軟正黑體";
  letter-spacing: 1px;
}

mark {
  background: rgba(255, 140, 0, 0.3);
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
  font-family: "微軟正黑體";
  letter-spacing: 2px;
  scroll-behavior: smooth;
  /* 軌道（背景） */
  /* 滑塊（可以移動的部分） */
  /* 滑塊 hover 時 */
}
@media screen and (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
  }
}
html ::-webkit-scrollbar, body ::-webkit-scrollbar {
  width: 8px; /* 或 height: 8px; 用於水平滾動條 */
}
html ::-webkit-scrollbar-track, body ::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0);
  border-radius: 4px;
}
html ::-webkit-scrollbar-thumb, body ::-webkit-scrollbar-thumb {
  background: #ff8c00;
  border-radius: 4px;
}
html ::-webkit-scrollbar-thumb:hover, body ::-webkit-scrollbar-thumb:hover {
  background: #00D0C3;
}

img {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.clear:before, .clear:after {
  content: "";
  display: table;
}
.clear:after {
  clear: both;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

iframe {
  display: block;
}

button {
  cursor: pointer;
}

table {
  width: 100%;
}
table th, table td {
  vertical-align: middle;
}

.table {
  display: table;
}

.tr {
  display: table-row;
}

.th,
.td {
  display: table-cell;
  vertical-align: middle;
  position: relative;
}

.breakAll {
  word-break: break-all !important;
}

.inblock {
  font-size: 0;
  letter-spacing: 0;
}
.inblock > * {
  display: inline-block;
  vertical-align: middle;
  letter-spacing: 1px;
}

/* position */
/* margin */
/* padding */
/* font-size */
@-webkit-keyframes pulse {
  50% {
    background: rgb(255, 255, 255);
  }
}
@keyframes pulse {
  50% {
    background: rgb(255, 255, 255);
  }
}
#loading {
  width: 100vw;
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
}

.loading-pulse {
  position: relative;
  margin: auto;
  width: 6px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  -webkit-animation: pulse 750ms infinite;
          animation: pulse 750ms infinite;
  -webkit-animation-delay: 250ms;
          animation-delay: 250ms;
}
.loading-pulse:before, .loading-pulse:after {
  content: "";
  position: absolute;
  display: block;
  height: 16px;
  width: 6px;
  background: rgba(255, 255, 255, 0.2);
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  -webkit-animation: pulse 750ms infinite;
          animation: pulse 750ms infinite;
}
.loading-pulse:before, .loading-pulse.clear:after {
  left: -12px;
}
.loading-pulse:after {
  left: 12px;
  -webkit-animation-delay: 500ms;
          animation-delay: 500ms;
}

.wrapper {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  margin: auto;
  overflow-x: hidden;
  padding-bottom: 0;
  position: absolute;
  background-color: #FFEDE1;
  top: 0;
  left: 0;
  padding: 0;
}

audio {
  display: none;
}

.bgloop {
  width: 100%;
  height: 100;
}

.btn {
  width: 100%;
  text-align: center;
  margin: 20px 0 0 0;
  position: relative;
  z-index: 99px;
}
.btn a {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
  background-color: #ff8c00;
  border-radius: 50px;
  padding: 15px 20px;
  font-size: 1.5rem;
  text-decoration: none;
  letter-spacing: 2px;
  color: #fff;
  cursor: pointer;
  margin: 0 15px;
}
@media screen and (max-width: 480px) {
  .btn a {
    font-size: 1.2rem;
  }
}
.btn a:before, .btn a.clear:after {
  width: 100%;
  height: 100%;
  border-radius: 50px;
  content: "";
  border: solid 1px #ff8c00;
  position: absolute;
  top: 4px;
  right: 3px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.btn a:hover, .btn a:focus {
  margin-top: 5px;
}
.btn a:hover:before, .btn a.clear:hover:after, .btn a:focus:before, .btn a.clear:focus:after {
  top: 0px;
  right: 0px;
}
.btn a img {
  width: 20px;
  margin-left: 10px;
}
.btn a.btn-gray {
  background-color: lightgray;
}
.btn a.btn-gray:before, .btn a.btn-gray.clear:after {
  border: 1px solid lightgray;
}

.p2 {
  bottom: 0;
  width: 30%;
  position: absolute;
  right: -5%;
  z-index: 9999;
}
.p2.sp2 {
  width: 20%;
  bottom: 0;
}
@media screen and (max-width: 1024px) {
  .p2 {
    display: none;
  }
}

.filter {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.46);
  text-align: center;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 100;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.filter.start .element {
  background: none;
}
.filter.start .p1, .filter.start .p2 {
  bottom: 0;
  width: 30%;
  position: absolute;
  z-index: 10;
}
@media screen and (max-width: 480px) {
  .filter.start .p1, .filter.start .p2 {
    width: 50%;
  }
}
.filter.start .p1 {
  left: -5%;
}
.filter.start .cover {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}
.filter.start .cover.cover4 {
  left: 40%;
  bottom: 0;
  width: 20%;
  height: auto;
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}
@media screen and (max-width: 768px) {
  .filter.start .pc {
    display: none;
  }
}
.filter.start .mobile {
  display: none;
}
@media screen and (max-width: 768px) {
  .filter.start .mobile {
    display: block;
  }
}
.filter.start p.title {
  font-size: 4rem;
  font-weight: boldl;
  color: #00D0C3;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: solid 2px #00D0C3;
}
@media screen and (max-width: 1440px) {
  .filter.start p.title {
    font-size: 3rem;
  }
}
@media screen and (max-width: 768px) {
  .filter.start p.title {
    font-size: 2.5rem;
  }
}
@media screen and (max-width: 480px) {
  .filter.start p.title {
    font-size: 1.9rem;
  }
}
.filter.start p.type {
  font-size: 3rem;
  color: #ff8c00;
  margin-bottom: 20px;
}
@media screen and (max-width: 1440px) {
  .filter.start p.type {
    font-size: 2.5rem;
  }
}
@media screen and (max-width: 768px) {
  .filter.start p.type {
    font-size: 2rem;
  }
}
@media screen and (max-width: 480px) {
  .filter.start p.type {
    font-size: 1.3rem;
  }
}
.filter.start p.rule {
  font-size: 1.5rem;
  color: #555555;
  line-height: 1.5;
}
@media screen and (max-width: 480px) {
  .filter.start p.rule {
    font-size: 1rem;
  }
}
.filter.start .circle {
  top: 12%;
  left: 5%;
  padding: 140px;
  text-align: center;
  position: absolute;
  background-image: url(../images/cover_circle.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.filter.start .circle img {
  width: 50%;
  margin: auto;
}
.filter.pass .board, .filter.pass2 .board {
  padding-top: 8%;
}
.filter.pass .board p, .filter.pass2 .board p {
  margin: 50px 0;
}
.filter.win .board .btn, .filter.fail .board .btn {
  margin: 30px 0 0px 0;
}
.filter.win .board .btn a, .filter.fail .board .btn a {
  margin: 0px 0 30px 0;
}
@media screen and (max-width: 480px) {
  .filter.win .board .btn a, .filter.fail .board .btn a {
    width: 120px;
    margin: 0px 0 0px 0;
  }
}
.filter.win .board .final_detail, .filter.fail .board .final_detail {
  margin-bottom: 15px;
  font-size: 1.5rem;
  font-weight: bolder;
}
@media screen and (max-width: 768px) {
  .filter.win .board .final_detail, .filter.fail .board .final_detail {
    font-size: 1.3rem;
  }
}
.filter.win .board p, .filter.fail .board p {
  font-size: 1.2rem;
}
.filter.fail .board .title {
  margin: 30px auto 0px auto;
}
.filter .gradient_b {
  display: inline-block;
  border-radius: 10px;
  overflow: hidden;
  padding: 3px 3px;
  margin: 10px 0;
  width: 100%;
  color: #00D0C3;
}
.filter .logName {
  padding: 10px 15px;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background: #00D0C3;
  border: 0;
  font-size: 1.25rem;
  width: 100%;
}
.filter .final_data {
  padding: 10px 20px;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  color: #00D0C3;
  background: none;
  border: 0;
  font-size: 1.5rem;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.filter .final_data .final_point {
  font-size: 2rem;
  color: #644500;
  font-weight: bolder;
}
@media screen and (max-width: 768px) {
  .filter .final_data .final_point {
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 480px) {
  .filter .final_data .final_point {
    font-size: 1.2rem;
  }
}
.filter .final_data .final_point span {
  font-family: arial;
  font-weight: bolder;
  font-size: 5rem;
  margin-right: 5px;
}
@media screen and (max-width: 768px) {
  .filter .final_data .final_point span {
    font-size: 4rem;
  }
}
@media screen and (max-width: 480px) {
  .filter .final_data .final_point span {
    font-size: 3rem;
  }
}
.filter mark {
  background: #ffe7e7;
  padding: 0 5px;
}
.filter.login, .filter.logout {
  height: 100%;
  overflow: scroll;
  padding-top: 40px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
.filter.login .board, .filter.logout .board {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.filter.login .board .title, .filter.logout .board .title {
  margin: -80px auto 30px auto;
}
@media screen and (max-width: 1366px) {
  .filter.login .board .title, .filter.logout .board .title {
    margin: 70px auto 0px auto;
  }
}
.filter.login .board .btn, .filter.logout .board .btn {
  margin: 60px 0 0 0;
}
.filter.login .board p, .filter.logout .board p {
  margin-bottom: 20px;
  line-height: 1.5;
}
@media screen and (max-width: 768px) {
  .filter.login .board p, .filter.logout .board p {
    font-size: 1.2rem;
    line-height: 1.5;
  }
}
.filter.login .board ul, .filter.login .board ol, .filter.logout .board ul, .filter.logout .board ol {
  font-size: 1.3rem;
  text-align: left;
  margin-bottom: 10px;
  width: 100%;
  padding-left: 20px;
}
@media screen and (max-width: 768px) {
  .filter.login .board ul, .filter.login .board ol, .filter.logout .board ul, .filter.logout .board ol {
    font-size: 1.2rem;
    line-height: 1.5;
  }
}
.filter.login .board ul li, .filter.login .board ol li, .filter.logout .board ul li, .filter.logout .board ol li {
  margin-bottom: 5px;
  line-height: 1.5;
}
.filter.login .board ol li, .filter.logout .board ol li {
  list-style: decimal;
}
.filter.login .board h3, .filter.logout .board h3 {
  font-size: 1.3rem;
  margin: 20px 0;
  line-height: 1.5;
}
.filter.login .board h3 img, .filter.logout .board h3 img {
  width: 20px;
  margin: 0 5px;
  display: inline-block;
}
.filter.login .board h3 a, .filter.logout .board h3 a {
  color: #ff8c00;
}
.filter.cer {
  height: 100vh;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.filter.cer .cerBox {
  width: 100%;
  max-width: 500px;
  height: auto;
  text-align: center;
  margin-top: auto;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
@media screen and (max-width: 1366px) {
  .filter.cer .cerBox {
    max-width: 400px;
  }
}
.filter .board {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
@media screen and (max-width: 768px) {
  .filter .board {
    margin: 0 15px;
    padding: 30px 20px;
  }
}
@media screen and (max-width: 480px) {
  .filter .board {
    min-height: auto;
  }
}
.filter .board a {
  text-decoration: none;
  color: #fff;
  margin-top: 5px;
}
.filter .board .levelStar {
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media screen and (max-width: 480px) {
  .filter .board .levelStar {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin-top: 20px;
  }
}
.filter .board .levelStar a {
  width: 20%;
  height: 100px;
  display: inline-block;
  margin: 20px 1% 0 1%;
  background-size: contain;
  position: relative;
  background-repeat: no-repeat;
  opacity: 1;
  vertical-align: top;
}
@media screen and (max-width: 480px) {
  .filter .board .levelStar a {
    width: 30%;
    height: 80px;
    margin: 0px 1%;
  }
}
.filter .board .title {
  width: 80%;
  font-size: 2.5rem;
  font-weight: bolder;
  color: #644500;
  margin: 50px auto 0px auto;
  -webkit-animation: pulse 3s linear infinite alternate;
          animation: pulse 3s linear infinite alternate;
}
@media screen and (max-width: 768px) {
  .filter .board .title {
    margin: 0px auto 0px auto;
    font-size: 2.3rem;
  }
}
@media screen and (max-width: 480px) {
  .filter .board .title {
    margin: 0px auto 0px auto;
    width: 100%;
    font-size: 1.3rem;
  }
}
.filter .board p {
  font-size: 1.5rem;
  color: #00D0C3;
  line-height: 1.5;
}
@media screen and (max-width: 768px) {
  .filter .board p {
    font-size: 1rem;
  }
}
@media screen and (max-width: 480px) {
  .filter .board p {
    font-size: 1rem;
  }
}
.filter .board p.pointCount, .filter .board p.pointHis {
  color: yellow;
  font-size: 1.25rem;
}
@media screen and (max-width: 768px) {
  .filter .board p.pointCount, .filter .board p.pointHis {
    font-size: 1.25rem;
  }
}
@media screen and (max-width: 480px) {
  .filter .board p.pointCount, .filter .board p.pointHis {
    font-size: 1.1rem;
  }
}
.filter .board p span {
  font-weight: bold;
}
.filter .board .faild {
  position: absolute;
  width: 22%;
  bottom: 7%;
  left: 5%;
}
@media screen and (max-width: 480px) {
  .filter .board .faild {
    width: 18%;
    display: none;
  }
}

.element {
  width: auto;
  position: absolute;
  display: inline-block;
  right: 20px;
  top: 15px;
  z-index: 999;
  padding: 10px 10px;
  background-size: 100% 100%;
}
@media screen and (max-width: 1366px) {
  .element {
    top: 0px;
  }
}
.element div {
  float: left;
  margin-right: 10px;
}
.element .bar {
  width: 100%;
  max-width: 200px;
  position: relative;
}
@media screen and (max-width: 768px) {
  .element .bar {
    max-width: 100px;
  }
}
@media screen and (max-width: 480px) {
  .element .bar {
    max-width: 65px;
    margin-right: 5px;
  }
}
.element .bar.name {
  max-width: 280px;
}
.element .bar.name input {
  font-size: 1.5rem;
}
.element .bar input {
  position: absolute;
  color: #fff;
  font-size: 1.5rem;
  top: 2px;
  text-align: center;
  width: 100%;
  height: 100%;
  right: 0px;
  background: transparent;
  border: none;
  padding: 0 20px;
  overflow: hidden;
}
@media screen and (max-width: 990px) {
  .element .bar input {
    font-size: 1rem;
  }
}
@media screen and (max-width: 480px) {
  .element .bar input {
    font-size: 1rem;
    top: 0px;
    right: -3px;
  }
}
.element .bar p {
  position: absolute;
  color: #fff;
  font-size: 1.5rem;
  top: 27px;
  text-align: center;
  width: 100%;
  height: 100%;
  right: -15px;
}
@media screen and (max-width: 768px) {
  .element .bar p {
    font-size: 1rem;
    right: -5px;
    top: 13px;
  }
}
@media screen and (max-width: 480px) {
  .element .bar p {
    font-size: 0.9rem;
    right: -5px;
    top: 5px;
  }
}
.element .btn {
  width: 60px;
  height: 60px;
  cursor: pointer;
  float: right;
  padding: 10px;
  margin-right: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-size: contain;
  background-image: url(../images/btn_bg.png);
}
@media screen and (max-width: 480px) {
  .element .btn {
    width: 45px;
    height: 45px;
  }
}
.element .btn a {
  padding: 0;
}
.element .btn a img {
  width: 30px;
  margin: 0;
}
@media screen and (max-width: 480px) {
  .element .btn a img {
    width: 25px;
  }
}
.element .btn a:before, .element .btn a.clear:after {
  display: none;
}
.element .btn img {
  width: 30px;
}
.element .btn.active {
  -webkit-filter: contrast(30%);
}
.element .btn:hover, .element .btn:focus {
  -webkit-filter: contrast(150%);
}

.game {
  background-size: cover;
  background-position: center;
}
.game:before, .game.clear:after {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  background-size: cover;
  background-position: center;
  -webkit-animation: animate1 0.8s infinite;
          animation: animate1 0.8s infinite;
}
.game article {
  width: 100%;
  height: 100%;
  text-align: center;
  background-color: #644500;
}
.game section {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  text-align: center;
  border: 20px #00D0C3 solid;
  background-color: #FFEDE1;
  min-height: 100vh;
}
@media screen and (max-width: 1024px) {
  .game section {
    border: 15px #00D0C3 solid;
    height: 100%;
  }
}
.game section:before, .game section.clear:after {
  position: absolute;
  left: -14px;
  top: -14px;
  content: "";
  border: 10px dotted #fff;
  z-index: 1;
  width: calc(100vw - 30px);
  height: calc(100vh - 30px);
  -webkit-animation: star 1s linear infinite alternate;
          animation: star 1s linear infinite alternate;
}
@media screen and (max-width: 1024px) {
  .game section:before, .game section.clear:after {
    left: -12px;
    top: -12px;
    border: 8px dotted #fff;
    width: calc(100vw - 23px);
    height: calc(100% + 8px);
  }
}
.game section .box {
  height: auto;
  width: 90%;
  max-width: 85%;
  min-height: 80vh;
  margin: auto;
  background: #fff;
  padding: 25px;
  border-radius: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
  z-index: 3;
}
@media screen and (max-width: 480px) {
  .game section .box {
    min-height: 50vh;
    padding: 10px;
    max-width: 90%;
  }
}
.game section .box .light {
  width: 6%;
  position: absolute;
  top: 5%;
  right: 100%;
}
@media screen and (max-width: 480px) {
  .game section .box .light {
    height: 20%;
    bottom: 93%;
    width: auto;
    right: auto;
    top: auto;
    -webkit-transform: rotate(90deg);
            transform: rotate(90deg);
  }
}
.game section .box .contain {
  width: auto;
  height: auto;
}
.game .bg img {
  height: 100%;
}
.game .menuBtn {
  width: 70px;
  position: absolute;
  right: 10px;
  top: 35px;
  display: none;
  z-index: 999;
  cursor: pointer;
}
.game .menuBtn:hover, .game .menuBtn:focus {
  -webkit-filter: contrast(150%);
}
@media screen and (max-width: 1200px) {
  .game .menuBtn {
    display: block;
    width: 50px;
    top: 40px;
    right: 40px;
  }
}
@media screen and (max-width: 768px) {
  .game .menuBtn {
    display: block;
    width: 50px;
    top: 30px;
    right: 40px;
  }
}
@media screen and (max-width: 480px) {
  .game .menuBtn {
    display: block;
    width: 50px;
    top: 10px;
    right: 15px;
  }
}
.game .menu {
  left: 0;
  top: -110vh;
  z-index: 998;
  width: 100%;
  height: calc(100% - 50px);
  margin-top: 50px;
  display: none;
  padding-top: 100px;
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-align: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: all 0.5s linear;
  transition: all 0.5s linear;
  background-image: url(../images/bg_element_mobile.webp);
  background-size: 100% 100%;
  background-color: rgba(0, 0, 0, 0.8);
}
@media screen and (max-width: 1300px) {
  .game .menu {
    display: block;
  }
}
.game .menu.active {
  top: 0vh;
}
.game .menu > div {
  text-align: center;
  clear: both;
  float: none;
}
.game .menu div {
  float: none;
}
.game .menu .btn {
  width: 100%;
  max-width: 200px;
  text-align: center;
  margin: 30px auto 0 auto;
  position: relative;
  display: block;
  float: none;
  clear: both;
}
.game .menu .btn:hover, .game .menu .btn:focus {
  -webkit-filter: contrast(150%);
}
@media screen and (max-width: 480px) {
  .game .menu .btn {
    max-width: 150px;
  }
}
.game .menu .name {
  width: 100%;
  max-width: 300px;
  text-align: center;
  position: relative;
  margin: auto;
  clear: both;
  float: none;
}
@media screen and (max-width: 1200px) {
  .game .menu .name {
    max-width: 250px;
    display: block !important;
  }
}
.game .menu .name input {
  position: absolute;
  color: #fff;
  font-size: 1.5rem;
  top: 2px;
  text-align: center;
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  border: none;
  padding: 0;
  left: 0px;
}
@media screen and (max-width: 1366px) {
  .game .menu .name input {
    font-size: 1.5rem;
    left: 0px;
  }
}
@media screen and (max-width: 480px) {
  .game .menu .name input {
    font-size: 1rem;
  }
}
.game .menu .name img {
  width: 100%;
  max-width: 100%;
  margin: auto;
}

.logo {
  position: absolute;
  left: 40px;
  top: 40px;
  text-align: center;
  display: inline-block;
  z-index: 1000;
  width: auto;
}
@media screen and (max-width: 480px) {
  .logo {
    top: 30px;
    left: 30px;
  }
}
.logo a {
  display: inline-block;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.logo a:hover, .logo a:focus {
  padding-left: 10px;
}
.logo a:hover img, .logo a:focus img {
  -webkit-filter: contrast(150%);
}
.logo img {
  width: 100%;
  max-width: 380px;
  margin: auto;
}
@media screen and (max-width: 480px) {
  .logo img {
    max-width: 225px;
  }
}
@media screen and (max-width: 320px) {
  .logo img {
    max-width: 180px;
  }
}

@-webkit-keyframes tail {
  0% {
    width: 0;
  }
  30% {
    width: 100px;
  }
  100% {
    width: 0;
  }
}

@keyframes tail {
  0% {
    width: 0;
  }
  30% {
    width: 100px;
  }
  100% {
    width: 0;
  }
}
@-webkit-keyframes shining {
  0% {
    width: 0;
  }
  50% {
    width: 30px;
  }
  100% {
    width: 0;
  }
}
@keyframes shining {
  0% {
    width: 0;
  }
  50% {
    width: 30px;
  }
  100% {
    width: 0;
  }
}
@-webkit-keyframes shooting {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(300px);
            transform: translateX(300px);
  }
}
@keyframes shooting {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(300px);
            transform: translateX(300px);
  }
}
@-webkit-keyframes sky {
  0% {
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
  }
  100% {
    -webkit-transform: rotate(405deg);
            transform: rotate(405deg);
  }
}
@keyframes sky {
  0% {
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
  }
  100% {
    -webkit-transform: rotate(405deg);
            transform: rotate(405deg);
  }
}
@-webkit-keyframes animate1 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  51% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
@keyframes animate1 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  51% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes animate2 {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  51% {
    opacity: 1;
  }
  52% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes animate2 {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  51% {
    opacity: 1;
  }
  52% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@-webkit-keyframes star {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes star {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@-webkit-keyframes boom {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    opacity: 1;
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes boom {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    opacity: 1;
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@-webkit-keyframes bg {
  0% {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  }
  50% {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  }
  51% {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
  }
  100% {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
  }
}
@keyframes bg {
  0% {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  }
  50% {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  }
  51% {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
  }
  100% {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
  }
}
@-webkit-keyframes und {
  from {
    top: 0;
  }
  to {
    top: 5px;
  }
}
@keyframes und {
  from {
    top: 0;
  }
  to {
    top: 5px;
  }
}
@-webkit-keyframes und3 {
  from {
    top: 30%;
  }
  to {
    top: 33%;
  }
}
@keyframes und3 {
  from {
    top: 30%;
  }
  to {
    top: 33%;
  }
}
@-webkit-keyframes und2 {
  from {
    margin-top: 0%;
  }
  to {
    margin-top: 1%;
  }
}
@keyframes und2 {
  from {
    margin-top: 0%;
  }
  to {
    margin-top: 1%;
  }
}
@-webkit-keyframes man {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(-5deg);
            transform: rotate(-5deg);
  }
}
@keyframes man {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(-5deg);
            transform: rotate(-5deg);
  }
}
@-webkit-keyframes alert {
  from {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  to {
    -webkit-transform: scale(1.5);
            transform: scale(1.5);
  }
}
@keyframes alert {
  from {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  to {
    -webkit-transform: scale(1.5);
            transform: scale(1.5);
  }
}
.img,
.imgIn {
  display: inline-block;
  position: relative;
  text-align: center;
}
.img img:nth-child(1),
.imgIn img:nth-child(1) {
  top: 0;
  left: 0;
}
.img img:nth-child(2),
.imgIn img:nth-child(2) {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.imgIn img:nth-child(1) {
  -webkit-animation: animate2 0.8s infinite;
          animation: animate2 0.8s infinite;
}
.imgIn img:nth-child(2) {
  -webkit-animation: animate1 0.8s infinite;
          animation: animate1 0.8s infinite;
}

input::-webkit-input-placeholder {
  color: #ccc;
}

input::-moz-placeholder {
  color: #ccc;
}

input:-ms-input-placeholder {
  color: #ccc;
}

input::-ms-input-placeholder {
  color: #ccc;
}

input::placeholder {
  color: #ccc;
}

.certificate {
  width: auto;
  height: auto;
  position: relative;
}

.certificate .input,
.certificate textarea {
  position: absolute;
  bottom: 24%;
  left: 0%;
  right: 0;
  margin: auto;
  display: inline-block;
  width: 50%;
  font-size: 1.8rem;
  border: none;
  font-weight: bold;
  text-align: center;
  opacity: 1;
  z-index: 9999999;
  color: #4b4c4c;
  height: auto;
  resize: none;
  overflow-wrap: break-word;
  background: rgba(255, 255, 255, 0);
  padding-top: 0px;
  letter-spacing: 0;
  padding-top: 1px;
  border: px solid #000;
}
@media screen and (max-width: 1024px) {
  .certificate .input,
  .certificate textarea {
    font-size: 1.5rem;
    top: 26%;
  }
}

.certificate span {
  position: absolute;
  white-space: nowrap;
  top: 71%;
  left: 48%;
  font-weight: bold;
  display: inline-block;
  font-size: 1.5vw;
  color: #fff;
  opacity: 1;
}
@media screen and (max-width: 1024px) {
  .certificate span {
    font-size: 1.1rem;
    top: 71.5%;
  }
}
@media screen and (max-width: 768px) {
  .certificate span {
    font-size: 0.6rem;
    top: 71.5%;
  }
}

#certificateCanvas {
  -webkit-transform: scale(0.4);
          transform: scale(0.4);
}
@media screen and (max-width: 768px) {
  #certificateCanvas {
    -webkit-transform: scale(0.25);
            transform: scale(0.25);
  }
}

.cert-generator {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#nameInput {
  width: 50%;
  min-width: 300px;
  background: #fff;
  border: 1px solid #644500;
  padding: 10px;
  font-size: 1.2rem;
  border-radius: 30px;
  margin-bottom: 10px;
  text-align: center;
}

.cer_btn_box {
  width: auto;
  display: inline-block;
  position: absolute;
  z-index: 999;
  top: 70vh;
  max-width: 500px;
  border-radius: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
}
.cer_btn_box .btn button {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
  background-color: #644500;
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 1.3rem;
  text-decoration: none;
  letter-spacing: 2px;
  color: #fff;
  cursor: pointer;
  margin: 0 10px;
  -webkit-box-shadow: none;
          box-shadow: none;
  border: 0;
  margin-bottom: 10px;
}
.cer_btn_box .btn button:before, .cer_btn_box .btn button.clear:after {
  width: 100%;
  height: 100%;
  border-radius: 50px;
  content: "";
  border: solid 1px #644500;
  position: absolute;
  top: 4px;
  right: 3px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.cer_btn_box .btn button:hover, .cer_btn_box .btn button:focus {
  margin-top: 5px;
}
.cer_btn_box .btn button:hover:before, .cer_btn_box .btn button.clear:hover:after, .cer_btn_box .btn button:focus:before, .cer_btn_box .btn button.clear:focus:after {
  top: 0px;
  right: 0px;
}

#game {
  height: 100vh;
  overflow: visible;
  background: #644500;
  top: 0;
  left: 0;
  position: absolute;
}
@media screen and (max-width: 1024px) {
  #game {
    height: 100%;
    padding-bottom: 50px;
    top: 0;
    position: relative;
  }
}
#game img.q_corner {
  width: 30%;
  position: absolute;
  z-index: 2;
}
#game img.q_corner:nth-child(1) {
  left: 0;
  top: 0;
}
#game img.q_corner:nth-child(2) {
  right: 0;
  bottom: 0;
  -webkit-transform: rotateX(180deg) rotateY(180deg);
          transform: rotateX(180deg) rotateY(180deg);
}
#game .bgloop {
  width: 100%;
  height: 100%;
  opacity: 0.4;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
}
@media screen and (max-width: 768px) {
  #game .bgloop {
    display: none;
  }
}
#game .gameMain {
  width: 100%;
  position: relative;
  text-align: center;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 1024px) {
  #game .gameMain {
    display: inline-table;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    padding: 100px 0;
    overflow-x: hidden;
  }
}
@media screen and (max-width: 768px) {
  #game .gameMain {
    padding: 50px 0;
  }
}
#game .gameMain .bg_q {
  width: 100%;
}
@media screen and (max-width: 768px) {
  #game .gameMain .bg_q {
    width: 100%;
    height: 100%;
    margin-top: 50px;
  }
}
#game .gameMain .bg_q .q_box {
  height: 100%;
  position: relative;
}
@media screen and (max-width: 1024px) {
  #game .gameMain .bg_q .q_box {
    height: 100%;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}
#game .gameMain .bg_q .q_box .q {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: absolute;
  left: 0;
  top: 0;
  padding: 30px 40px;
}
@media screen and (max-width: 1024px) {
  #game .gameMain .bg_q .q_box .q {
    height: auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: 0 0 20px 0;
    position: relative;
  }
}
#game .gameMain .bg_q .q_box .q .time {
  width: 100px;
  height: 100px;
  text-align: center;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 10px;
  font-weight: bolder;
  background-color: #FDD640;
  border-radius: 50px;
  border: 8px solid #ff8c00;
  position: absolute;
  right: -20px;
  top: -20px;
  z-index: 20;
}
@media screen and (max-width: 1024px) {
  #game .gameMain .bg_q .q_box .q .time {
    width: 70px;
    height: 70px;
    right: -40px;
    top: -40px;
  }
}
@media screen and (max-width: 480px) {
  #game .gameMain .bg_q .q_box .q .time {
    width: 70px;
    height: 70px;
    right: calc(50% - 35px);
  }
}
#game .gameMain .bg_q .q_box .q .time img {
  width: 50px;
  margin-left: auto;
  margin-right: 5px;
}
@media screen and (max-width: 768px) {
  #game .gameMain .bg_q .q_box .q .time img {
    width: 35px;
  }
}
#game .gameMain .bg_q .q_box .q .time p {
  display: inline-block;
  font-size: 2.6rem;
  width: auto;
  font-family: arial;
  font-weight: 900;
  color: #644500;
}
@media screen and (max-width: 768px) {
  #game .gameMain .bg_q .q_box .q .time p {
    font-size: 1.8rem;
  }
}
#game .gameMain .bg_q .q_box .q .q_ani {
  width: 40%;
  padding: 0;
  text-align: right;
  position: relative;
}
@media screen and (max-width: 768px) {
  #game .gameMain .bg_q .q_box .q .q_ani {
    width: 100%;
    margin-bottom: 10px;
  }
}
#game .gameMain .bg_q .q_box .q .q_ani .q_title {
  font-size: 1.25rem;
  font-weight: black;
  font-family: "Montserrat";
  padding: 10px 0 10px 30px;
}
@media screen and (max-width: 768px) {
  #game .gameMain .bg_q .q_box .q .q_ani .q_title {
    font-size: 0.8rem;
  }
}
#game .gameMain .bg_q .q_box .q .q_ani .q_img {
  width: 100%;
  height: auto;
  margin-left: autol;
}
#game .gameMain .bg_q .q_box .q .q_ani .q_img .lineBox {
  position: absolute;
  width: 50vw;
  height: 10px;
  right: 100%;
  margin-top: 10px;
  top: 30%;
}
#game .gameMain .bg_q .q_box .q .q_ani .q_img .lineBox span {
  width: 100%;
  height: 10px;
  display: block;
  margin-bottom: 15px;
  background: #ff8c00;
}
#game .gameMain .bg_q .q_box .q .q_ani .q_img p {
  margin-bottom: auto;
  line-height: 1.3;
  color: #555555;
}
#game .gameMain .bg_q .q_box .q .q_ani .q_img figure {
  border-radius: 30px;
  overflow: hidden;
  background: #FFF7E1;
}
#game .gameMain .bg_q .q_box .q .q_ans {
  width: calc(60% - 30px);
  padding: 0 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  position: relative;
  font-weight: bolder;
}
@media screen and (max-width: 1024px) {
  #game .gameMain .bg_q .q_box .q .q_ans {
    width: 100%;
    padding: 0 0px;
  }
}
#game .gameMain .bg_q .q_box .q .q_ans .q_q {
  width: 100%;
  margin-bottom: 20px;
  padding-top: 30px;
  position: relative;
}
@media screen and (max-width: 768px) {
  #game .gameMain .bg_q .q_box .q .q_ans .q_q {
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
  }
}
#game .gameMain .bg_q .q_box .q .q_ans .q_q .q_title_box {
  background: #644500;
  padding: 0 20px;
  position: absolute;
  left: 50px;
  top: -40px;
  font-size: 1.8rem;
}
@media screen and (max-width: 1366px) {
  #game .gameMain .bg_q .q_box .q .q_ans .q_q .q_title_box {
    font-size: 1.6rem;
  }
}
@media screen and (max-width: 768px) {
  #game .gameMain .bg_q .q_box .q .q_ans .q_q .q_title_box {
    position: relative;
    left: auto;
    right: auto;
    top: 0;
    margin: auto;
    font-size: 1.4rem;
  }
}
#game .gameMain .bg_q .q_box .q .q_ans .q_q .q_title_bd {
  border: 1px solid #ff8c00;
  padding: 5px 5px;
  border-radius: 50px;
}
@media screen and (max-width: 768px) {
  #game .gameMain .bg_q .q_box .q .q_ans .q_q .q_title_bd {
    border: none;
  }
}
#game .gameMain .bg_q .q_box .q .q_ans .q_q .q_title {
  display: inline-block;
  width: auto;
  padding: 5px 30px 10px 30px;
  border-radius: 50px;
  background: #ff8c00;
  color: #fff;
  margin: 0;
  line-height: 0;
}
#game .gameMain .bg_q .q_box .q .q_ans .q_q .title {
  font-size: 2.2rem;
  color: #555555;
}
@media screen and (max-width: 1440px) {
  #game .gameMain .bg_q .q_box .q .q_ans .q_q .title {
    font-size: 2rem;
  }
}
@media screen and (max-width: 480px) {
  #game .gameMain .bg_q .q_box .q .q_ans .q_q .title {
    font-size: 1.5rem;
  }
}
#game .gameMain .bg_q .q_box .q .q_ans .q_q .sub_title {
  color: #644500;
  margin-top: 10px;
  font-size: 1.7rem;
  font-weight: normal;
}
@media screen and (max-width: 1440px) {
  #game .gameMain .bg_q .q_box .q .q_ans .q_q .sub_title {
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 480px) {
  #game .gameMain .bg_q .q_box .q .q_ans .q_q .sub_title {
    font-size: 1.3rem;
  }
}
#game .gameMain .bg_q .q_box .q .q_ans p {
  font-size: 1.3rem;
  text-align: left;
  line-height: 1.5;
}
@media screen and (max-width: 1366px) {
  #game .gameMain .bg_q .q_box .q .q_ans p {
    font-size: 1.5rem;
    line-height: 1.5;
  }
}
@media screen and (max-width: 768px) {
  #game .gameMain .bg_q .q_box .q .q_ans p {
    font-size: 1.3rem;
    margin-bottom: 0;
  }
}
#game .gameMain .bg_q .q_box .q .q_ans .ans_check {
  position: absolute;
  width: 60%;
  z-index: 10;
  display: none;
  margin-bottom: 100px;
  pointer-events: none;
}
#game .gameMain .bg_q .q_box .q .q_ans .selected {
  cursor: pointer;
}
#game .gameMain .bg_q .q_box .q .q_ans .selected:before, #game .gameMain .bg_q .q_box .q .q_ans .selected.clear:after {
  background-color: #00D0C3;
}
#game .gameMain .bg_q .q_box .q .q_ans.ans_list > a {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-align: left;
  position: relative;
  z-index: 2;
  color: #555555;
  cursor: pointer;
  margin-bottom: 10px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 50px;
  border: solid #00D0C3 1px;
  background: #fff;
  padding: 12px 15px 12px 10px;
}
@media screen and (max-width: 1440px) {
  #game .gameMain .bg_q .q_box .q .q_ans.ans_list > a {
    padding: 5px 15px 5px 5px;
  }
}
#game .gameMain .bg_q .q_box .q .q_ans.ans_list > a div {
  color: #644500;
  font-size: 1.4rem;
  height: 100%;
  width: 100%;
  position: relative;
  font-weight: 400;
  line-height: 1.4;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}
@media screen and (max-width: 1440px) {
  #game .gameMain .bg_q .q_box .q .q_ans.ans_list > a div {
    font-size: 1.3rem;
  }
}
@media screen and (max-width: 480px) {
  #game .gameMain .bg_q .q_box .q .q_ans.ans_list > a div {
    font-size: 1.2rem;
  }
}
#game .gameMain .bg_q .q_box .q .q_ans.ans_list > a span {
  width: 60px;
  height: 50px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  left: 0px;
  border-radius: 50px;
  background: #fff;
  font-size: 2.3rem;
  line-height: 0;
  color: #00D0C3;
  font-weight: bolder;
  position: relative;
  text-align: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  z-index: 5;
  border: solid #00D0C3 1px;
  margin-right: 10px;
  font-family: arial;
  font-weight: bolder;
}
@media screen and (max-width: 1440px) {
  #game .gameMain .bg_q .q_box .q .q_ans.ans_list > a span {
    font-size: 1rem;
    width: 45px;
    height: 40px;
  }
}
@media screen and (max-width: 768px) {
  #game .gameMain .bg_q .q_box .q .q_ans.ans_list > a span {
    font-size: 1rem;
    width: 45px;
    height: 35px;
    margin-right: 5px;
  }
}
#game .gameMain .bg_q .q_box .q .q_ans.ans_list > a.selected {
  color: #fff;
}
#game .gameMain .bg_q .q_box .q .q_ans.ans_list > a.selected div:before, #game .gameMain .bg_q .q_box .q .q_ans.ans_list > a.selected div.clear:after {
  z-index: -1;
  background-color: #00D0C3;
}
#game .gameMain .bg_q .q_box .q .q_ans.ans_list > a:hover, #game .gameMain .bg_q .q_box .q .q_ans.ans_list > a:focus {
  background: rgba(255, 140, 0, 0.4);
}
#game .gameMain .bg_q .q_box .q .q_ans.ans_list > a:hover span, #game .gameMain .bg_q .q_box .q .q_ans.ans_list > a:focus span {
  color: #fff;
  border: 0;
  background: #ff8c00;
}
#game .gameMain .bg_q .q_box .q .q_ans .ans_detail {
  width: 100%;
  height: 60vh;
  padding: 10px 30px 30px 30px;
  display: none;
  color: #644500;
  text-align: left;
  position: relative;
  overflow-y: auto;
}
@media screen and (max-width: 1020px) {
  #game .gameMain .bg_q .q_box .q .q_ans .ans_detail {
    padding: 0 0 10px 0px;
    overflow-y: hidden;
    overflow-x: hidden;
  }
}
@media screen and (max-width: 768px) {
  #game .gameMain .bg_q .q_box .q .q_ans .ans_detail {
    height: 100%;
  }
}
#game .gameMain .bg_q .q_box .q .q_ans .ans_detail b {
  font-size: 1.8rem;
  white-space: nowrap;
  text-align: left;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 10px 0;
}
@media screen and (max-width: 1440px) {
  #game .gameMain .bg_q .q_box .q .q_ans .ans_detail b {
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 768px) {
  #game .gameMain .bg_q .q_box .q .q_ans .ans_detail b {
    font-size: 1.4rem;
  }
}
#game .gameMain .bg_q .q_box .q .q_ans .ans_detail b img {
  width: 26px;
  margin-right: 5px;
}
@media screen and (max-width: 1440px) {
  #game .gameMain .bg_q .q_box .q .q_ans .ans_detail b img {
    width: 23px;
  }
}
@media screen and (max-width: 768px) {
  #game .gameMain .bg_q .q_box .q .q_ans .ans_detail b img {
    width: 20px;
  }
}
#game .gameMain .bg_q .q_box .q .q_ans .ans_detail p {
  padding-left: 35px;
  margin-bottom: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-weight: normal;
  font-size: 1.5rem;
  line-height: 1.5;
}
@media screen and (max-width: 1440px) {
  #game .gameMain .bg_q .q_box .q .q_ans .ans_detail p {
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 786px) {
  #game .gameMain .bg_q .q_box .q .q_ans .ans_detail p {
    font-size: 1.2rem;
  }
}
#game .gameMain .bg_q .q_box .q .q_ans .ans_detail p span {
  width: 40px;
  height: 40px;
  background: #ff8c00;
  border-radius: 50px;
  margin-right: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media screen and (max-width: 786px) {
  #game .gameMain .bg_q .q_box .q .q_ans .ans_detail p span {
    width: 30px;
    height: 30px;
  }
}
#game .gameMain .bg_q .q_box .q .q_ans ul {
  margin-bottom: 15px;
  padding-left: 35px;
}
#game .gameMain .bg_q .q_box .q .q_ans ul li {
  font-size: 1.5rem;
  margin-bottom: 5px;
  line-height: 1.3;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-weight: normal;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
@media screen and (max-width: 1440px) {
  #game .gameMain .bg_q .q_box .q .q_ans ul li {
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 768px) {
  #game .gameMain .bg_q .q_box .q .q_ans ul li {
    font-size: 1.2rem;
  }
}
#game .gameMain .bg_q .q_box .q .q_ans ul li:before, #game .gameMain .bg_q .q_box .q .q_ans ul li.clear:after {
  content: "•";
  color: #ff8c00;
  margin-right: 0.5em;
  font-size: 1.2em;
}
#game .gameMain .bg_q .q_box .q .q_ans ul li a {
  color: #ff8c00;
}
#game .gameMain .bg_q .q_box .q .q_ans .btn {
  display: none;
}
#game #sec3 {
  width: 100%;
  height: 100%;
  font-size: 7.5rem;
  font-family: arial;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #fff;
  position: absolute;
  background: rgba(0, 0, 0, 0.1);
  z-index: 90;
}
#game .level {
  width: 100%;
  max-width: 900px;
  height: 100%;
  margin: auto;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media screen and (max-width: 1500px) {
  #game .level {
    max-width: 450px;
    margin: auto;
  }
}
@media screen and (max-width: 768px) {
  #game .level {
    width: 80%;
    margin: auto;
  }
}
#game .level .gameCard {
  width: 100%;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 25% 20px 25% 20px 25% 20px 25%;
  grid-template-columns: 25% 25% 25% 25%;
  -ms-grid-rows: 50% 20px 50% 20px 50% 20px 50%;
  grid-template-rows: 50% 50% 50% 50%;
  grid-gap: 20px;
  position: relative;
}
#game .level .gameCard > *:nth-child(1) {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
}
#game .level .gameCard > *:nth-child(2) {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
}
#game .level .gameCard > *:nth-child(3) {
  -ms-grid-row: 1;
  -ms-grid-column: 5;
}
#game .level .gameCard > *:nth-child(4) {
  -ms-grid-row: 1;
  -ms-grid-column: 7;
}
#game .level .gameCard > *:nth-child(5) {
  -ms-grid-row: 3;
  -ms-grid-column: 1;
}
#game .level .gameCard > *:nth-child(6) {
  -ms-grid-row: 3;
  -ms-grid-column: 3;
}
#game .level .gameCard > *:nth-child(7) {
  -ms-grid-row: 3;
  -ms-grid-column: 5;
}
#game .level .gameCard > *:nth-child(8) {
  -ms-grid-row: 3;
  -ms-grid-column: 7;
}
#game .level .gameCard > *:nth-child(9) {
  -ms-grid-row: 5;
  -ms-grid-column: 1;
}
#game .level .gameCard > *:nth-child(10) {
  -ms-grid-row: 5;
  -ms-grid-column: 3;
}
#game .level .gameCard > *:nth-child(11) {
  -ms-grid-row: 5;
  -ms-grid-column: 5;
}
#game .level .gameCard > *:nth-child(12) {
  -ms-grid-row: 5;
  -ms-grid-column: 7;
}
#game .level .gameCard > *:nth-child(13) {
  -ms-grid-row: 7;
  -ms-grid-column: 1;
}
#game .level .gameCard > *:nth-child(14) {
  -ms-grid-row: 7;
  -ms-grid-column: 3;
}
#game .level .gameCard > *:nth-child(15) {
  -ms-grid-row: 7;
  -ms-grid-column: 5;
}
#game .level .gameCard > *:nth-child(16) {
  -ms-grid-row: 7;
  -ms-grid-column: 7;
}
#game .level .gameCard:after {
  content: "";
  display: block;
  padding-bottom: 170%;
}
@media screen and (max-width: 480px) {
  #game .level .gameCard {
    width: 70%;
    -ms-grid-columns: 50% 20px 50%;
    grid-template-columns: 50% 50%;
    -ms-grid-rows: 25% 20px 25% 20px 25% 20px 25%;
    grid-template-rows: 25% 25% 25% 25%;
  }
  #game .level .gameCard > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  #game .level .gameCard > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
  }
  #game .level .gameCard > *:nth-child(3) {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
  }
  #game .level .gameCard > *:nth-child(4) {
    -ms-grid-row: 3;
    -ms-grid-column: 3;
  }
  #game .level .gameCard > *:nth-child(5) {
    -ms-grid-row: 5;
    -ms-grid-column: 1;
  }
  #game .level .gameCard > *:nth-child(6) {
    -ms-grid-row: 5;
    -ms-grid-column: 3;
  }
  #game .level .gameCard > *:nth-child(7) {
    -ms-grid-row: 7;
    -ms-grid-column: 1;
  }
  #game .level .gameCard > *:nth-child(8) {
    -ms-grid-row: 7;
    -ms-grid-column: 3;
  }
  #game .level .gameCard:after {
    padding-bottom: 270%;
  }
}
#game .level.level2 .gameCard {
  -ms-grid-columns: 25% 20px 25% 20px 25% 20px 25%;
  grid-template-columns: 25% 25% 25% 25%;
  -ms-grid-rows: 33% 20px 33% 20px 33% 20px 33%;
  grid-template-rows: 33% 33% 33% 33%;
}
#game .level.level2 .gameCard > *:nth-child(1) {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
}
#game .level.level2 .gameCard > *:nth-child(2) {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
}
#game .level.level2 .gameCard > *:nth-child(3) {
  -ms-grid-row: 1;
  -ms-grid-column: 5;
}
#game .level.level2 .gameCard > *:nth-child(4) {
  -ms-grid-row: 1;
  -ms-grid-column: 7;
}
#game .level.level2 .gameCard > *:nth-child(5) {
  -ms-grid-row: 3;
  -ms-grid-column: 1;
}
#game .level.level2 .gameCard > *:nth-child(6) {
  -ms-grid-row: 3;
  -ms-grid-column: 3;
}
#game .level.level2 .gameCard > *:nth-child(7) {
  -ms-grid-row: 3;
  -ms-grid-column: 5;
}
#game .level.level2 .gameCard > *:nth-child(8) {
  -ms-grid-row: 3;
  -ms-grid-column: 7;
}
#game .level.level2 .gameCard > *:nth-child(9) {
  -ms-grid-row: 5;
  -ms-grid-column: 1;
}
#game .level.level2 .gameCard > *:nth-child(10) {
  -ms-grid-row: 5;
  -ms-grid-column: 3;
}
#game .level.level2 .gameCard > *:nth-child(11) {
  -ms-grid-row: 5;
  -ms-grid-column: 5;
}
#game .level.level2 .gameCard > *:nth-child(12) {
  -ms-grid-row: 5;
  -ms-grid-column: 7;
}
#game .level.level2 .gameCard > *:nth-child(13) {
  -ms-grid-row: 7;
  -ms-grid-column: 1;
}
#game .level.level2 .gameCard > *:nth-child(14) {
  -ms-grid-row: 7;
  -ms-grid-column: 3;
}
#game .level.level2 .gameCard > *:nth-child(15) {
  -ms-grid-row: 7;
  -ms-grid-column: 5;
}
#game .level.level2 .gameCard > *:nth-child(16) {
  -ms-grid-row: 7;
  -ms-grid-column: 7;
}
#game .level.level2 .gameCard:after {
  padding-bottom: 280%;
}
@media screen and (max-width: 480px) {
  #game .level.level2 .gameCard {
    -ms-grid-columns: 33% 20px 33% 20px 33%;
    grid-template-columns: 33% 33% 33%;
    -ms-grid-rows: 25% 20px 25% 20px 25% 20px 25%;
    grid-template-rows: 25% 25% 25% 25%;
    left: -15px;
  }
  #game .level.level2 .gameCard > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  #game .level.level2 .gameCard > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
  }
  #game .level.level2 .gameCard > *:nth-child(3) {
    -ms-grid-row: 1;
    -ms-grid-column: 5;
  }
  #game .level.level2 .gameCard > *:nth-child(4) {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
  }
  #game .level.level2 .gameCard > *:nth-child(5) {
    -ms-grid-row: 3;
    -ms-grid-column: 3;
  }
  #game .level.level2 .gameCard > *:nth-child(6) {
    -ms-grid-row: 3;
    -ms-grid-column: 5;
  }
  #game .level.level2 .gameCard > *:nth-child(7) {
    -ms-grid-row: 5;
    -ms-grid-column: 1;
  }
  #game .level.level2 .gameCard > *:nth-child(8) {
    -ms-grid-row: 5;
    -ms-grid-column: 3;
  }
  #game .level.level2 .gameCard > *:nth-child(9) {
    -ms-grid-row: 5;
    -ms-grid-column: 5;
  }
  #game .level.level2 .gameCard > *:nth-child(10) {
    -ms-grid-row: 7;
    -ms-grid-column: 1;
  }
  #game .level.level2 .gameCard > *:nth-child(11) {
    -ms-grid-row: 7;
    -ms-grid-column: 3;
  }
  #game .level.level2 .gameCard > *:nth-child(12) {
    -ms-grid-row: 7;
    -ms-grid-column: 5;
  }
  #game .level.level2 .gameCard:after {
    padding-bottom: 280%;
  }
}
#game .level.level3 .gameCard {
  -ms-grid-columns: 25% 20px 25% 20px 25% 20px 25%;
  grid-template-columns: 25% 25% 25% 25%;
  -ms-grid-rows: 25% 20px 25% 20px 25% 20px 25%;
  grid-template-rows: 25% 25% 25% 25%;
  width: 80%;
}
#game .level.level3 .gameCard > *:nth-child(1) {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
}
#game .level.level3 .gameCard > *:nth-child(2) {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
}
#game .level.level3 .gameCard > *:nth-child(3) {
  -ms-grid-row: 1;
  -ms-grid-column: 5;
}
#game .level.level3 .gameCard > *:nth-child(4) {
  -ms-grid-row: 1;
  -ms-grid-column: 7;
}
#game .level.level3 .gameCard > *:nth-child(5) {
  -ms-grid-row: 3;
  -ms-grid-column: 1;
}
#game .level.level3 .gameCard > *:nth-child(6) {
  -ms-grid-row: 3;
  -ms-grid-column: 3;
}
#game .level.level3 .gameCard > *:nth-child(7) {
  -ms-grid-row: 3;
  -ms-grid-column: 5;
}
#game .level.level3 .gameCard > *:nth-child(8) {
  -ms-grid-row: 3;
  -ms-grid-column: 7;
}
#game .level.level3 .gameCard > *:nth-child(9) {
  -ms-grid-row: 5;
  -ms-grid-column: 1;
}
#game .level.level3 .gameCard > *:nth-child(10) {
  -ms-grid-row: 5;
  -ms-grid-column: 3;
}
#game .level.level3 .gameCard > *:nth-child(11) {
  -ms-grid-row: 5;
  -ms-grid-column: 5;
}
#game .level.level3 .gameCard > *:nth-child(12) {
  -ms-grid-row: 5;
  -ms-grid-column: 7;
}
#game .level.level3 .gameCard > *:nth-child(13) {
  -ms-grid-row: 7;
  -ms-grid-column: 1;
}
#game .level.level3 .gameCard > *:nth-child(14) {
  -ms-grid-row: 7;
  -ms-grid-column: 3;
}
#game .level.level3 .gameCard > *:nth-child(15) {
  -ms-grid-row: 7;
  -ms-grid-column: 5;
}
#game .level.level3 .gameCard > *:nth-child(16) {
  -ms-grid-row: 7;
  -ms-grid-column: 7;
}
#game .level.level3 .gameCard:after {
  padding-bottom: 320%;
}
@media screen and (max-width: 480px) {
  #game .level.level3 .gameCard {
    width: 95%;
    grid-gap: 5px;
    left: -10px;
  }
  #game .level.level3 .gameCard:after {
    padding-bottom: 350%;
  }
}
#game .ansBox {
  position: absolute;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.84);
  width: auto;
  max-width: 400px;
  padding: 20px;
  border-radius: 10px;
  display: none;
  z-index: 99;
}
@media screen and (max-width: 480px) {
  #game .ansBox {
    margin: 2%;
    padding: 15px 50px;
  }
}
#game .ansBox .closeAns {
  cursor: pointer;
  width: 30px;
  height: 30px;
  background: url(../images/btn_close3.webp) no-repeat;
  background-size: contain;
  position: absolute;
  right: 10px;
  top: 10px;
}
#game .ansBox .ansT {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
@media screen and (max-width: 480px) {
  #game .ansBox .ansT {
    font-size: 1.25rem;
  }
}
#game .ansBox p {
  line-height: 1.5;
}
@media screen and (max-width: 480px) {
  #game .ansBox p {
    font-size: 0.9rem;
  }
}
#game .ansBox img {
  width: 100%;
  max-width: 100px;
  margin: 10px auto;
}
#game .card {
  float: left;
  text-align: center;
  display: block;
  -webkit-perspective: 500px;
          perspective: 500px;
  position: relative;
  cursor: pointer;
  z-index: 50;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
#game .card .inside {
  width: 100%;
  height: 100%;
  display: block;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
  padding: 0 !important;
}
#game .card .inside.picked, #game .card .inside.matched, #game .card .inside.revew {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}
#game .card .inside.matched {
  -webkit-animation: 0.5s matchAnim ease-in-out;
          animation: 0.5s matchAnim ease-in-out;
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s;
}
#game .card .inside.matched a {
  border: none !important;
}
#game .card .front,
#game .card .back {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  position: absolute;
  top: 0 !important;
  left: 0 !important;
  width: 100%;
  height: 100%;
  display: block !important;
  background-position: center !important;
  padding: 0 !important;
  border-radius: 20px;
  padding: 0px !important;
}
@media screen and (max-width: 480px) {
  #game .card .front,
  #game .card .back {
    border-radius: 10px;
  }
}
#game .card .front img,
#game .card .back img {
  max-width: 100%;
  height: 100%;
  display: block;
  margin: 0px auto 0 auto;
  text-align: center;
}
#game .card .front {
  -webkit-transform: rotateY(-180deg);
          transform: rotateY(-180deg);
  padding: 0;
}
@media screen and (max-width: 480px) {
  #game .card .front {
    border-radius: 10px;
  }
}
#game .card .back {
  -webkit-transform: rotateX(0);
          transform: rotateX(0);
  background-size: 100% 100%;
}