:root {
  --family-dark-pink: #583440;
  --family-pink: #e67191;
  --family-dark-red: #821220;
  --family-red: #f15a25;

  --family-plain-red: #8d4242;
  --family-plain-orange: #e58f71;

  --family-yellow: #ffcc33;
  --family-purple: #563e95;
  --family-orange: #f37543;
  --family-green: #1f938b;
  --family-plain-green: #2cbab0;
}

/* 修正手機版點開表單時被鍵盤畫面頂到上面 */
html,body{
  -webkit-overflow-scrolling : touch !important;
  overflow: auto !important;
}

body {
  font-family: 'Noto Sans TC', 'Microsoft JhengHei', 'Heiti TC',
    'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* common */
section {
  position: relative;
}

.reg-unlock-process-container .row {
  --bs-gutter-x: 1rem;
}


.howto .row {
  --bs-gutter-x: 2rem;
}

.section-title {
  display: block;
  text-align: center;
  margin-bottom: 2rem;
}

.section-title > img {
  width: 80%;
  max-width: 350px;
}

.text-pink {
  color: var(--family-pink) !important;
}

.text-orange {
  color: var(--family-orange) !important;
}

.bg-pink {
  background-color: var(--family-pink) !important;
}

.bg-dark-orange {
  background-color: var(--family-red) !important;
}

.btn.btn-pink {
  background-color: var(--family-pink);
  color: #fff;
}

.btn.btn-pink:hover,
.btn.btn-pink:active,
.btn.btn-pink:focus {
  background-color: var(--family-dark-pink);
  box-shadow: none;
  outline: none;
}

.custom-accordion {
}

.custom-accordion .card {
  border: none;
  background: none;
  border-radius: 15px !important;
  overflow: hidden;
  border: solid 3px #333333;
  border-bottom: solid 3px #333333 !important;
  margin-bottom: 1rem;
}

.custom-accordion .card .card-header {
  padding: 0;
  margin: 0;
  border: none;
  background-color: #f1f2f4;
  border-radius: 0;
}

.custom-accordion .card .card-header > button.btn {
  color: #333333;
  font-weight: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  padding: 0.8rem 1.8rem;
}

.custom-accordion .card .card-header > button.btn:focus {
  outline: none;
  box-shadow: none;
}

.custom-accordion .card .card-header > button.btn .title {
  font-size: 1.2rem;
}

.custom-accordion .card .card-header > button.btn .minus {
  display: block;
}

.custom-accordion .card .card-header > button.btn .plus {
  display: none;
}

.custom-accordion .card .card-header > button.btn.collapsed .minus {
  display: none;
}

.custom-accordion .card .card-header > button.btn.collapsed .plus {
  display: block;
}

.custom-accordion .card .card-body {
  padding: 0.8rem 1.8rem;
  color: #fff;
  background-color: #333333;
  backface-visibility: hidden;
}

@media (min-width: 576px) and (max-width: 991px) {
}

@media (max-width: 575px) {
  .custom-accordion .card .card-header > button.btn {
    padding: 0.5rem 1rem;
  }

  .custom-accordion .card .card-header > button.btn .title {
    font-size: 1rem;
  }
}

/* nav */
.family-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--family-yellow);
  z-index: 10;
}

.family-nav:not(.nowTop) {
  box-shadow: 0 1px 6px 0px #3304099c;
}

.family-nav .navbar-toggler:focus {
  outline: none;
}

.family-nav .navbar-toggler .down {
  display: none;
}

.family-nav .navbar-toggler .up {
  display: inherit;
}

.family-nav .navbar-toggler.collapsed .down {
  display: inherit;
}

.family-nav .navbar-toggler.collapsed .up {
  display: none;
}

.family-nav .navbar-collapse {
  justify-content: center;
}

.family-nav .nav-item {
  position: relative;
}

.family-nav .nav-item .nav-link {
  position: relative;
  color: var(--family-purple);
  font-size: 1.2rem;
  font-weight: 1000;
  padding: 1rem 1.5rem;
  transition: color 0.4s ease, text-shadow 0.4s ease;
}

.family-nav .nav-item:hover .nav-link,
.family-nav .nav-item.active .nav-link {
  color: var(--family-purple);
  text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff,
    -1px -1px 0 #fff, 0px 1px 0 #fff, 0px -1px 0 #fff, -1px 0px 0 #fff,
    1px 0px 0 #fff, 2px 2px 0 #fff, -2px 2px 0 #fff, 2px -2px 0 #fff,
    -2px -2px 0 #fff, 0px 2px 0 #fff, 0px -2px 0 #fff, -2px 0px 0 #fff,
    2px 0px 0 #fff, 1px 2px 0 #fff, -1px 2px 0 #fff, 1px -2px 0 #fff,
    -1px -2px 0 #fff, 2px 1px 0 #fff, -2px 1px 0 #fff, 2px -1px 0 #fff,
    -2px -1px 0 #fff;
}

