@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;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
  font-family: "微軟正黑體";
  letter-spacing: 2px;
  scroll-behavior: smooth;
}
@media screen and (max-width: 768px) {
  html, body {
    overflow: visible;
    height: 100%;
  }
}

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

.scrollbar::-webkit-scrollbar {
  background-color: rgba(255, 255, 255, 0);
  width: 25px;
}
.scrollbar::-webkit-scrollbar-thumb {
  border-radius: 50px;
  background-color: #4a00d3;
  border: none;
}
.scrollbar::-webkit-scrollbar-track-piece {
  background-color: rgba(255, 255, 255, 0);
}
.scrollbar::-webkit-scrollbar-button {
  background: rgba(255, 255, 255, 0);
  border: 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;
}

.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;
  background-image: url(../images/bg.png);
  background-size: cover;
  overflow-x: hidden;
  padding-bottom: 0;
  position: absolute;
  background-position: bottom center;
  top: 0;
  left: 0;
  padding: 0;
}

audio {
  display: none;
}

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

.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 {
  background: #fff;
}
.filter.start .element {
  background: none;
}
.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 .title {
  position: absolute;
  z-index: 2;
  right: 0%;
  top: 23%;
  width: 51%;
}
@media screen and (max-width: 768px) {
  .filter.start .title {
    display: none;
  }
}
.filter.start .btn #startBtn {
  width: 100%;
  max-width: 300px;
  position: absolute;
  right: 15%;
  bottom: 10%;
}
@media screen and (max-width: 768px) {
  .filter.start .btn #startBtn {
    max-width: 150px;
    right: calc(50% - 75px);
    bottom: 28%;
  }
}
.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%;
  max-width: 350px;
  color: #1b324a;
}
.filter .logName {
  padding: 10px 15px;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background: #1b324a;
  border: 0;
  font-size: 1.25rem;
  width: 100%;
}
.filter .final_data {
  padding: 10px 20px;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  color: #1b324a;
  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;
}
@media screen and (max-width: 768px) {
  .filter .final_data {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    font-size: 1.3rem;
  }
  .filter .final_data .final_point {
    margin-bottom: 5px;
  }
}
.filter mark {
  background: #ffe7e7;
  padding: 0 5px;
}
.filter.login, .filter.logout,.filter.visitor_login {
  height: 100%;
  overflow: scroll;
  padding-top: 5%;
          align-items: flex-start;
}
.filter.login .board, .filter.logout .board,.filter.visitor_login .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,.filter.visitor_login .board .title{
  margin: -80px auto 0px auto;
}
@media screen and (max-width: 1366px) {
  .filter.login .board .title, .filter.logout .board .title,.filter.visitor_login .board .title {
    margin: 0px auto 0px auto;
  }
}
.filter.login p,.filter.visitor_login p{
  margin-top: -20px;
  position: relative;
  font-weight: bold;
}
.filter.login .small,.filter.visitor_login .small{
    margin-bottom: 30px;
}
.filter.login .board .btn, .filter.logout .board .btn, .filter.visitor_login .board .btn {
  margin: 60px 0 0 0;
}
.filter.login .board .btns,.filter.visitor_login .board .btns{
   text-align: center;
    display: flex;
    padding: 5px;
}
.filter.login .d-flex,.filter.visitor_login .d-flex{
  display: flex;
}
.filter.login img,.filter.visitor_login img{max-width: 100%;width: auto;}
.filter.login .board .btns a,.filter.visitor_login .board .btns a{
      max-width: 40%;
      margin: 10px;
  }
