/* All--------------------------------------------------------------------------- */

html {
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: "微軟正黑體", Nanum Barun Gothic, sans-serif;
  background: #000;
  color: #3e3e3e;
  font-weight: 400;
  line-height: 24px;
}

img {
  max-width: 100%;
  height: auto;
}

a:hover,
a:focus,
a:active,
a:visited {
  text-decoration: none;
  outline: none;
}

header {
  z-index: 999;
}

::-webkit-scrollbar {
  display: none;
}

::-webkit-scrollbar-button {
  display: none
}

button {
  border: none;
  background-color: transparent !important;
}

/* landscape----------------------------- */
.landscape {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: auto;
  background: #33313e;
  display: none;
  z-index: 9999;
}

.landscape span {
  position: absolute;
  right: 0;
  top: 50%;
  margin: 0;
  width: 100%;
  text-align: center;
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

.landscape span>p {
  color: #ccc;
  margin: 0;
  font-size: 16px;
}

/* landscape-end--------------------- */

/* sidebar */
.sideBtn {
  display: none;
}

/*-- section --*/
h1 {
  margin: 6% 0 2% 0;
}

h2 {
  position: relative;
  width: 20%;
  text-align: left;
  color: white;
}

h2 span:first-of-type {
  display: inline-block;
  width: 70px;
  height: 1px;
  background: white;
  margin-bottom: 8px;
  line-height: 18px;
}

h2 span:last-of-type {
  display: inline-block;
  border: solid 1px white;
  font-size: 18px;
  line-height: 20px;
  text-align: center;
  padding: 10px;
}

h3 {
  margin-right: 1%;
}

h3 img:first-of-type {
  margin-bottom: 6%;
}

h4 {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.5;
  margin: 4% 0;
}

h4 span {
  display: inline-block;
  background-color: #ffd52b;
  padding: 0.4% 1%;
  color: black;
  margin-right: 1%;
  white-space: nowrap;
  font-size: 20px;
}
/* 
h6 {
  display: inline-block;
  width: 60px;
  line-height: 14px;
  font-size: 18px;
  font-weight: bold;
  border-left: solid 2px black;
  margin-right: 2%;
  padding-left: 6px;
  float: left;
} */
.navbar>.container-fluid .navbar-brand {
  margin-top: 10px;
}
.s0 {
  position: relative;
  width: 100vw;
  height: 1300px;
  background: url('../images/guardian_bg1.jpg') no-repeat center top;
  /* margin-top: -180px; */
  background-size: cover;
  overflow: hidden;
}

/* .s1 {
  position: relative;
  width: 100vw;
  background: url('../images/home_bg2.jpg') no-repeat center top;
  background-size: cover;
  overflow: hidden;
  text-align: center;
} */
.section.main .animation{
  left: 50%;
  overflow: hidden;
  position: absolute;
  text-indent: -10000em;
}

/* .section.main .animation.char-qurke{
  background: url('../images/puneuma_hp3.png') no-repeat 0 0;
  background-size: 84%;
  width: 709px;
  height: 393px;
  top: 630px;
  margin-left: -990px;  
} */

/* .section.main .animation.char-rainia{
  background: url('../images/puneuma_main_01.png') no-repeat 0 0; 
  width: 2087px;
  height: 1230px;
  margin-left: -1480px;
  top: -65px;
}

.section.main .animation.char-windia{
  background: url('../images/puneuma_main_02.png') no-repeat 0 0;
  width: 2454px;
  height: 1628px;
  margin-left: -1188px;
  top: -32px;
} */

.section.main .animation.magic-circle{
  background: url('../images/effect_magic_1.png') no-repeat;
  background-position: bottom;
  background-size: cover;
  width: 978px;
  height: 1115px;
  margin-left: -1136px;
  /* top: 165px; */
}
.circle-effect{
  background: url('../images/effect_magic_2.png') no-repeat;
  background-position: bottom;
  background-size: contain;
  width: 1578px;
  height: 1304px;
  /* margin-left: -380px; */
  /* top: 24%; */
  margin-left: -320px;
    top: 14%;
}
.section.main .animation.cloud{
  background: url('../images/guardian_cloud.png') no-repeat;
  background-position: bottom;
  background-size: contain;
  width: 1468px;
  height: 590px;
  /* margin-left: -990px; */
  /* top: 120px; */
  margin-left: -950px;
  top: 0px;
}
/* .curtain-right{
  background: url('../images/curtain_right.png') no-repeat;
  background-position: bottom;
  background-size: cover;
  width: 1268px;
  height: 1731px;
  
  top: -32px;
} */


#scene {
  position: relative;
}

