#map {
  background: url('../images/puneuma_mbg1.jpg') no-repeat center center;
}

#map2 {
  background: url('../images/puneuma_mbg2.jpg') no-repeat center center;
}

#map3 {
  background: url('../images/puneuma_mbg3.jpg') no-repeat center center;
}

#map4 {
  background: url('../images/puneuma_mbg4.jpg') no-repeat center center;
}

#map .map p, #map2 .map p, #map3 .map p{
  color: white;
}
#map .map p, #map2 .map p, #map3 .map p, #boss .boss p,#boss2 .boss p {
  font-size: 16px;
  line-height: 1.5;
}
#map .map h4, #map2 .map h4{
  color: #ffd52b;
}

#map4 .map>div:nth-of-type(3) {
  margin-bottom: 4%;
}

#story {
  background: url('../images/puneuma_bg2.jpg') no-repeat center center;
}
#pet, #event {
  background: url('../images/puneuma_actbg.jpg') no-repeat;
  background-position: top;
}
#boss,
#boss2{
  background: url('../images/puneuma_bg6.jpg') no-repeat center center;
}

#monster {
  background: url('../images/puneuma_bg7.jpg') no-repeat center center;
}

#npc{
  background: url('../images/puneuma_bg8.jpg') no-repeat center center;
  position: relative;
  overflow: hidden;
}

#story,
#map,
#map2,
#map3,
#map4,
#boss,
#boss2,
#boss3,
#monster,
#npc,
#npc2,
#npc3,
#pet,
#event {
  background-size: cover !important;
  padding-top: 90px;
  padding-bottom: 10%;
  min-height: 100vh;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.introduce-menu {
  position: fixed;
  bottom: 10%;
  left: 6%;
  z-index: 999;
}

.introduce-menu::before {
  content: "";
  background: url('https://landing.mangot5.com/template/la/event/nav/images/top.png') transparent;
  width: 138px;
  height: 31px;
}

.introduce-menu::after {
  content: "";
  background: url('https://landing.mangot5.com/template/la/event/nav/images/bottom.png') transparent;
  width: 138px;
  height: 31px;
}

.introduce-menu .nav {
  background-color: #fff;
  border-left: 1px solid #ececec;
  border-right: 1px solid #ececec;
  padding: 10% 10px 10% 50px;
}

.introduce-menu .nav-item {
  position: relative;
  display: list-item;
  list-style: disc;
  color: #848484;
  line-height: 40px;
}

.introduce-menu .nav li span,
.introduce-menu .nav li a {
  display: inline-block;
  padding: 0;
  color: #848484;
}

.introduce-menu .nav>li>span {
  width: 25px;
  position: absolute;
  left: -40%;
  border-right: solid 1px black;
}

.boss-list .nav>li>span{
  left: -51%;
}

.introduce-menu .nav .nav-item.active>a,
.introduce-menu .nav .nav-item a:hover {
  color: black;
  background: none;
}

.introduce-menu .nav-item.active::marker {
  color: #455ecd;
}

.introduce-menu .nav .nav-item.active>span {
  border-right-color: #455ecd;
  color: #455ecd;
}

.introduce-btn {
  position: fixed;
  z-index: 999;
  top: 10%;
  right: 10px;
  width: 60px;
  height: 60px;
  display: none;
}

.introduce-btn a {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, .7);
  text-indent: -10000em;
  transition: .6s all;
}

.introduce-btn a:before,
.introduce-btn a:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  overflow: hidden;
  background: #fff;
  content: "";
}

.introduce-btn a.active {
  -webkit-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  transform: rotate(135deg);
}

.introduce-btn a:before {
  width: 25px;
  height: 2px;
}

.introduce-btn a:after {
  width: 2px;
  height: 25px;
}

.content {
    width: 100%;
    max-width: 571px;
    margin: auto;
    position: relative;
    padding-top: 1%;
}