@media screen and (max-width: 767px) {
  .filter.login .board .btns,.filter.visitor_login .board .btns{
      flex-wrap: wrap;
      justify-content: center;
  }
}
.filter.login .board p, .filter.logout .board p , .filter.visitor_login .board p{
  margin-bottom: 20px;
  line-height: 1.5;
}
@media screen and (max-width: 768px) {
  .filter.login .board p, .filter.logout .board p,.filter.visitor_login .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: #ff8e00;
}
.filter.cer {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.filter.cer .cerBox {
  width: 100%;
  max-width: 500px;
  text-align: center;
  margin-top: auto;
  background-size: contain;
}
@media screen and (max-width: 1366px) {
  .filter.cer .cerBox {
    max-width: 400px;
  }
}
.filter.cer .btn {
  margin: auto;
  position: relative;
  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: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: auto;
  margin: auto;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .filter.cer .btn {
    bottom: 50px;
  }
}
.filter.cer .btn a {
  width: 230px;
  margin-left: 10px;
}
@media screen and (max-width: 768px) {
  .filter.cer .btn a {
    width: 110px;
  }
}
.filter .board {
  width: 100%;
  max-width: 800px;
  height: auto;
  min-height: 60vh;
  background-size: 100% 100%;
  padding: 30px 100px;
  position: relative;
  background: #fff;
  border-radius: 40px;
}
.filter.visitor_login .board {
  min-height: 0;
}
.filter .board:before, .filter .board:after {
  content: "";
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
}
.filter .board:before, .filter .board.clear:after {
  -webkit-animation: man 1s linear infinite alternate;
          animation: man 1s linear infinite alternate;
}
.filter .board:after {
  -webkit-animation: man 0.7s linear infinite alternate;
          animation: man 0.7s linear infinite alternate;
}
@media screen and (max-width: 768px) {
  .filter .board {
    margin: 5% 15px;
    padding: 10px;
  }
}
@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%;
  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;
  }
}
.filter .board p {
  font-size: 1.5rem;
  color: #1b324a;
  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;
  }
}
.filter .board .btn {
  width: 100%;
  text-align: center;
  margin: 20px 0 0 0;
}
.filter .board .btn a {
  display: inline-block;
  max-width: 230px;
  vertical-align: top;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  position: relative;
  top: 0;
  -webkit-filter: contrast(100%) drop-shadow(0px 0px 0px rgba(0, 88, 109, 0.48));
          filter: contrast(100%) drop-shadow(0px 0px 0px rgba(0, 88, 109, 0.48));
}
.filter .board .btn a:hover {
  top: -5px;
  -webkit-filter: contrast(150%) drop-shadow(0px 15px 30px rgba(0, 208, 255, 0.48));
          filter: contrast(150%) drop-shadow(0px 15px 30px rgba(0, 208, 255, 0.48));
}
@media screen and (max-width: 480px) {
  .filter .board .btn a {
    max-width: 140px;
  }
}

#index .element {
  width: auto;
  display: inline-block;
  right: 0px;
  top: 20px;
  padding: 0px;
  background: none;
}
@media screen and (max-width: 480px) {
  #index .element .bar {
    max-width: 85px;
  }
}
@media screen and (max-width: 1300px) {
  #index .element .name {
    display: block !important;
  }
}

.element {
  width: 100%;
  position: absolute;
  display: inline-block;
  right: 0;
  top: 0px;
  z-index: 999;
  padding: 10px 10px;
  background-size: 100% 100%;
}
@media screen and (max-width: 1366px) {
  .element {
    padding: 20px 20px 0px 20px;
  }
}
@media screen and (max-width: 768px) {
  .element {
    top: 0;
    padding: 10px 10px 0px 20px;
  }
}
.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;
}
.element .btn img {
  width: 100%;
}
.element .btn.btn_home {
  background-color: #6300ff;
}
.element .btn.btn_sound {
  background-color: #047cff;
}
.element .btn.btn_closed {
  background-color: #ff007d;
}
.element .btn.active {
  -webkit-filter: contrast(30%);
}
@media screen and (max-width: 768px) {
  .element .btn {
    width: 35px;
    height: 35px;
    padding: 5px;
  }
}
.element .btn:hover {
  -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: #f4f4f4;
}
.game section {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  text-align: center;
}
.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 {
  -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 {
  -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;
}

footer {
  position: fixed;
  left: 10px;
  bottom: 10px;
  text-align: center;
  display: inline-block;
}
footer a {
  border-radius: 10px;
  overflow: hidden;
  display: inline-block;
}
footer img {
  width: 100%;
  max-width: 180px;
  margin: auto;
  background: #fff;
}
@media screen and (max-width: 768px) {
  footer img {
    max-width: 80px;
  }
}

@-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;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    opacity: 1;
    -webkit-transform: scale(0.98);
            transform: scale(0.98);
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes star {
  0% {
    opacity: 0;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    opacity: 1;
    -webkit-transform: scale(0.98);
            transform: scale(0.98);
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@-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;
  top: 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: 90;
  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: 0;
}
@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%;
  }
}