.family-nav .nav-item .nav-link-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.4s ease;
  opacity: 0;
}

.family-nav .nav-item:hover .nav-link-bg,
.family-nav .nav-item.active .nav-link-bg {
  opacity: 1;
}

.family-nav .nav-share-link {
  color: var(--family-purple);
  transition: color 0.4s ease;
  /* border-radius: 50%; */
  display: block;
  padding: 3px 0;
  overflow: hidden;
}

.family-nav .nav-share-link:hover {
  color: #fff;
}

.family-nav .navbar-brand img {
  /* display: none; */
  position: absolute;
  top: 0;
  height: 130%;
  transition: opacity 0.4s ease;
  opacity: 1;
}

.family-nav.nowTop .navbar-brand img {
  opacity: 0;
}

@media (max-width: 991px) {
  .family-nav ul.navbar-nav {
    align-items: center;
  }

  .family-nav.navbar {
    /* padding: 13px 3px; */
    justify-content: flex-end;
  }

  .family-nav .navbar-toggler {
    padding: 13px 3px;
  }

  .family-nav .navbar-brand {
    position: absolute;
    left: 50%;
    top: 5px;
    transform: translate(-50%, 0);
  }

  .family-nav .navbar-brand img {
    position: relative;
    display: block;
    height: 40px;
  }
}

@media (max-width: 576px) {
}

/* main */
main {
  background-color: #510b12;
  overflow:hidden;
}

.all-main-bg {
  position: fixed;
  display: block;
  width: 100%;
  height: 100vh;
  left: 0;
  top: 0;
  object-fit: cover;
  z-index: 0;
  /* filter: blur(5px); */
}

/* main visual */
.main-visual {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: #efb99a;
}

.main-visual .main-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation-duration: 0.7s;
}

.main-visual .chara1-div {
  position: absolute;
  bottom: 0;
  left: 0;
  max-width: 70%;
  transform: translate(-40%, 40%);
}

.main-visual .chara1 {
  max-height: 100%;
  max-width: 100%;
  animation-duration: 0.5s;
  animation-delay: 0.7s;
  animation-fill-mode: both;
  animation-iteration-count: 1;
}

.main-visual .chara2-div {
  position: absolute;
  top: 0;
  right: 0;
  max-width: 50%;
  transform: translate(20%, -30%);
}

.main-visual .chara2 {
  max-height: 100%;
  max-width: 100%;
  animation-duration: 0.5s;
  animation-delay: 1.4s;
  animation-fill-mode: both;
}

.main-visual .middle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50%;
  height: 60%;
  transform: translate(-50%, -50%);
  display: inline-block;
}

@keyframes title-beating {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

.main-visual .title {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center;
  animation-duration: 1s, 1.5s;
  animation-timing-function: ease, ease-in;
  animation-delay: 2.4s, 2.4s;
  animation-direction: normal, alternate;
  animation-fill-mode: both, both;
  animation-iteration-count: 1, infinite;
}

@keyframes ship-moving {
  0% {
    left: 55%;
    bottom: 13%;
  }

  100% {
    left: calc(55% + 150px);
    bottom: calc(13% - 60px);
  }
}

@keyframes ship-waving {
  0% {
    transform: translate(1px, -3px);
  }

  100% {
    transform: translate(-1px, 3px);
  }
}

.main-visual .ship {
  position: absolute;
  width: 200px;
  filter: blur(1px);
  animation-duration: 8s, 1s, 0.7s;
  animation-fill-mode: both, both, both;
  animation-timing-function: ease-in-out, ease-in-out, ease;
  animation-iteration-count: infinite, infinite, 1;
  animation-delay: 5s, 5s, 5s;
  animation-direction: alternate, alternate, normal;
}

@media (max-width: 575px) {
  .main-visual .chara1-div {
    max-width: 100%;
  }

  .main-visual .chara1 {
    max-height: 100%;
    max-width: 100%;
  }

  .main-visual .chara2-div {
    max-width: 70%;
    transform: translate(20%, -20%);
  }

  .main-visual .chara2 {
    max-height: 100%;
    max-width: 100%;
  }

  .main-visual .middle {
    width: 80%;
    height: 70%;
  }
}

/* main visual animation */
.inited .main-visual .main-bg {
  animation-name: fadeIn;
}

.inited .main-visual .chara1 {
  animation-name: lightSpeedInLeft;
}

.inited .main-visual .chara2 {
  animation-name: lightSpeedInRight;
}

.inited .main-visual .title {
  animation-name: bounceIn, title-beating;
}

.inited .main-visual .ship {
  animation-name: ship-moving, ship-waving, fadeIn;
}


.main-visual .scroll_tip_wrapper {
  position: absolute;
  top: -5px;
  right: 0;
  width: 10%;
  color: #562336;
  font-weight:600;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  opacity: 0;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  z-index: 100;

  animation-name: ani_scroll;
  animation-duration: .5s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.69, 0, 1, 1);
  animation-delay: 6s;
  animation-iteration-count: 1;
  animation-direction: normal;
}

