body, h1, h2, h3, h4 {
  font-family: "Cinzel", "Cormorant Infant", serif , arial;
}
body{
  background-color: #000;
}
img {
  width: 100%;
}

h1 {
  font-size: 1.1rem;
  line-height: 1.3rem;
}

h2 {
  font-size: 0.6rem;
}

h3 {
  font-size: 0.8rem;
  line-height: 1rem;
}

h4{
  font-family: "Cinzel-Bold", serif;
  font-size: 28px;
}

p {
  font-size: 0.6rem;
}
.orientation_container{
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  background-image: url(../img/rule/rules-bg.jpg);
  background-position: bottom right;
  background-size: cover;
  z-index: 9999;
}
.orientation_container img{
  width: 50px;
  height: 50px;
}
.orientation_warnning{
  padding: 10px 10% 10px;
}
 /*透過css的media去做判斷是否橫擺*/
 @media  (max-width:767px) and ( orientation:landscape) 
 {
  .orientation_container{
    display: inline-flex;
    justify-content:  center ;
    flex-direction: column;
    text-align: center;
  }
}

@media (min-width:768px) {
  h1 {
    font-size: 2.1rem;
    line-height: 2.5rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  h3 {
    font-size: 1.2rem;
    line-height: 1.2rem;
  }
}

.color_golden {
  color: #c6b6a4;
}

.color_white {
  color: #FFFFFF;
}

header {
  position: fixed;
  width: 100vw;
  top: 0;
  left: 0;
  z-index: 999;
}

.nav_trigger {
  display: flex;
  width: 30px;
  height: 30px;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 32px;
  right: 32px;
  z-index: 999;
}

.nav_trigger .hamburger {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  width: 25px;
  height: 10px;
  position: relative;
  top: 2px;
  -webkit-transition: all .4s;
  transition: all .4s;
}

.nav_trigger .hamburger:after, .nav_trigger .hamburger:before {
  background-color: #c6b6a4;
  content: " ";
  display: inline-block;
  height: 1px;
  left: 0;
  position: absolute;
  width: 100%;
  -webkit-transition: background-color .15s, -webkit-transform .4s;
  transition: background-color .15s, -webkit-transform .4s;
  transition: transform .4s, background-color .15s;
  transition: transform .4s, background-color .15s, -webkit-transform .4s;
}

.nav_trigger .hamburger span {
  top: 12px;
  background-color: #c6b6a4;
  content: " ";
  display: inline-block;
  height: 0px;
  left: 0;
  position: absolute;
  width: 100%;
  -webkit-transition: background-color .15s, -webkit-transform .4s;
  transition: background-color .15s, -webkit-transform .4s;
  transition: transform .4s, background-color .15s;
  transition: transform .4s, background-color .15s, -webkit-transform .4s;
}

.nav_trigger.active .hamburger:before {
  transform: translateY(5px) rotate(-225deg);
}

.nav_trigger.active .hamburger span {
  transform: opacity(0);
}

.nav_trigger.active .hamburger:after {
  transform: translateY(-4px) rotate(225deg);
}

.nav_trigger .hamburger:before {
  top: 0;
}

.nav_trigger .hamburger:after {
  bottom: 0;
}

@keyframes fadeInFromNone {
  0% {
    display: none;
    opacity: 0;
  }

  1% {
    display: block;
    opacity: 0;
  }

  100% {
    display: block;
    opacity: 1;
  }
}

nav {
  background-color: #000000;
  width: 100vw;
  height: 100vh;
  display: none;
  transform: opacity(0);
  position: absolute;
  pointer-events: none;
}

nav.active {
  display: block;
  -webkit-animation: fadeInFromNone 0.5s ease-out;
  -moz-animation: fadeInFromNone 0.5s ease-out;
  -o-animation: fadeInFromNone 0.5s ease-out;
  animation: fadeInFromNone 0.5s ease-out;
}

nav .nav__menu {
  padding-top: 128px;
  pointer-events: auto;
}

nav .nav__menu .nav__menu__item {
  font-family: "Cinzel", "Cormorant Infant", serif;
  padding-bottom: 64px;
  text-align: center;
  color: #c6b6a4;
  position: relative;
  width: auto;
  font-size: 1rem;
}

nav .nav__menu .nav__menu__item a {
  color: #c6b6a4;
}

nav .nav__menu .nav__menu__item a:hover {
  color: #c6b6a4;
}

nav .nav__menu .nav__menu__item a.active:after , nav .nav__menu .nav__menu__item a:hover::after {
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1);
  -webkit-transform-origin: left top;
  transform-origin: left top;
}

