* {
  box-sizing: border-box;
  font-family: "Noto Sans TC", "Roboto", "Arial", "Helvetica", "sans-serif";
}

html, body {
  margin: 0;
  padding: 0;
}

.wrapper {
  position: relative;
  width: 1280px;
  height: 800px;
  margin: 0 auto;
}

.beginPage {
  position: absolute;
  background-color: #27123E;
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-align: center;
  z-index: 5;
}
.beginPage .logo {
  margin: 0 auto;
  display: block;
  margin-top: 160px;
}
.beginPage .btn {
  font-family: "Noto Sans TC", "Roboto", "Arial", "Helvetica", "sans-serif";
  font-size: 36px;
  background-color: #15B0BF;
  color: #27123E;
  width: 360px;
  height: 60px;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  line-height: 60px;
  border: none;
  margin-top: 67px;
  border-radius: 10px;
  font-weight: 700;
  font-style: italic;
}
.beginPage .btn:hover {
  background-color: #27123E;
  border: 3px solid #15B0BF;
  color: #15B0BF;
  line-height: 54px;
}

.loginPage {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #27123E;
  overflow: hidden;
  text-align: center;
  z-index: 10;
}
.loginPage .textBox {
  display: block;
  margin: 0 auto;
  width: 500px;
  height: 400px;
  border-radius: 12px;
  border: 3px solid #15B0BF;
  margin-top: 130px;
  text-align: center;
}
.loginPage .text {
  font-size: 24px;
  display: inline-block;
  color: #15B0BF;
  padding: 30px 0;
  font-family: "Noto Sans TC", "Roboto", "Arial", "Helvetica", "sans-serif";
  font-weight: 400;
  line-height: 48px;
}

.logobar {
  display: block;
  position: relative;
  margin: 0 auto;
  height: 107px;
  width: 1000px;
  margin-top: 40px;
}
.logobar .bar {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 810px;
  height: 20px;
  border-radius: 10px;
  background-color: #fff;
  border: 5px solid #fff;
  text-align: left;
  overflow: hidden;
}
.logobar .bar .login {
  width: 0%;
  height: 100%;
  background-color: #EF6278;
  animation: loginBar 3s linear forwards;
}
.logobar .bunny {
  position: absolute;
  top: 0;
  left: 50px;
  animation: login 3s linear forwards;
}

.load {
  text-align: center;
  margin-top: 26px;
}

.div {
  display: inline-block;
  width: 40px;
}

.loadText {
  display: inline-block;
  color: #fff;
  font-size: 36px;
  font-family: "Roboto";
  font-style: italic;
}

.dot {
  display: inline-block;
  color: #fff;
  visibility: hidden;
  font-size: 36px;
  font-family: "Roboto";
  font-style: italic;
}
.dot.first {
  animation: load1 1.5s linear infinite;
}
.dot.second {
  animation: load2 1.5s linear infinite;
}
.dot.third {
  animation: load3 1.5s linear infinite;
}