.content>div {
  position: absolute;
  color: white;
  top: 100px;
  max-width: 540px;
  font-size: 20px;  
  text-align: center;
  line-height: 1.6;
  margin: auto;

}

#story .content>div{
  right: 0;
  left: 0;
  padding: 0 60px;
}
.content2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.map h4,
.pet {
  margin: 0 0 4% 0;
}

.map {
  max-width: 1014px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.map .pic-modal {
  width: 100%;
  position: relative;
}

.map>div {
  width: 48%;
  margin-bottom: 6%;
}

#pet>.content>div,#event .content>div {
  position: relative;
  max-width: 800px;
  top: 20px;
}
#pet .content-group .pic-items, #event .content-group .pic-items{
  padding-top: 15%;
}


#monster h2 span:first-of-type,
#npc h2 span:first-of-type,
#npc2 h2 span:first-of-type,
#npc3 h2 span:first-of-type,
#boss h2 span:first-of-type,
#boss2 h2 span:first-of-type,
#boss3 h2 span:first-of-type,
#pet h2 span:first-of-type,
#event h2 span:first-of-type {
  background: black;
}

#monster h2 span:last-of-type,
#npc h2 span:last-of-type,
#npc2 h2 span:last-of-type,
#npc3 h2 span:last-of-type,
#boss h2 span:last-of-type,
#boss2 h2 span:last-of-type,
#boss3 h2 span:last-of-type,
#pet h2 span:last-of-type,
#event h2 span:last-of-type {
  color: black;
  border: solid 1px black;
}

.boss,
.monster {
  width: 20%;
}
.npc {
  width: 35%;
}
.npc > h4 {
  font-size: 24px;
}
.npc > p {
  font-size: 17px;
  line-height: 1.6;
}
#npc .content2:nth-child(1){
  max-width: 300px;
}
#npc .content2:nth-child(2){
  max-width: 400px;
}

.pet {
  width: 80%;
  z-index: 1;
}

.pet p {
  width: 40%;
  display: inline-block;
}


.twotype {
  display: inline-block;
}

.twotype .nav {
  display: flex;
}

.twotype .nav a {
  padding: 0;
}

.yticon {
  display: inline-block;
  max-width: 600px;
  text-align: center;
}

.yticon button {
  position: relative;
  border: none;
  margin: 0 8px 10px 0;
  padding: 0;
  border: solid 1px transparent;
}

.yticon button>div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.yticon button:hover {
  border: solid 1px red;
}

.yticon button:hover>div {
  background: url(../image/royal_v4.png) no-repeat center center;
  background-size: contain;
}

.yticon button:hover>div img,
.twotype .nav a:hover img {
  opacity: 0;
}

.monster,
.npc {
  margin: 0 1%;
}

.puneuma_bt1, .puneuma_bt2{
  width: 40%;
}
#monster .content2 {
  justify-content: center;
  align-items: center;
}

#npc .content2 {
  justify-content: center;
}

#monster .content2 h2 span,
#npc .content2 h2 span,
#job .content2 h2 span,
#job2 .content2 h2 span {
  margin-bottom: 6px;
}

#monster .content2:nth-of-type(odd) {
  flex-direction: row-reverse;
}

.npc img {
  margin-top: 6%;
}

#pet .content, #event .content {
    max-width: 800px;
}

/* popup */
.modal-dialog {
  width: 100%;
  max-width: 1400px;
  position: relative;
  margin: calc(100vh / 3) auto;
}

.modal-dialog .modal-body {
  padding: 0;
  pointer-events: none;
}

.look {
  position: absolute;
  right: 2%;
  bottom: 4%;
  cursor: pointer;
  opacity: 0.5;
}

.look:hover {
  opacity: 1;
}