nav .nav__menu .nav__menu__item a:after {
  position: absolute;
      top: -16px;
      bottom: 0;
      left: 7px;
      display: block;
      background-color: #c6b6a4;
      content: '';
      height: 100%;
      width: 1px;
      margin: auto;
      -webkit-transform: scale(1, 0);
      transform: scale(1, 0);
      /* border: 1px solid; */
      -webkit-transform-origin: right top;
      transform-origin: right top;
      -webkit-transition: -webkit-transform 0.3s ease-out;
      transition: -webkit-transform 0.3s ease-out;
      transition: transform 0.3s ease-out;
      transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
}

nav .nav__social {
  pointer-events: auto;
  display: inline-flex;
  width: 100%;
  justify-content: center;
}

nav .nav__social li {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 20px;
}

nav .nav__social li img {
  width: 100%;
}

.logo {
  position: absolute;
  width: 100%;
  text-align: center;
  margin-top: 32px;
  z-index: 799;
  pointer-events: auto;
}
.logo img {
  width: 80px;
}
.logo_m {
  position: relative;
  width: 100%;
  text-align: center;
  top: 32px;
  z-index: 799;
}

.logo_m img {
  width: 80px;
}

main {
  width: 100%;
}

.tour, .hodor, .game {
  width: 100vw;
  height: 100vh;
  min-height: 500px;
  position: relative;
}

.hodor {
  background-image: url(../img/rule/rules-bg.jpg);
  background-size: cover;
}

.hodor__content {
  padding-top: 90px;
  text-align: center;
}

.hodor__content__title {
  margin-bottom: 1rem;
}

.hodor__content__sub {
  padding: 20px 30px;
}