.char-main {
  background: url('../images/guardian_chart_1.png') no-repeat 0 0;
  background-size: cover;
  /* width: 1800px; */
  /* height: 1159px;
  margin: 4% 0 0 -8%; */
  width: 1850px;
  height: 1219px;
  margin-left:-13%;
}
.effect {
  background: url('../images/guardian_chart_4.png') no-repeat;
  width: 2230px;
  height: 1510px;
  margin: -5% 0px 0 -21%;
  animation-name: drop,blink-ani;
  animation-delay: 1.2s,3.3s;
  animation-duration: 1.2s,1.8s;
  animation-iteration-count: 1,infinite;
  animation-timing-function: cubic-bezier(.62,.01,.37,1.17),linear;
}

@keyframes blink-ani{
    0%{
        opacity:1
    }
    50%{
        opacity:.3
    }
}
@keyframes drop{
    0%{
        opacity:0;
        transform:translate(-600px,-1270px)
    }
    25%{
        opacity:0
    }
    to{
        opacity:1;
        transform:translate(0)
    }
}
.char-right {
  background: url('../images/guardian_chart_2.png') no-repeat center center;
  /*background-size: 40%;
  width: 615px;
  height: 951px;
  margin: -5% 0px 0 66%; */
  background-size: 100%;
  width: 295px;
  height: 312px;
  margin: 10% 0px 0 82%;
}
.char-left {
  background: url('../images/guardian_chart_3.png') no-repeat center center;
  /* background-size: 30%;  
  width: 615px;
  height: 951px;
  margin: 22% 0px 0 0%; */
  background-size: 100%;
  width: 225px;
  height: 252px;
  margin: 45% 0 0 5%;
}

.logo_box {
  display: flex;
  justify-content: center;
  position: absolute;
  width: 100%;
  bottom: 15%;
  right: 0;
  left: 0;
  margin: auto;
  /* z-index: 0; */
  /* text-align: center; */
}
.popyt{
  position: absolute;
  max-width: 300px;
  bottom: 290px;
  right: 0px;
  left: 0;
  margin: auto;
  z-index: 1;
}
.logo_box .logo{
  max-width: 700px;
}
.list4 {
  display: flex;
  justify-content: center;
  padding: 16% 0 10% 0;
}

.list4 div {
  margin: 0 1%;
  position: relative;
}
.char-prac{
  background: url('../images/superman.png') no-repeat 0 0;
    width: 759px;
    height: 760px;
    top: 379px;
    left: 50%;
    margin-left: -1330px;
    position: absolute;    
    overflow: hidden;
    text-indent: -10000em;
    pointer-events: none;
}
.char-light{
  background: url('../images/sun.png') no-repeat 0 0;
  width: 371px;
  height: 313px;
  top: 92px;
  left: 55%;
  margin-left: 488px;
  overflow: hidden;
  position: absolute;
  text-indent: -10000em;
  pointer-events: none;
}

.role7 {
  /* position: absolute; */
  width: 1080px;
  height: 1232px;
  /* top: -14%; */
  /* right: -24px; */
  background: url('../images/guardian_bt3.png') no-repeat top center;
  background-size: 80%;
}
.role8 {
  /* position: absolute; */
  width: 970px;
  height: 1065px;
  top: -14%;
  right: 0%;
  background: url('../images/guardian_bt4.png') no-repeat top center;
  background-size: 80%;
}