.scroll_tip_wrapper a {
  color: #562336;
  text-decoration:none;
}


@keyframes ani_scroll {
  0% {
    opacity: 0;
    filter: brightness(10);
  }

  50% {
    opacity: 0.5;
    filter: brightness(5);
  }

  100% {
    opacity: 1;
    filter: brightness(1);
  }
}

.main-visual .scroll_tip {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  width: 100%;
  height: 100vh;
}

.main-visual .scroll_tip_el {
  position: relative;
  width: 0.1rem;
  height: 6rem;
  margin-top: 1rem;
  overflow: hidden;
}

.main-visual .scroll_tip_el::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #562336;
  -webkit-animation: scroller 2s cubic-bezier(0.39, 0.575, 0.565, 1) infinite;
  animation: scroller 2s cubic-bezier(0.39, 0.575, 0.565, 1) infinite;
  content: "";
}

@-webkit-keyframes scroller {
  0% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  100% {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }
}

@keyframes scroller {
  0% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  100% {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }
}


/* push */
.push-msg {
  background-color: #764c24;
  padding: 1.5rem 0;
  position: relative;
  z-index: 1;
}

.push-border {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 16px;
  object-fit: cover;
  transform: translate(0, -50%);
  /* background-image: url('/gamelanding/images/tamsui/push-border.png');
  background-size: contain;
  background-repeat: repeat-x; */
}

.push-border.top {
  top: 0;
}

.push-border.bottom {
  top: 100%;
}

.msg {
  color: var(--family-yellow);
  margin-bottom: 0;
  text-align: center;
  font-size: 2.6rem;
  font-weight: bold;
  letter-spacing: 2px;
}

@media (min-width: 576px) and (max-width: 991px) {
  .msg {
    font-size: 2rem;
  }

  .push-border {
    height: 10px;
  }
}

@media (max-width: 575px) {
  .msg {
    font-size: 1.2rem;
  }

  .push-border {
    height: 6px;
  }
}

/* video */
.video {
  /* padding: 6rem 0; */
}

.video-bg {
  padding: 6rem 0 0 0;
  background-image: url('/gamelanding/images/tamsui/family/image_bg_teeth_yellow.jpg');
  background-repeat: repeat;
}

.game-desc {
  color: #000;
  display: block;
  margin: 0 auto;
  max-width: 700px;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 1000;
}

.game-desc .special {
  font-size: 1.4em;
  color: #ffe574;
  -webkit-text-stroke: 0.04em #000;
  display: inline-block;
}

.game-desc .special.left {
  transform: rotateZ(-10deg);
}

.game-desc .special.right {
  transform: rotateZ(10deg);
}

.game-desc .sm-only {
  display: none;
}

.pad-hr {
  display: block;
  margin: 0 auto;
  max-width: 300px;
  width: 80%;
  padding: 1rem 0 2rem 0;
}

.video-content {
  padding: 6rem 0;
  background-color: #ffffff7d;
}

@media (min-width: 576px) and (max-width: 991px) {
  .game-desc {
    font-size: 1.4rem;
  }
}

@media (max-width: 575px) {
  .video-bg {
    padding: 3rem 0 0 0;
  }

  .game-desc {
    font-size: 1.4rem;
  }

  .game-desc .sm-only {
    display: inherit;
  }

  .video-content {
    padding: 3rem 0;
  }
}

/* intro */
.intro {
  padding: 6rem 0;
  background-color: #725aa47d;
}

.intro-img {
  width: 90%;
  max-width: 600px;
}

.intro-text {
  color: #000;
  /* background-color: #ffffffdb; */
  background-image: url('/gamelanding/images/tamsui/family/image_bg_brushes_white.png');
  background-size: 100% 100%;
  border-radius: 15px;
  font-size: 1.2rem;
  text-align: center;
  line-height: 1.8;
  margin-bottom: 1rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 12rem;
  /* box-shadow: 2px 2px 4px 0 #0006; */
}

@media (min-width: 576px) and (max-width: 991px) {
  .intro-text {
    background-color: #ffffffdb;
    box-shadow: 2px 2px 4px 0 #0006;
    background-image: initial;
    padding: 1.5rem;
    font-size: 1.2rem;
  }
}

@media (max-width: 575px) {
  .intro {
    padding: 3rem 0;
  }

  .intro-text {
    background-color: #ffffffdb;
    box-shadow: 2px 2px 4px 0 #0006;
    background-image: initial;
    padding: 1rem;
    font-size: 1rem;
  }
}

/* event and howto bg */
.cute-bg {
  position: relative;
  background-image: url('/gamelanding/images/tamsui/family/image_bg_icons_colorful.jpg');
  background-repeat: repeat;
}

/* event */
.event {
  padding: 4rem 0;
}