@keyframes loginBar {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@keyframes login {
  0% {
    left: 50px;
  }
  100% {
    left: 850px;
  }
}
@keyframes load1 {
  0% {
    visibility: hidden;
    opacity: 0;
  }
  30% {
    visibility: hidden;
    opacity: 1;
  }
  50% {
    visibility: visible;
    opacity: 1;
  }
  100% {
    visibility: visible;
    opacity: 1;
  }
}
@keyframes load2 {
  0% {
    visibility: hidden;
    opacity: 0;
  }
  50% {
    visibility: hidden;
    opacity: 1;
  }
  70% {
    visibility: visible;
    opacity: 1;
  }
  100% {
    visibility: visible;
    opacity: 1;
  }
}
@keyframes load3 {
  0% {
    visibility: hidden;
    opacity: 0;
  }
  70% {
    visibility: hidden;
    opacity: 1;
  }
  90% {
    visibility: visible;
    opacity: 1;
  }
  100% {
    visibility: visible;
    opacity: 1;
  }
}
.mainPage {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-align: center;
  background: url(img/bg-main-header.svg), linear-gradient(to bottom, #89D7D1, #4391AB);
  background-repeat: no-repeat, no-repeat;
  background-position: top, bottom;
  background-size: auto, auto;
}

.btnBar {
  background-color: #2A6882;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 200px;
}
.btnBar .navbtn {
  font-family: "Noto Sans TC", "Roboto", "Arial", "Helvetica", "sans-serif";
  font-size: 24px;
  background-color: #15B0BF;
  color: #27123E;
  width: 160px;
  height: 40px;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  line-height: 40px;
  border: none;
  border-radius: 4.5px;
  font-weight: 400;
  transition: all 0.2s;
}
.btnBar .navbtn:hover {
  background-color: #27123E;
  color: #15B0BF;
}

.topsection {
  position: relative;
  width: 100%;
  height: 200px;
}
.topsection .leftCardDeck, .topsection .rightCardDeck {
  display: flex;
  position: absolute;
  bottom: 8px;
  width: 460px;
  height: 160px;
  justify-content: space-between;
  align-items: flex-start;
}
.topsection .leftCardDeck .deck, .topsection .rightCardDeck .deck {
  width: 100px;
  height: 150px;
  position: relative;
  transition: all 0.3s;
}
.topsection .leftCardDeck .cardbox0, .topsection .rightCardDeck .cardbox0 {
  top: 0;
}

.clock {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 20px;
  font-family: Roboto;
  font-weight: 700;
  color: #fff;
}
.clock.pauseTime {
  color: #15B0BF;
}

.leftCardDeck {
  left: 70px;
}

.rightCardDeck {
  right: 70px;
}

.medsection {
  width: 100%;
  height: 520px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 100px;
}
.medsection .deck {
  margin-top: 10px;
  width: 100px;
  height: 150px;
  position: relative;
  transition: all 0.3s;
}
.medsection .deck > .cardbox0 {
  top: 0;
}

.cardbox0 {
  position: absolute;
  top: 40px;
  height: 150px;
  width: 100px;
  transition: all 0.1s;
}

.popupPage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(39, 18, 62, 0.5);
  text-align: center;
  visibility: hidden;
  opacity: 0;
  z-index: 2;
}
.popupPage .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #27123E;
  width: 520px;
  height: 420px;
  border-radius: 12px;
  padding: 39px 70px;
}
.popupPage .content.win {
  padding: 30px 70px;
}
.popupPage .content .overImg {
  display: inline-block;
  padding: 0 100px 0 0;
}
.popupPage .content .winImg {
  display: inline-block;
}
.popupPage .content .text {
  display: inline-block;
  margin-top: 10px;
  font-family: "Noto Sans TC", "Roboto", "Arial", "Helvetica", "sans-serif";
  font-size: 24px;
  line-height: 48px;
  color: #15B0BF;
  text-align: center;
}
.popupPage .content .btn {
  font-family: "Noto Sans TC", "Roboto", "Arial", "Helvetica", "sans-serif";
  font-size: 28px;
  background-color: #15B0BF;
  color: #27123E;
  width: 158px;
  height: 60px;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  line-height: 60px;
  border: none;
  border-radius: 6.5px;
  font-weight: 500;
  margin-top: 10px;
  border: 1px solid transparent;
}
.popupPage .content .btn:hover {
  background-color: #27123E;
  color: #15B0BF;
  background-color: none;
  border: 1px solid #15B0BF;
}
.popupPage .content .btn.btnLeft {
  margin-right: 20px;
}
.popupPage .content .btn.btnRight {
  margin-left: 20px;
}
.popupPage .content .btn-close {
  display: inline-block;
  margin-top: 20px;
  font-family: "Noto Sans TC", "Roboto", "Arial", "Helvetica", "sans-serif";
  font-size: 14px;
  line-height: 24px;
  color: #15B0BF;
  text-align: center;
  font-weight: 300;
  border-bottom: 1px solid #15B0BF;
  cursor: pointer;
}
.popupPage .content .btn-close:hover {
  color: #108691;
  border-color: #108691;
}

.pausePage {
  position: absolute;
  width: 100%;
  top: 0;
  height: 720px;
  left: 0;
  background-color: rgba(0, 0, 0, 0.1);
  visibility: hidden;
  opacity: 0;
}

.hint {
  position: absolute;
  bottom: 100px;
  font-size: 20px;
  right: 50px;
  width: 300px;
  height: 120px;
  text-align: center;
  line-height: 120px;
  background-color: #15B0BF;
  border: 5px solid #fff;
  color: #27123E;
  border-radius: 20px;
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s;
}

.show {
  visibility: visible;
  opacity: 1;
}

.dragging {
  opacity: 0.5;
}

.hover:hover {
  filter: drop-shadow 0px 0px 10px rgba(255, 255, 255, 0.5);
  -webkit-filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.5));
  -moz-filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.5));
}

.enterEffect {
  filter: drop-shadow 0px 0px 10px rgba(255, 255, 255, 0.5);
  -webkit-filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.5));
  -moz-filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.5));
}

.deckEnterEffect {
  height: 125px !important;
  box-shadow: 1px 1px 10px 5px rgba(255, 255, 255, 0.5) inset;
}

@keyframes wave {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes newEffect {
  0% {
    left: -1000px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    left: 0px;
  }
}

/*# sourceMappingURL=style.css.map */