.list4 div:hover:after {
  background: url(../image/royal_c00.png) no-repeat top center;
}

.list4 div::after,
.role,
.role2 {
  background-size: contain;
}
#pet h1{margin:auto;}
/*-- section end -- */

#footer {
  position: relative;
  z-index: 2;
  margin: auto;
  margin-top: -4%;
}

.copyright {
  text-align: center;
}

/* footer-end */

@media (max-width: 2560px) and (min-width: 2000px) {
  .role {
    margin: 2% 0 0 -3%;
  }

  .role2 {
    margin-top: 40%;
  }

}

@media (max-width: 1440px) {

  h2 {
    width: 60%;
    margin: 4% 0 2% 0;
  }

  .role {
    margin: -6% 0 0 -23%;
  }

  .role2 {
    height: 100%;
    margin: 12% 0 0 3%;
  }
}

@media (max-width: 1024px) {

  .role {
    margin: -6% 0 0 -23%;
  }

  .role2 {
    margin: 36% 0 0 7%;
  }

  .logo {
    bottom: 19%;
  }

  .s1 {
    height: auto;
  }

  .list4 {
    flex-wrap: wrap;
    margin: 50% auto 20% auto;
  }

  .list4 div {
    margin: 0 1% 200px 1%;
  }

  .combat>div {
    width: 100%;
  }

  #boss2 .content2>div:nth-of-type(3) {
    width: 50vw;
  }

  #footer {
    margin-top: -5%;
  }

}

@media (max-width: 768px) {

  .sideBtn {
    position: fixed;
    right: 5px;
    bottom: 53vh;
    z-index: 999;
    display: block;
  }

  .sideBtn ul {
    margin: 0;
    padding: 0;
  }

  .sideBtn ul>li {
    display: block;
  }

  .sideBtn ul>li>a {
    display: inline-block;
    background-color: #0c3eba;
    width: 100px;
    height: 50px;
    color: #fff;
    font-size: 20px;
    text-align: center;
    line-height: 50px;
    margin: 4px;
    opacity: .85;
    border-radius: 7px;
    border: 2px solid #455ecd;
  }

  .s0 .main .magic-circle,
  .s0 .main .circle-effect,
  .s0 .main .cloud,
  #scene {
    display: none;
  }

  .s0 {
    width: 100%;
    height: 100vh;
    background:url('../images/phhome.jpg') no-repeat center;
    background-size: cover;
    overflow: hidden;
    margin-top: 0px;
  }
  .logo_box{
    position: absolute;
    bottom: 10%;
    flex-wrap: wrap;
  }
  /* .section.main .animation.char-rainia{
    background-size: 90%;
    margin-left: -1380px;
    top: 35px;
  }
  .section.main .animation.char-windia{
    margin-left: -1300px;
    top: -32px;
  } */
/* 
  .role {
    margin: -6% 0 0 -23%;
  }

  .role2 {
    margin: 23% 0 0 -39%;
  } */
  .logo {
    bottom: 0%;
    animation-delay: 0s !important;
  }
  .popyt {
    position: relative;
    max-width: 230px;
    top: 74px;
    right: 0;
    bottom: 0;
    animation-delay: 0s !important;
  }
  .list4 {
    display: none;
  }


  h2 span:first-of-type {
    width: 30px;
  }

  
  
  #footer {
    margin-top: -8%;
  }

}

@media (max-width: 480px) {

  body {
    background-color: #363368;
    ;
  }

  button.close {
    top: -30%;
  }

  
  /* .popyt {
    width: 50vw;
  } */

  #footer {
    margin-top: -10%;
  }
}

/* 手機橫向 */
/* orientation: landscape and max-device-width: 850px */
@media only screen and (orientation: landscape) and (max-device-width: 850px) {
  .landscape {
    display: block
  }
}

/* media-end */