.hodor__content__rules {
  padding: 40px 10px 40px;
  background-image: url(../img/rule/paper.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #000;
}

.hodor__content__rules p {
  text-align: left;
  margin-left: 7px;
}

.rules__title, .rules__notice {
  padding-top: 30px;
  padding-bottom: 10px;
  font-family: "Trattatello";
  font-size: 1.4rem;
}
.rules__content{
  font-family: 'Kelly Slab', cursive;
}

.rules__notice {
  text-align: left;
  font-size: 0.8rem;
  margin-left: 7px;
}

.rules__detail {
  margin-bottom: 40px;
  color: #000;
}
.rules__detail:visited {
  color: #000;
  }
  .rules__detail:hover {
    color: #000;
    }
.terms__Cond{
  border-bottom: #000 1px solid;
  font-family: 'Kelly Slab', cursive;
  width: 155px;
  font-size: 14px;
      min-height: 20px;
    margin-bottom: 30px;
}
.hashtag{
  font-size: 13px;
  font-weight:bold;
}
.tour {
  background-image: url(../img/home/home-bg.jpg);
  background-size: cover;
}

.tour__content {
  width: 100%;
  text-align: center;
  position: absolute;
  top: 50%;
  margin-top: -25%;
}

.game {
  background-image: url(../img/quiz/result-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.game .game__content__hr {
  margin: 10px auto;
  width: 80%;
  height: 2px;
  background-image: url(../img/rule/line-long.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.game__content__title{
  padding: 10px 1px 10px;
}
.game__content {
  padding: 70px 20px 30px;
  text-align: center;
}

.game__content__sub {
  margin: 20px 10px 15px;
}

.game__box .cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.rolename{
  margin-top: 8px;
  font-size: 15px;
  font-family: 'Cinzel', arial;
}

.game__footer {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  left: 0;
}

@media (min-width:768px) {
  h2{
    font-size: 14px;
  }
  .rolename{
    font-size: 17px;
  }
  .game__content__title{
    padding: 1px 1px 1px;
  }
 
  .game__content__sub {
    margin: 5px 1px 10px;
  }


  .hodor__content__sub {
    padding: 0px 20px;
  }

  .game__content {
    padding: 110px 60px 10px;
    text-align: center;
  }

  .terms__Cond{
    border-bottom: #000 1px solid;
    width: 155px;
    -webkit-transition: width .5s; /* For Safari 3.1 to 6.0 */
    transition: width .5s;
  }
  .terms__Cond:hover{
    cursor: pointer;
    width: 200px;
  }
  .hashtag{
    font-size: 14px;
    font-weight:bold;
  }
}
@media (min-width:996px) {
  .game__content__sub {
    margin-bottom: 20px;
  }
  .rolename{
    font-size: 19px;
  }
  .terms__Cond{
    border-bottom: #000 1px solid;
    width: 155px;
    -webkit-transition: width .5s; /* For Safari 3.1 to 6.0 */
    transition: width .5s;
  }
  .terms__Cond:hover{
    cursor: pointer;
    width: 200px;
  }
  .hashtag{
    font-size: 14px;
    font-weight:bold;
  }
}
@media (min-width:1200px) {
  .game__content__sub {
    margin-bottom: 40px;
  }
  .rolename{
    font-size: 20px;
  }
  .terms__Cond{
    border-bottom: #000 1px solid;
    width: 145px;
    -webkit-transition: width .5s; /* For Safari 3.1 to 6.0 */
    transition: width .5s;
  }
  .terms__Cond:hover{
    cursor: pointer;
    width: 220px;
  }
  .hashtag{
    font-size: 14px;
    font-weight:bold;
  }
}

.question {
  display: none;
}

.question.active {
  display: block;
}

.roleCard {
  position: relative;
  width: 45%;
  margin: 5px;
  max-width: 250px;
}

.bg-movie {
  display: none;
}

@media(min-width:768px) {
  p {
    font-size: 0.8rem;
    line-height: 1.4rem;
  }

  .rules__title, .rules__notice {
    font-size: 1.5rem;
  }

  .rules__title {
    padding-top: 60px;
  }

  .rules__notice {
    padding-top: 20px;
  }

  .hodor__content__rules {
    padding: 25px 130px;
    max-width: 820px;
    margin: 0 auto;
    background-size: contain;
    background-position: center;
  }
  .roleCard{
    width: 30%;
  }
}

@media (min-width:768px) {
  .tour__content {
    margin-top: -140px;
  }
}

.slash {
  width: 32px;
  display: block;
  height: 30px;
  background-repeat: no-repeat;
  margin: 0 10px;
  background-size: contain;
  background-image: url(../img/main/slash.png);
}

.tour__content__title {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.curentQ {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.tour__content__slogan {
  margin-top: 40px;
}

.tour__content__slogan img {
  width: 80%;
  max-width: 660px;
}

.footer {
  position: absolute;
  bottom: 40px;
  text-align: center;
}

.hodor__footer {
  width: 100%;
}

.hodor__footer img {
  width: 80%;
  max-width: 230px;
  ;
}

.tour__footer {
  width: 100%;
  margin-bottom: 30px;
}

.outline {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.outline__lt, .outline__tr, .outline__rb, .outline__bl {
  width: 32px;
  height: 32px;
  background-size: cover;
  background-image: url(../img/main/corner.png);
  position: absolute;
}

.outline__l, .outline__t, .outline__r, .outline__b {
  position: absolute;
}

.outline__l, .outline__r {
  width: 32px;
  height: calc(100% - 64px);
  top: 32px;
  background-image: url(../img/main/line_ve.png);
  background-position-x: 0;
  background-repeat: repeat-y;
  background-size: contain;
}

.outline__t, .outline__b {
  width: calc(100% - 64px);
  height: 32px;
  left: 32px;
  background-image: url(../img/main/line_hr.png);
  background-position-y: 0;
  background-repeat: repeat-x;
  background-size: contain;
}

.outline__l {
  left: 0;
  transform: rotate(180deg);
}

.outline__r {
  right: 0;
  transform: rotate(0);
}

.outline__t {
  top: 0;
  transform: rotate(0);
}

.outline__b {
  bottom: 0;
  transform: rotate(180deg);
}

.outline__lt {
  top: 0;
  left: 0;
  transform: rotate(270deg);
}

.outline__tr {
  top: 0;
  right: 0;
  transform: rotate(0deg);
}

.outline__rb {
  bottom: 0;
  right: 0;
  transform: rotate(90deg);
}

.outline__bl {
  bottom: 0;
  left: 0;
  transform: rotate(180deg);
}


.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .3s ease;
  background-repeat: no-repeat;
  background-image:url(../img/role/hover_effect.png);
  background-size: contain;
}

.roleCard:hover .overlay {
  opacity: 1;
  cursor: pointer;
}

@media(min-width:1024px) {
  .tour__footer {
    width: 100%;
    margin-bottom: 5px;
  }
  h2{
    font-size: 22px;
  }
  .logo {
    position: absolute;
    width: 100%;
    text-align: left;
    margin-left: 64px;
    margin-top: 64px;
  }

  .logo img {
    width: 100px;
  }

  nav {
    display: block;
    background-color: rgba(0, 0, 0, 0);
  }

  nav .nav__menu {
    padding-right: 64px;
    display: inline-flex;
    direction: ltr;
    writing-mode: tb-rl;
    position: absolute;
    right: 64px;
    padding-top: 32px;
    justify-content: center;
    height: 100%;
  }

  nav .nav__menu .nav__menu__item {
    padding-bottom: 20px;
    font-size: 0.8rem;
  }

  nav .nav__social {
    position: absolute;
    direction: ltr;
    bottom: 64px;
    display: block;
    width: 100px;
  }

  nav .nav__social li {
    margin: 20px 64px;
    width: 20px;
    height: 20px;
  }

  .nav_trigger {
    display: none;
  }

  .outline__lt, .outline__tr, .outline__rb, .outline__bl {
    width: 64px;
    height: 64px;
  }

  .outline__l, .outline__r {
    width: 64px;
    height: calc(100% - 128px);
    top: 64px;
  }

  .outline__t, .outline__b {
    width: calc(100% - 128px);
    height: 64px;
    left: 64px;
  }

  .tour, .hodor, .game {
    width: 100vw;
    height: 100vh;
    position: fixed;
  }

  .bg-movie {
    display: inline-block;
    min-width: 100%;
    min-height: 100%;
  }
}
.Qresult{
  display: none;
}
.result_row {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
}

.result_imgBox {
  width: 40%;
  text-align: right;
}

.result_imgBox img {
  width: 80%;
}

.result_title {
  width: 50%;
  padding-left: 10%;
  color: #FFF;
  text-align: left;
  font-size: 20px;
}

.result__intro {
  width: 100%;
}

.result_introBox {
  text-align: left;
}

.result_introBox {
  margin-top: 1rem;
  color: #FFF;
  line-height: 0.9rem;
}

.result_intro{
  font-size: 12px;
}
.result_quote{
  font-size: 12px;
}
.result_intro_remb{
  font-size: 12px;
}

.result__social {
  display: inline-flex;
  margin: 15px 0;
  justify-content: space-between;
  align-items: center;
  width: 75%;
}

.result__social li {
  margin: 0 20px;
  width: 30px;
}

.result__btnBox {
  display: inline-flex;
  width: 100%;
  justify-content: center;
}

.result__btnBox__btn {
  border: 1px solid #c6b6a4;
  font-size: 0.7rem;
  width: 120px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #FFF;
  margin:0 10px;
}

.btn0 {
  background-color: rgba(198, 182, 164, 0.8);
}

.btn1 {
  background-color: #000;
}

.result__btnBox__btn:hover {
  -moz-box-shadow: 0 0 3px 3px rgba(198, 182, 164, 0.3);
  -webkit-box-shadow: 0 0 3px 3px rgba(198, 182, 164, 0.3);
  box-shadow: 0 0 3px 3px rgba(198, 182, 164, 0.3);
}

@media (min-width:768px) {
  .tour__footer {
    width: 100%;
    margin-bottom: 5px;
  }
  .result_row {
    align-items: flex-start;
  }

  .result__intro {
    width: 60%;
  }

  .result_title {
    width: 80%;
    padding-left: 0;
    font-size: 20px;
  }

  .result__social {
    width: 100%;
    margin: 20px 0;
    justify-content: start;
  }

  .result__btnBox {
    justify-content: start;
  }

  .result__btnBox__btn {
    margin-left: 10px;
    width:145px;
  }
  .Qresult{
    padding: 0px 20px;
  }
  .result_imgBox img {
    width: 65%;
  }
}
@media (min-width:1024px) {
  .result_row {
    align-items: flex-start;
  }
  .result_imgBox img {
    width: 65%;
  }
  .result_title {
    width: 90%;
    padding-left: 0;
    font-size: 28px;
  }
  .Qresult{
    padding: 0px 50px;
  }
  .result__social {
    margin: 20px 0;
  }
}
@media (min-width:1200px) {
  .tour__footer {
    width: 100%;
    margin-bottom: 5px;
  }
  .result_row {
    align-items: flex-start;
  }
  .result_imgBox img {
    width: 65%;
  }
  .result_title {
    width: 90%;
    padding-left: 0;
    font-size: 28px;
  }

  .Qresult{
    padding: 0px 60px;
  }
  .result__social {
    margin: 20px 0;
  }
}

.modal-backdrop {
  position: fixed;
  height: 100vh !important;
}

.modal.in .modal-dialog {
  width:100%;
  margin:0;
}
.modal-content{
  border-radius: 0;
  padding: 32px;
  background: #27282b;
  border: 10px solid #27282b;
  box-shadow: inset 0 0 1px #FFF;
  background: #27282b;
  color:#FFF;
}

.modal-content p{
  margin-bottom:20px;
  font-family: 'PingFangTC';

}
.modal-content:before{
  display: none;
}


.termTitle{
  position: relative;
font-family: 'Cinzel';
font-size: 24px;
text-align: center;
color: #c6b6a4;
}
.termLine{
position: relative;
text-align: center;
margin: 10px 10px 30px;
}
.termLine img{
  max-width: 250px;
}
.closemodal{
  position: absolute;
  right: 15px;
  width: 20px;
  height: 20px;
  z-index: 500;
  background-image: url(../img/rule/path.png);
  background-position: center;
  background-size: contain;
  -webkit-transition: -webkit-transform .2s ease-in-out;
          transition:         transform .2s ease-in-out;
}
.closemodal:hover{
  cursor: pointer;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.termContent{
position: relative;
font-family: 'PingFangTC';
font-size: 14px;
line-height: 1.79;
color: #ffffff;
}

.modal-content:before{
  display: none;
}

.hideM {
  display: none;
}

.hidePC {
  display: block;
}

@media(min-width:768px) {

  .modal-content{

    margin: 32px auto;
  }
  .modal.in .modal-dialog {
    width: 80%;
    margin:0 auto;
  }
  .closemodal{
    right: 32px;
  }
  .hideM {
    display: block;
  }

  .hidePC {
    display: none;
  }
  
}