.event-card-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  max-width: 700px;
  margin: 0 auto;
}

.event-card {
  flex: 1 0 50%;
  max-width: 700px;
  position: relative;
  margin-bottom: 1rem;
}

.event-card-bg {
  width: 100%;
}

.event-card-pic {
  position: absolute;
  top: 15%;
  left: 15%;
  width: 70%;
  height: 40%;
  border-radius: 20px;
  overflow: hidden;
}

.event-card-pic-content {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card-content {
  position: absolute;
  width: 75%;
  left: 15%;
  height: 25%;
  top: 55%;
}

.event-card-content-title {
  color: #fe4d87;
  text-align: center;
  font-weight: bold;
  font-size: 1.4rem;
  margin: 0.5rem 0 0.2rem;
}

.event-card-content-desc {
  color: #996634;
  font-size: 1rem;
  text-align: center;
}

.event-card-count {
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
}

.event-card-count > img {
  width: 100%;
}

.event-card-count > span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: #9a6634;
  font-weight: 1000;
}

@media (min-width: 576px) and (max-width: 767px) {
  .event-card-content-title {
    font-size: 1rem;
  }

  .event-card-content-desc {
    font-size: .8rem;
  }
}

@media (max-width: 575px) {
  .event-card {
    flex: 1 0 100%;
  }

  .event-card-content-title {
    font-size: 1.2rem;
  }

  .event-card-content-desc {
    font-size: 1rem;
  }
}

/* howto */
.howto {
  padding: 4rem 0;
}

.howto-card {
  position: relative;
  padding-bottom: 2rem;
}

.howto-card-border {
  border: solid 3px #000;
  border-radius: 15px;
  padding: 15px;
  display: flex;
  align-items: center;
}

.howto-card-pic {
  position: relative;
  flex: 0 0 40%;
  background-color: #f5dae1;
  border-radius: 10px;
  overflow: hidden;
}

.howto-card-pic > div {
  position: relative;
  width: 100%;
  padding-top: 100%;
}

.howto-card-pic > div > img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60%;
  height: 60%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.howto-card-content {
  margin-bottom: auto;
  position: relative;
  flex: 1 1;
  padding-left: 10px;
}

.howto-card-content-title {
  color: var(--family-pink);
  font-size: 1.4rem;
  font-weight: 1000;
}

.howto-card-content-div {
  width: 100%;
  color: #000;
  font-size: 1rem;
  font-weight: 1000;
}

.howto-card-count {
  position: absolute;
  width: 60px;
  top: 0;
  left: 10px;
  transform: translate(0, -20%);
}

.howto-card-count > img {
  position: relative;
  width: 100%;
}

.howto-card-count > span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2rem;
  text-shadow: 0 2px #00000047;
}

@media (min-width: 425px) and (max-width: 991px) {
  .howto-card-content-img {
    height: 30%;
  }

  .howto-card-content-number {
    font-size: 1.4rem;
  }

  .howto-card-content-title {
    font-size: 1.2rem;
  }

  .howto-card-content-div {
    font-size: 1rem;
  }
}



/* reg */
.reg {
  padding: 4rem 0;
  background-image: url('/gamelanding/images/tamsui/teeth-bg.jpg');
  background-repeat: repeat;
}

.reg-info-div {
  margin: 0 auto;
  position: relative;
  max-width: 1100px;
}

.table>:not(:last-child)>:last-child>* {
  font-size: 1rem;
  font-weight: bolder;
  border-width: 2px;
  border-bottom-color: rgba(255,255,255, 0.8);
}

.table-bordered>:not(caption)>*>* {
  border-width: 2px 2px;
  border-color: rgba(255,255,255, 0.6);
}

.table_wrap {
  padding: 1rem;
  overflow-x: scroll
}

.table_wrap table>:not(caption)>*>* {
  padding: .8rem;
}

.table_wrap th {
  min-width: 100px;
}

.table_wrap th:hover,
.table_wrap td:hover {
  background-color:rgba(0, 0, 0, 0.1);
}

.bg-main-red {
  background-color: var(--family-orange) !important;
}

.reg_table_info {
  width: 100%;
  margin: 0;
  text-align: center;
}

.reg-info-div .reg-indent {
  text-indent: 1.6em;
}

.reg_info_title > img {
  width: 20px;
  vertical-align: baseline;
  margin-right: 0.2rem;
}

.reg .yellow-bg {
  background-color: #fff4d6;
}

.reg .border-red {
  border-color: #bb461d !important;
}

.reg-table-title {
  padding: 4rem 0;
  position: relative;
}

.reg-table-title::before {
  position: absolute;
  width: 100px;
  height: 50px;
  background-color: beige;
  left: 0;
  top: 0;
}