#game {
  height: 100vh;
  overflow: visible;
  background: #f4f4f4;
  top: 0;
  left: 0;
  position: absolute;
  background-image: url(../images/game/cover_bg.svg);
}
@media screen and (max-width: 768px) {
  #game {
    height: 100%;
    padding-bottom: 50px;
    top: 0;
  }
}
#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 {
  position: relative;
  text-align: center;
  height: 100%;
}
#game .gameMain .bg_q {
  width: 80%;
  height: 70vh;
  margin: auto;
  margin-top: 20vh;
  background-size: 100% 100%;
}
@media screen and (max-width: 768px) {
  #game .gameMain .bg_q {
    width: 100%;
    padding: 0vh 20px 20px 20px;
    height: 100%;
    margin-top: 50px;
  }
}
#game .gameMain .bg_q .q_box {
  width: 100%;
  height: 100%;
  position: relative;
  font-size: 1.2rem;
  color: #1b324a;
}
@media screen and (max-width: 768px) {
  #game .gameMain .bg_q .q_box {
    font-size: 1.1rem;
  }
}
#game .gameMain .bg_q .q_box a {
  font-size: 1.2rem;
  text-decoration: none;
}
@media screen and (max-width: 768px) {
  #game .gameMain .bg_q .q_box a {
    font-size: 1.1rem;
  }
}
#game .gameMain .bg_q .q_box .q {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: top;
      -ms-flex-align: top;
          align-items: top;
  position: absolute;
  left: 0;
  top: 0;
}
@media screen and (max-width: 768px) {
  #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-bottom: 20px;
  }
}
#game .gameMain .bg_q .q_box .q .q_ani {
  width: 50%;
  height: 80%;
  text-align: left;
}
@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 .time {
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  margin-bottom: 10px;
  font-weight: bolder;
}
#game .gameMain .bg_q .q_box .q .q_ani .time img {
  width: 50px;
  margin-left: auto;
  margin-right: 5px;
}
@media screen and (max-width: 768px) {
  #game .gameMain .bg_q .q_box .q .q_ani .time img {
    width: 35px;
  }
}
#game .gameMain .bg_q .q_box .q .q_ani .time p {
  display: inline-block;
  font-size: 2.3rem;
  width: auto;
  margin-right: auto;
}
@media screen and (max-width: 768px) {
  #game .gameMain .bg_q .q_box .q .q_ani .time p {
    font-size: 1.8rem;
  }
}
#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: 90%;
  height: auto;
  border: solid 10px #ff8e00;
  -webkit-box-shadow: 35px 35px 0px #1b324a;
          box-shadow: 35px 35px 0px #1b324a;
}
#game .gameMain .bg_q .q_box .q .q_ani .q_img:before, #game .gameMain .bg_q .q_box .q .q_ani .q_img.clear:after {
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 768px) {
  #game .gameMain .bg_q .q_box .q .q_ani .q_img {
    border: solid 5px #ff8e00;
    -webkit-box-shadow: 15px 15px 0px #1b324a;
            box-shadow: 15px 15px 0px #1b324a;
  }
}
#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: #ff8e00;
}
#game .gameMain .bg_q .q_box .q .q_ani .q_img p {
  margin-bottom: auto;
  line-height: 1.5;
}
#game .gameMain .bg_q .q_box .q .q_ani .q_img figure {
  overflow: hidden;
}
#game .gameMain .bg_q .q_box .q .q_ans {
  width: 50%;
  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: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
  font-weight: bolder;
}
@media screen and (max-width: 768px) {
  #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%;
  padding: 30px;
  border: solid 4px #ff8e00;
  margin-bottom: 20px;
  padding-top: 50px;
  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: #f4f4f4;
  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 #ff8e00;
  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: #ff8e00;
  color: #fff;
  margin: 0;
  line-height: 0;
}
#game .gameMain .bg_q .q_box .q .q_ans p {
  font-size: 1.8rem;
  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;
}
#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: #1b324a;
}
#game .gameMain .bg_q .q_box .q .q_ans.ans_list a {
  width: 100%;
  padding: 5px 0px 5px 20px;
  display: block;
  text-align: left;
  position: relative;
  z-index: 2;
  color: #1b324a;
  cursor: pointer;
  margin-bottom: 10px;
}
@media screen and (max-width: 768px) {
  #game .gameMain .bg_q .q_box .q .q_ans.ans_list a {
    margin-bottom: 0px;
  }
}
#game .gameMain .bg_q .q_box .q .q_ans.ans_list a div {
  font-size: 1.6rem;
  height: 100%;
  width: 100%;
  background: #ff8e00;
  padding: 20px 30px;
  position: relative;
  -webkit-clip-path: polygon(3% 0, 95% 0, 100% 20%, 100% 78%, 96% 100%, 3% 100%, 0 80%, 0 20%);
          clip-path: polygon(3% 0, 95% 0, 100% 20%, 100% 78%, 96% 100%, 3% 100%, 0 80%, 0 20%);
}
#game .gameMain .bg_q .q_box .q .q_ans.ans_list a div:before, #game .gameMain .bg_q .q_box .q .q_ans.ans_list a div.clear:after {
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  content: "";
  background: #f4f4f4;
  position: absolute;
  left: 2px;
  top: 2px;
  -webkit-clip-path: polygon(3% 0, 95% 0, 100% 20%, 100% 78%, 96% 100%, 3% 100%, 0 80%, 0 20%);
          clip-path: polygon(3% 0, 95% 0, 100% 20%, 100% 78%, 96% 100%, 3% 100%, 0 80%, 0 20%);
  z-index: -1;
}
@media screen and (max-width: 1366px) {
  #game .gameMain .bg_q .q_box .q .q_ans.ans_list a div {
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 768px) {
  #game .gameMain .bg_q .q_box .q .q_ans.ans_list a div {
    font-size: 1.1rem;
    padding: 10px 30px;
    margin-bottom: 0px;
  }
}
#game .gameMain .bg_q .q_box .q .q_ans.ans_list a span {
  width: 46px;
  height: 46px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  left: 0px;
  top: calc(50% - 23px);
  border-radius: 50px;
  background: #ff8e00;
  font-size: 1.8rem;
  color: #fff;
  font-weight: bolder;
  position: absolute;
  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;
}
@media screen and (max-width: 768px) {
  #game .gameMain .bg_q .q_box .q .q_ans.ans_list a span {
    font-size: 1rem;
    width: 30px;
    height: 30px;
    top: calc(50% - 15px);
  }
}
#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: #1b324a;
}
#game .gameMain .bg_q .q_box .q .q_ans.ans_list a:hover {
  color: #fff;
}
#game .gameMain .bg_q .q_box .q .q_ans.ans_list a:hover div:before, #game .gameMain .bg_q .q_box .q .q_ans.ans_list a:hover div.clear:after {
  background: #1b324a;
}
#game .gameMain .bg_q .q_box .q .q_ans .ans_detail {
  width: 100%;
  height: 60%;
  padding: 10px 30px 30px 30px;
  display: none;
}
#game .gameMain .bg_q .q_box .q .q_ans .ans_detail b {
  white-space: nowrap;
}
#game .gameMain .bg_q .q_box .q .q_ans .ans_detail p {
  line-height: 1.5;
  text-align: left;
  margin-bottom: 10px;
  font-size: 1.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 1366px) {
  #game .gameMain .bg_q .q_box .q .q_ans .ans_detail p {
    font-size: 1.3rem;
  }
}
@media screen and (max-width: 786px) {
  #game .gameMain .bg_q .q_box .q .q_ans .ans_detail p {
    font-size: 1.1rem;
  }
}
#game .gameMain .bg_q .q_box .q .q_ans .ans_detail p span {
  width: 40px;
  height: 40px;
  background: #ff8e00;
  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 .btn {
  width: 200px;
  margin-top: 20px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  position: relative;
  top: 0;
  cursor: pointer;
  display: none;
  z-index: 10;
  -webkit-filter: contrast(100%) drop-shadow(0px 0px 0px rgba(0, 88, 109, 0.48));
          filter: contrast(100%) drop-shadow(0px 0px 0px rgba(0, 88, 109, 0.48));
}
@media screen and (max-width: 768px) {
  #game .gameMain .bg_q .q_box .q .q_ans .btn {
    width: 140px;
  }
}
#game .gameMain .bg_q .q_box .q .q_ans .btn:hover {
  top: -5px;
  -webkit-filter: contrast(150%) drop-shadow(0px 15px 30px rgba(0, 208, 255, 0.48));
          filter: contrast(150%) drop-shadow(0px 15px 30px rgba(0, 208, 255, 0.48));
}


#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%;
}


/* ========會員登入=========== */

.input-group{
    margin:0 1rem 1rem;
    display: flex !important;
    align-items: center;
    justify-content: center;
    @media screen and (max-width: 767px) {
        display: block !important;
        margin: 0 1rem 0rem;
    }
    label{
        font-size: 1.3rem;
        font-weight: bold;
        white-space: nowrap;
        margin-right: 10px;
        @media screen and (max-width: 767px) {
            font-size: 1.1rem;
        }
    }
    input{
        padding:2px 15px;
        border-radius: 5px;
        font-size: 1.2rem;
        border-color: #ccc;
        width: 100%;
    }
}