body {
  font-family: "Helvetica Neue", Helvetica, Arial, STHeitiTC-light, STHeiti, "Microsoft JhengHei", 敺株��迤暺煾��, sans-serif;
}

a,
#go-button div {
  transition: all 1s;
}

.text-justify {
  text-align: justify;
}

.text-blue-2e {
  color: #2ea7e0;
}

.text-green-66 {
  color: #668d00;
}

.text-gray-89 {
  color: #898989;
}

.text-purple {
  color: #a862b6
}

.border-green-c1 {
  border-color: #c1dc7d;
}

.border-purple {
  border-color: #a862b6;
}

.bg-primary {
  background-color: #1690c6 !important;
}

.bg-blue-c2 {
  background-image: url(../images/b-bg-all.png);
  background-size: cover;
  background-repeat: no-repeat;
}

.bg-yellow {
  background-image: url(../images/y-bg-all.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.bg-pink {
  background-image: url(../images/p-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
}

.bg-green {
  background-image: url(../images/g-bg.png);
  background-repeat: repeat-y;
  background-size: contain;
}

.bg-purple {
  background-image: url(../images/pu-bg.png);
  background-repeat: repeat-y;
  background-size: contain;
}

#daily-game .card {
  background-color: rgba(255, 255, 255, .7) !important
}

.rounded-7,
.input-group-text.rounded-7 {
  border-radius: 1.25rem !important;
}

#page-title {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

header {
  height: 775px;
}

.m-height {
  height: 730px;
  margin-top: 4rem;
  z-index: 1;
}

.grandmother {
  bottom: 16px;
  right: 46px;
  z-index: 3;
  animation: grandmothe 3s ease-in-out 1s infinite running;
}

#a-description.show,
#a-choose-login.show,
#a-game.show {
  position: relative;
  top: -130px;
}

#a-description,
#a-choose-login,
#a-game {
  position: static;
}

@keyframes grandmothe {
  0% {
    transform: translate(0px, 0px);
  }

  50% {
    transform: translate(3px, 15px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

.wow {
  left: 226px;
  bottom: 239px;
  z-index: 3;
  animation: wow 1s ease-in-out 0.88s infinite running;
}

@keyframes wow {
  0% {
    transform: translate(0px, 0px);
  }

  50% {
    transform: translate(0, 5px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

.ball {
  left: 146px;
  bottom: 10px;
  z-index: 2;
  animation: ball 3s ease-in-out 0.66s infinite running;
}

@keyframes ball {
  0% {
    transform: translate(0px, 0px);
  }

  50% {
    transform: translate(5px, 10px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

.pic {
  left: 54px;
  bottom: 104px;
  z-index: 1;
  animation: pic 3s ease-in-out 0.33s infinite running;
}

@keyframes pic {
  0% {
    transform: translate(0px, 0px);
  }

  50% {
    transform: translate(6px, 5px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

.main-bg::after{
  content: ' ';
  display: block;
  background-image: url('../images/main-bg.jpg');
  background-position: center top;
  background-size: cover;
  height: 100vh;
  width: 100vw;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: fixed;
  z-index: -2;
}

.navbar-toggler-icon {
  background-image: url(../images/menu-icon.png) !important;
}

.offcanvas {
  --bs-offcanvas-width: 220px !important;
  --bs-body-bg: rgba(255, 255, 255, 0.8) !important;
}

.offcanvas-backdrop {
  background-color: transparent !important;
}

.navbar-nav .show>.nav-link,
.offcanvas .nav-link:hover {
  color: #2088ba;
}

.nav-link {
  color: #898989;
}

.logo {
  max-width: 165px;
}

.social-icon a {
  width: 30px
}

#main-img .title-img {
  max-width: 365px;
}

.description-img {
  bottom: 0;
  right: 0;
}

#a-choose-login h2 {
  top: 12px;
  left: 29px;
  max-width: 470px
}

#game iframe {
  height: 740px;
}

.upload-icon {
  right: 17px;
  top: calc(50% - 13px);
}

.upload-text {
  left: 14px;
  top: calc(50% - 13px);
}

#upload .input-group-text,
#upload .form-floating>.form-control {
  height: calc(3rem + calc(var(--bs-border-width) * 2));
  line-height: 1.25;
  cursor: pointer;
}

#upload .form-floating>textarea.form-control {
  height: calc(13rem + calc(var(--bs-border-width) * 2));
  resize: none;
}

.top-icon {
  right: 0;
  bottom: 60px;
  z-index: -1;
  opacity: 0;
}

footer {
  height: 90px;
}

footer .footer-logo {
  width: 98px;
}

.game-bg {
  background-image: url(../images/game-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------------------- */
.box {
  transform: translate(0, 0) scale(1);
  transition: all 1s ease-out;
}

.box.show {
  transform: translate(-480px, 10%) scale(0.8);
}

#link .collapse.show {
  top: 0;
  left: 0;
  height: 100vh;
  width: 250px;
}

#link .navbar.navbar-dark {
  z-index: 3;
}

/* --------------------------20230321 */
.offcanvas.offcanvas-start .btn-close {
  margin-top: 1rem;
}

.footer-logo {
  position: relative !important;
}

.footer-logo img {
  position: absolute;
  top: -74px;
  left: -8px;
}

#go-button {
  position: sticky;
  top: 60px;
  z-index: 1;
}

#link {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  transition: all 0.8s;
}

#page-title {
  transition: all 1s ease-in-out;
  z-index: -1;
}

#go-button+.container {
  margin-top: 7rem;
}

#upload {
  position: relative;
}

#daily-game-video .playbutton {
  top: calc(50% - (127px / 2));
  left: calc(50% - (127px / 2));
  z-index: 3;
}

#answer-button,
#for-answer {
  display: none;
}

#daily-game-video .stop {
  z-index: 2;
  height: 100%;
  width: 100%;
  opacity: 0.8;
  background-repeat: no-repeat;
  cursor: pointer;
}

.playbutton.play,
#answer-button.play,
#answer-button-1 {
  display: none;
}
.wrong-button,
.correct-button {
  display: none;
  max-width: 200px;
}
#answer-button-1.play {
  display: block;
  z-index: 1;
}

#for-answer #answer a.stay {
  background-color: #a862b6 !important;
  color: #fff !important;
}

.h-min.height {
  min-height: 80px;
}

#answer-button-1,
#answer-button {
  left: calc(50% - (199px / 2));
}