.reg-table-title > h3 {
  background-image: url('/gamelanding/images/tamsui/family/image_frame_stroke_brown.png');
  background-size: 100% 100%;
  position: relative;
  width: fit-content;
  color: #83380d;
  background-color: #fef4d6;
  box-shadow: 0px 0px 15px 0px #ffff;
  padding: 0.8rem 6rem;
  border-radius: 999px;
  margin: 0 auto;
  font-weight: 1000;
}

.reg-table-title .dec {
  position: absolute;
  top: 50%;
}

.reg-table-title .dec.left {
  height: 60px;
  left: 0;
  transform: translate(-80%, -50%);
}

.reg-table-title .dec.right {
  height: 100px;
  right: 0;
  transform: translate(80%, -50%);
}

.reg-table {
  overflow-x: auto;
  white-space: nowrap;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: .5rem;
}

.reg-table-date {
  margin: 1rem 0.5rem 0rem 0;
  background-color: #fff;
  padding: .7rem;
  text-align: center;
  font-size: 1.4rem;
  color: #b6431b;
  letter-spacing: 2px;
  font-weight: bold;
}

.reg-table-times {
  margin: 1rem 0.5rem 0rem 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.reg-table-times .icon_early_bird {
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  transform: scale(0.8);
}

.icon_discount {
  width: 4.5rem;
}

.reg-table-time {
  position: relative;
  padding: 0.2rem;
}

.btn.reg-btn {
  width: 100%;
  border-radius: 0;
  background-color: var(--family-green);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.btn.reg-btn:hover,
.btn.reg-btn:focus {
  outline: none;
  box-shadow: none;
}

.btn.reg-btn.reg-btn-less {
  background-color: var(--family-orange);
}

.btn.reg-btn:hover {
  background-color: var(--family-plain-green);
}

.btn.reg-btn.reg-btn-less:hover {
  background-color: var(--family-plain-orange);
  color: white;
}

.btn.reg-btn.reg-btn-less:hover, .btn.reg-btn.reg-btn-less:focus {
}

.btn.reg-btn[disabled]:hover,
.btn.reg-btn[disabled] {
  background-color: var(--family-dark-red);
}
 
.btn.reg-btn.reg-btn-less:hover,
.btn.reg-btn.reg-btn-less:focus {
}

.btn.reg-btn[disabled] {
  background-color: #999;
}

.reg-countdown-container {
  display: flex;
  justify-content: space-around;
}

.reg-countdown-card {
  width: 100%;
  max-width: 150px;
  margin: 0 0.5rem;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border-radius: 2rem;
  border: solid 4px #f7931e;
  color: #f7931e;
}

.reg-countdown-card .number {
  font-size: 2.5rem;
  letter-spacing: 3px;
}

.reg-countdown-card .unit {
}

.reg-unlock-container {
  color: #000;
}

.reg-unlock-container hr {
  border-color: #000;
}

.reg-unlock-title {
  color: #f05a24;
  font-size: 1.8rem;
  margin: 0;
}

.reg-unlock-amount {
  color: #f05a24;
  font-size: 1.8rem;
  margin: 0;
}

.reg-unlock-amount .number {
  font-size: 3rem;
}

/* .reg-unlock-process-container {
  padding: 1.5rem 0;
} */

.reg-unlock-process-card {
  position: relative;
  height: 220px;
  margin-top: 3rem;
}

.reg-unlock-process-card .header {
  position: absolute;
  width: 100%;
  top:-1.5rem;
  color: #fff;
  background-color: #f05a24;
  padding: .5rem .8rem;
  z-index: 2;
  border-radius: 2rem 2rem 0 0;
  border: solid 1px #f05a24;
}

.reg-unlock-process-card .header > p {
  margin: 0;
  font-size: 1.4rem;
}

.reg-unlock-process-card .header p.amount {
  font-size: 2rem;
}

.reg-unlock-process-card img {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  height: 160px;
  padding: 1rem;
}

.reg-unlock-process-card .prize_img {
  border-radius: 0 0 2rem 2rem;
  text-align: center;
  height: 220px;
  padding: 15px;
  /* background-color: #fff; */
  border-radius: 2rem;
  border: solid 2px #f05a24;
  border-top-width: 0;
}

.reg-unlock-process-card .prize_img > img {
  width: 50%;
  height: 100%;
  object-fit: contain;
  z-index: 0;
}

.prize_01 {
  background: url('/gamelanding/images/tamsui/family/prize_01_more_event.png');
  background-size: 100% 87%;
  background-position: center bottom;
  background-repeat: no-repeat;
  backface-visibility: hidden;
}

.prize_02 {
  background: url('/gamelanding/images/tamsui/family/prize_03_more_npc.png');
  background-size:  100% 92%;
  background-position: center bottom;
  background-repeat: no-repeat;
  backface-visibility: hidden;
}

.prize_03 {
  background: url('/gamelanding/images/tamsui/family/prize_02_npc_event.png');
  background-size:  100% 87%;
  background-position: center bottom;
  background-repeat: no-repeat;
  backface-visibility: hidden;
}

.reg-unlock-process-card .reach {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-35px, -50%);
  max-width: 120px;
  height: 70px;
  display: none;
}

.reg-unlock-process-card.active .reach {
  display: block;
  z-index: 20;
}


.reg-unlock-process-card .process-card-detail {
  color: white;
  background: #f05a24;
  position: absolute;
  top: 0%;
  left: 0;
  width: 100%;
  height: 0;
  opacity: 0;
  z-index: 1;
  display: flex;
  padding:1rem;
  flex-direction: column;
  justify-content: end;
  transition: all .3s ease-in-out;
  border-radius: 2rem;
}

.reg-unlock-process-card:hover .process-card-detail {
  height: 100%;
  opacity: 1;
  transition: all .3s ease-in-out;
}

.reg-unlock-process-card .process-card-detail h3,
.reg-unlock-process-card .process-card-detail h5,
.reg-unlock-process-card .process-card-detail p {
  opacity: 0;
  transition: all .1s ease-out;
  pointer-events: none;
}

.reg-unlock-process-card .process-card-detail h3,
.reg-unlock-process-card:hover .process-card-detail h5,
.reg-unlock-process-card:hover .process-card-detail p {
  color: white;
  opacity: 1;
  transition: opacity .5s cubic-bezier(1,.12,.55,.55);
}

@media (min-width: 768px) {
  .flickity-button {
    display: none;
  }
  .table_wrap {
    padding: 3rem;
  }  
}

@media (max-width: 991px) {
  .reg-unlock-process-card .header {
    padding: 0.5rem 1.5rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .reg-countdown-card {
    max-width: 130px;
    padding: 1rem 0;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .reg-table-title > h3 {
    padding: 0.8rem 3rem;
  }

  .reg-table-col {
    width: 80%;
  }

  .reg-countdown-card {
    max-width: 100px;
    padding: 1rem 0;
  }

  .reg-countdown-card .number {
    font-size: 2rem;
  }
}

@media (max-width: 575px) {
  .reg-table-date {
    padding: 0.7rem 0.5rem;
    letter-spacing: 1px;
    font-size: 1.2rem;
  }

  .reg-table {
    /* overflow-x: scroll; */
    /* margin-left: 50px;
    margin-right: 50px; */
  }

  .reg-table-col {
    width: 80%;
  }

  .reg-table-times {
    flex-wrap: wrap;
    /* height: 80vh; */
  }

  .reg-table-time {
    /* height: 20%; */
  }

  .reg-table-time .btn.reg-btn {
    height: 100%;
  }

  .reg-unlock-process-card {
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
  }

  .reg-countdown-card {
    max-width: inherit;
  }

  .reg-countdown-card .number {
    font-size: 2rem;
  }

  .reg-table-title {
    padding: 2rem 1rem;
  }

  .reg-table-title > h3 {
    padding: 0.8rem 2rem;
    border: none;
    font-size: 1.3rem;
  }

  .reg-table-title img {
    display: none;
  }
}

@media (max-width: 424px) {
  .howto {
    padding: 2rem 0;
  }

  .howto-card-content-img {
    height: 30%;
  }

  .howto-card-content-number {
    font-size: 1.4rem;
  }

  .howto-card-content-title {
    font-size: 1.2rem;
  }

  .howto-card-content-div {
    font-size: 0.8rem;
  }

  .reg-table-title {
    padding: 2rem 1rem;
    font-size: 1rem;
  }
  
  .reg-table-title > h3 {
    padding: 0.8rem 1.5rem;
    border: none;
    font-size: 1.2rem;
}
}
/* prize */
.prize {
  padding: 4rem 0;
  background-color: #3fa9f57d;
}

.prize-slogan {
  color: #0f5f99;
  font-size: 2.2rem;
  text-align: center;
  font-weight: 1000;
  text-shadow: 1.5px 0px 0px white, -1.5px 0px 0px white, 0px 1.5px 0px white,
    0px -1.5px 0px white;
}

.prize-card-row {
  /* width: 100%; */
  margin-left: -15px;
  margin-right: -15px;
}

.prize-card-col {
  width: 33.33%;
  padding: 15px;
}

.prize-card {
  position: relative;
  display: flex;
  width: 100%;
  border-width: 4px;
  border-color: #246da3;
  border-style: solid;
  border-radius: 10px;
  transition: all 0.4s ease;
  color: #f6941e;

  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  padding: 1rem 1.5rem;
  box-shadow: 0 12px 0 0 #246da3;
}

.prize-card:hover {
  border-color: #fecb33;
  color: #fecb33;
  text-decoration: none;
  box-shadow: 0 12px 0 0 #fecb33;
}

.prize-card .prize-img {
  width: 100%;
}

.prize-card .prize-img > div {
  position: relative;
  padding-top: 75%;
}

.prize-card .prize-img > div > img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  object-fit: contain;
}

.prize-card .prize-name {
  font-size: 2.5rem;
  font-weight: 1000;
  font-style: italic;
  margin: 0;
}

.prize .custom-accordion .card {
  border: solid 3px #0f5f9a;
  border-bottom: solid 3px #0f5f9a !important;
  margin-bottom: 1rem;
}

.prize .custom-accordion .card .card-header {
  background-color: #fff;
}

.prize .custom-accordion .card .card-header > button.btn {
  color: #0f5f9a;
}

.prize .custom-accordion .card .card-body {
  background-color: #0f5f9a;
}

@media (max-width: 767px) {
  .prize-card-row {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .prize-card-col {
    width: 90%;
    padding: 15px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .prize-card .prize-name {
    font-size: 1.8rem;
  }
  .reg-unlock-process-card {
    position: relative;
    width: 80%;
    aspect-ratio: 1/1;
    margin-top: 3rem;
  }

  .reg-unlock-process-card .header {
    position: absolute;
    width: 100%;
    top: -33px;
    color: #fff;
    background-color: #f05a24;
    padding: 0.5rem 0.8rem;
    z-index: 2;
    border-radius: 2rem 2rem 0 0;
    border: solid 1px #f05a24;
  }
}

@media (min-width: 578px) and (max-width: 767px) {
  .prize-card .prize-name {
    font-size: 1.8rem;
  }
}

@media (max-width: 575px) {
  .prize-card {
    max-width: 300px;
    margin: 0 auto;
  }

  .prize-card .prize-name {
    font-size: 1.4rem;
  }

  .reg-table-title .dec {
    display: none;
  }
}

/* notice */
.notice {
  padding: 4rem 0;
  background-color: #fff9;
}

@media (min-width: 576px) and (max-width: 991px) {
}

@media (max-width: 575px) {
  .notice {
    padding: 2rem 0;
  }
}

/* faq */
.faq {
  padding: 4rem 0;
  background-color: #fff9;
}

.card .collapse.show {
  background-color: black;
}

@media (min-width: 576px) and (max-width: 991px) {
}

@media (max-width: 575px) {
  .faq {
    padding: 2rem 0;
  }
}

/* logos */
.logos {
  padding: 4rem 0;
  background-image: url('/gamelanding/images/tamsui/family/image_bg_icons_grayscale.jpg');
  background-repeat: repeat;
}

@media (min-width: 576px) and (max-width: 991px) {
}

@media (max-width: 575px) {
  .logos {
    padding: 2rem 0;
  }
}

/* fixed buy btn */
.fixed-buy-link {
  display: block;
  /* display: none; */
  position: fixed;
  width: 200px;
  bottom: -2rem;
  right: 0;
  padding: 5px;
  transition: transform 0.2s ease;
  transform: translate(0, 100%);
  color: #fff;
}

.fixed-buy-link:hover {
  color: #fff;
  text-decoration: none;
}

.fixed-buy-link.active {
  transform: translate(0, 0);
  bottom: 0rem;
}

@keyframes fixed-floating {
  0% {
    transform: translate(0, -10px);
  }

  100% {
    transform: translate(0, -30px);
  }
}

.fixed-buy-link .fixed-buy-animate {
  animation-name: fixed-floating;
  animation-duration: 5s;
  animation-fill-mode: both;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.fixed-buy-link img {
  width: 100%;
}

.fixed-buy-link img.normal {
  display: block;
}

.fixed-buy-link img.hover,
.fixed-buy-link img.clicked {
  display: none;
}

.fixed-buy-link:hover img.normal,
.fixed-buy-link:focus img.normal {
  display: none;
}

.fixed-buy-link:hover:not(:focus) img.hover {
  display: block;
}

.fixed-buy-link:focus img.clicked {
  display: block;
}

@media (min-width: 576px) and (max-width: 991px) {
  .fixed-buy-link {
    width: 150px;
  }
}

@media (max-width: 575px) {
  .fixed-buy-link {
    width: 100px;
  }
}

.body-initialing {
  overflow-y: hidden;
}

.initial-blocking {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fc3;
  z-index: 50;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.initial-blocking .loading-img {
  max-width: 70%;
  animation-name: rubberBand;
  animation-duration: 1s;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  margin-bottom: 1rem;
  display: block;
}

.initial-blocking p {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 1000;
}

/* prize info */


.prizeInfo .modal-content .modal-body {
  width: 40vw;
  background: var(--family-yellow);
  padding: 2rem;
  padding-bottom: 1rem;
}

.prizeInfo .close_btn {
  color: black;
  position: absolute;
  right: 0.5rem;
  top: 0rem;
  font-size: 2rem;
  z-index: 1000;
}

.prizeInfo .prize_slider {
  border: 1px solid white;
}

.prizeInfo .flickity-button {
  display: block;
}

.prizeInfo .carousel-item {
  height: 400px;
}

.prizeInfo .carousel-item .prize_img_container {
    height: 80%;
    width: 100%;
    background-position: top center;
    background-size: contain;
    background-repeat: no-repeat;
}

.prizeInfo .carousel-item .carousel-caption {
  padding: 0;
  bottom: 0;
}

.prizeInfo .carousel-indicators {
  padding: 0;
  bottom: -1.5rem;
}

.prizeInfo .carousel-control-prev,
.prizeInfo .carousel-control-next {
  width: auto;
}

button.carousel-control-prev,
button.carousel-control-next  {
  border: none;
  background:transparent;
  filter: invert(1);
}

.modal-content {
  width: auto;
}

@media (min-width: 576px) and (max-width: 991px) {
  .prizeInfo .modal-content .modal-body {
    width: 60vw;
  } 
}

@media (max-width: 575px) {
  .prizeInfo .modal-content .modal-body {
    overflow: hidden;
    padding: 0;
    width: 80vw;
    min-width: 234px;
    aspect-ratio: 1/1;
  } 
  .prizeInfo .carousel-item .prize_img_container {
    margin: 0 auto;
    background-position: top center;
    background-size: 83%;
    max-width: 280px;
  }
  .prizeInfo .carousel-item {
    padding: 1rem;
    height: 100%;
  }

  .prizeInfo .carousel-inner {
    aspect-ratio: 1/1;
  }
  .prizeInfo .carousel-indicators {
    padding: 0;
    bottom: -1rem;
  }

  h5,
  p {
    color: var(--family-dark-pink);
  }
  h5 {
    font-weight:bold;
    font-size: 1rem;
  }
  p {
    font-size: 0.9rem;
  }
  
}


#regModal .form-control:hover,
#regModal select.reg_form_option:hover {
  border: 1px solid darkslategray;
}

#regModal .form-group {
  margin-bottom: 0;
}

#regModal .modal-body {
  padding: 2rem;
}

#regModal .modal-footer, 
#regModal .modal-header {
  padding: 1rem 2rem
}

select.reg_form_option {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

.custom_input_border {
  border: 1px solid #ced4da;
  border-radius: 5px;
}

/* width */
.reg-table::-webkit-scrollbar {
  border-radius:1rem;
  height: 15px;
}

/* Track */
.reg-table::-webkit-scrollbar-track {
  border-radius:1rem;
  background: #f7b5bc;
}

/* Handle */
.reg-table::-webkit-scrollbar-thumb {
  border-radius:1rem;
  background: brown;
}

/* Handle on hover */
.reg-table::-webkit-scrollbar-thumb:hover {
  background: darkred;
}

@media screen and (min-width:991px) {
  .reg-table {
    display: flex;
    justify-content: center;
  }
}

@media screen and (max-width: 991px) {
  /* width */
  .reg-table::-webkit-scrollbar {
    border-radius:1rem;
    height: 15px;
  }

  /* Track */
  .reg-table::-webkit-scrollbar-track {
    border-radius:1rem;
    background: #f7b5bc;
  }

  /* Handle */
  .reg-table::-webkit-scrollbar-thumb {
    border-radius:1rem;
    background: brown !important;
  }

  /* Handle on hover */
  .reg-table::-webkit-scrollbar-thumb:hover {
    background: darkred;
  }
}

/* collaboration */
.collaboration{
  background-color: #f3e3cc;
  padding: 3rem 0;
}

.collaboration-title{
  font-weight: 1000;
  font-size: 3rem;
  padding-left: 2rem;
  padding-bottom: .5rem;
  color: #984949;
  border-bottom: solid 4px #984949;
  margin-bottom: 2.5rem;
}

.collaboration-shops{
  transition: all .4s ease;
  color: #f15a25;
  display: block;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.collaboration-shops:hover, .collaboration-shops:focus{
  text-decoration: none;
  color: var(--family-pink);
}

.collaboration-shops .pic{
  position: relative;
  padding-top: 75%;
  margin-bottom: .5rem;
  transition: transform .2s ease;
  overflow: hidden;
  border: solid 6px #f5d67a;
  border-radius: 2px;
}

.collaboration-shops:hover .pic{
  /* transform: translate(0, 5px); */
}

.collaboration-shops .pic>img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border: solid 6px #fff; */
  /* border-radius: 2px; */
  transition: transform .2s ease;
  /* box-shadow: -2px 2px 3px #aaa; */
}

.collaboration-shops:hover .pic>img{
  transform: scale(1.05);
}

.collaboration-shops .info{
  padding-left: .5rem;
}

.collaboration-shops .info>p{
  margin-bottom: .2rem;
  transition: opacity .4s ease;
  opacity: .7;
  font-size: .7rem;
}

.collaboration-shops:hover .info>p{
  opacity: 1;
}

.collaboration-shops .info>p>span{
  display: inline-block;
  padding-left: .4rem;
}

.collaboration-shops .info>h3{
  font-size: 1.5rem;
  font-weight: 1000;
  margin-bottom: .3rem;
}
