#story {
  background: url(../images/knossos_bg3.jpg) no-repeat center center;
  text-align: center;
}

#map {
  background: url(../images/knossos_mbg1.jpg) no-repeat center center;
}

#map2 {
  background: url(../images/knossos_mbg2.jpg) no-repeat center center;
}

#map3 {
  background: url(../images/knossos_mbg3.jpg) no-repeat center center;
}

#map4 {
  background: url(../images/knossos_mbg4.jpg) no-repeat center center;
}

#map4 .map>div:nth-of-type(3) {
  margin-bottom: 4%;
}

#boss,
#boss2 {
  background: url(../images/knossos_bg4.jpg) no-repeat center center;
}

#monster {
  background: url(../images/knossos_bg5.jpg) no-repeat center center;
}

#npc {
  background: url(../images/knossos_bg6.jpg) no-repeat center center;
}

#system {
  background: url(../images/knossos_bg7.jpg) no-repeat center center;
}

#story,
#map,
#map2,
#map3,
#map4,
#boss,
#boss2,
#monster,
#npc,
#system {
  background-size: cover !important;
  padding-top: 90px;
  padding-bottom: 6%;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.introduce-menu {
  position: fixed;
  bottom: 20%;
  left: 6%;
  z-index: 999;
}

.introduce-menu::before {
  content: "";
  background: url(../images/knossos_top.png) transparent;
  width: 138px;
  height: 31px;
}

.introduce-menu::after {
  content: "";
  background: url(../images/knossos_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% 0 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: -46%;
  border-right: solid 1px black;
}

.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: #00ab38;
}

.introduce-menu .nav .nav-item.active>span {
  border-right-color: #00ab38;
  color: #00ab38;
}

.introduce-btn {
  position: fixed;
  z-index: 999;
  top: 20%;
  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 {
  position: relative;
  padding: 1% 0 10% 0;
}

.content>div {
  position: absolute;
  color: black;
  top: 36%;
  max-width: 500px;
  text-align: center;
  font-size: 0.08rem;
  line-height: 0.12rem;
  left: 50%;
  transform: translateX(-50%);
}

.content2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.content2 h2 {
  width: 100%;
  font-size: 16px;
}

.content2 h2 span:first-of-type {
  display: inline-block;
  width: 70px;
  height: 1px;
  background: #33313e;
  margin-right: 16px;
}

.content2 h2 span:last-of-type {
  display: block;
  font-size: 30px;
  line-height: 32px;
  margin-left: 86px;
}

h3 img:first-of-type {
  margin-bottom: 6%;
}

h4 {
  font-size: 18px;
  font-weight: bold;
  line-height: 20px;
  margin: 4% 0;
}

h4 span {
  display: inline-block;
  background-color: #00ab38;
  padding: 0.4% 1%;
  color: #fff;
  margin-right: 1%;
}

.map h4 {
  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%;
}

#boss .content2,
#boss2 .content2 {
  color: #ffffff;
}

#boss h2>span:first-of-type,
#boss2 h2>span:first-of-type {
  background: #ffffff;
}

.boss,
.monster,
.npc {
  width: 30%;
}

#monster .content2 {
  justify-content: center;
  align-items: center;
}

#npc .content2 {
  justify-content: center;
}

#monster .content2 h2 span,
#npc .content2 h2 span,
#system .content2 h2 span {
  margin-bottom: 6px;
}

#monster .content2:nth-of-type(even),
#npc .content2 {
  flex-direction: row-reverse;
}

.npc {
  margin-top: 6%;
}

.system {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10%;
}

/* popup */
.modal-dialog {
  width: 100%;
  max-width: 1400px;
  position: relative;
  margin: calc(100vh / 3) auto;
}

.modal-dialog .modal-body {
  padding: 0;
}

.look {
  position: absolute;
  right: 2%;
  bottom: 4%;
  cursor: pointer;
  opacity: 0.5;
}

.look:hover {
  opacity: 1;
}

.close {
  position: absolute;
  top: 2%;
  right: 2%;
  z-index: 9;
}

@media (max-width: 1440px) {
  #story {
    height: 100vh;
  }

  #boss2 .content2>div:first-of-type {
    width: 50vw;
  }
}

@media (max-width: 768px) {
  #story {
    height: 100vh;
  }

  .introduce-menu .nav-item {
    font-size: 20px;
  }

  .introduce-menu::before,
  .introduce-menu::after {
    width: 152px;
    height: 35px;
    background-size: cover;
  }

  .introduce-menu .nav>li>span {
    width: 29px;
  }

  #boss2 .content2>div:first-of-type {
    width: auto;
  }
}

@media (max-width: 480px) {

  #story,
  #map,
  #map2,
  #map3,
  #map4,
  #boss,
  #boss2,
  #monster,
  #npc,
  #system {
    background-size: cover !important;
    padding-top: 110px;
    padding-bottom: 20%;
  }

  #story {
    height: auto;
  }

  #system {
    height: 100%;
  }

  .introduce-btn {
    display: block;
  }

  .content {
    margin: 10vh 0 10% 0;
  }

  .content img {
    display: none;
  }

  .content>div {
    position: inherit;
    background: url(../images/knossos_cbg.png) no-repeat center center;
    background-size: cover;
    padding: 30vh 4vw 6vh 4vw;
  }

  .introduce-menu {
    top: 26%;
    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: -10vw;
    border-right: solid 1px #707172;
  }

  .introduce-menu .nav .nav-item.active>a {
    color: white;
  }

  .map>div {
    width: 100%;
    padding: 0 2%;
  }
}

@media (max-width: 300px) {

  .introduce-menu {
    top: 30%;
    bottom: auto;
    left: auto;
    right: 2%;
  }

  .introduce-menu .nav>li>span {
    left: -15.6vw;
  }
}