@media (max-width: 2560px) and (min-width: 2000px) {

  .content>div {
    position: absolute;
    color: white;
    top: 12%;
    max-width: 420px;
    text-align: center;
    font-size: 0.06rem;
    line-height: 0.12rem;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 1440px) {
  .introduce-menu {
    bottom: 20%;
  }
  #story .content>div {
    /* font-size: 0.14rem; */
    line-height: 1.8;
  }
}
@media (max-width: 1350px) {
  .npc {
    width: 60%;
    /* color: #fff; */
  }
  #npc .content2{
    padding-bottom: 10%;
  }
}
@media (max-width: 1024px) {
  #map .map p, #map2 .map p, #map3 .map p {
    padding: 0 10px;
  }
  .introduce-menu .nav-item {
    font-size: 14px;
  }

  .introduce-menu::before,
  .introduce-menu::after {
    width: 172px;
    height: 40px;
    background-size: cover;
  }

  .introduce-menu .nav>li>span {
    width: 30px;
    left: -40%;
  }

  .introduce-btn {
    display: block;
  }
  .introduce-menu {
    top: 18%;
    bottom: auto;
    left: auto;
    right: 2%;
  }

  .introduce-menu::before,
  .introduce-menu::after {
    display: none;
  }

  .introduce-menu .nav {
    background-color: #000000b0;
    border: none;
  }

  .introduce-menu .nav-item {
    line-height: 30px;
    font-size: 14px;
  }

  .introduce-menu .nav>li>span {
    left: -44px;
    border-right: solid 1px #707172;
  }

  .introduce-menu .nav .nav-item.active>a {
    color: white;
  }
  .boss,
  .monster{
    width: 60%;
  }

  .npc{
    width: 70%;
  }

  .map {
    margin-bottom: 20%;
  }
}

@media (max-width: 768px) {

  .map{
    margin-bottom: 40%;
  }
  .npc {
    margin-bottom: 6%;
  }
  #story .content>div{
    top: 75px;
    line-height: 1.6;
    font-size: 2.9vw;
  }
  
  .npc {
    font-size: 17px;
    line-height: 1.8;
  }
  #boss .puneuma_bt1, .puneuma_bt2 {
    width: 80%;
  }

  #npc .content2>div:nth-child(2){
    width: 80%;
  }
  #event .content>div{
  position: relative;
  max-width: 600px;
  padding-bottom: 23%;
}
}

@media (max-width: 480px) {

  #story,
  #boss,
  #boss2,
  #monster,
  #npc,
  #pet,
  #event {
    background-size: cover !important;
    padding-bottom: 25%;
  }

  #map,
  #map2,
  #map3,
  #map4 { 
    padding-bottom: 2%;
  }

  #boss,
  #boss2,
  #monster,
  #npc,
  #pet,
  #event {
    padding-top: 60px;
  }

  #story h2 {
    display: none;
  }
  .content>div{
    top: 30px;
  }

  #story .content>div>p{
    font-size: 0.26rem;
    /* padding: 0px 30px; */
  }
  .content>div>p:first-child{
    padding-top: 20px;
  }
  .content>div>p:last-child{
    padding-bottom: 20px;
  }
  #map .map p, #map2 .map p, #map3 .map p{
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
    padding: 0 3%;
  }
  
  .map>div,
  .boss,
  .monster,
  .npc {
    font-size: 0.34rem;
    line-height: 0.6rem;
  }
  #map h4{
    font-size: 1.2rem;
  }  

  #map, #map2, #map3, #map4{ padding-top: 90px;}
  #id h2{margin:0}
  
  .map>div {
    width: 100%;
    padding: 0 2%;
  }
  #map h4 span {
    padding: 1.5% 1%;
    color: black;
    margin-right: 1%;
    white-space: nowrap;
    font-size: 20px;
  }
  .twotype {
    margin-top: 4%;
  }

  .pet,
  .boss,
  .monster,
  .npc {
    width: 96%;
    z-index: 1;
  }

}

@media (max-width: 300px) {

  .introduce-menu {
    top: 30%;
    bottom: auto;
    left: auto;
    right: 2%;
  }

  .introduce-menu .nav>li>span {
    left: -15.6vw;
  }
}