@charset "UTF-8";

body {
  font-family: '微軟正黑體', 'Malgun Gothic', Dotum, Tahoma, sans-serif;
  background-color: #111111;
  color: #fff;
  overflow-x: hidden;
}

.logo{
  position: absolute;
  left: 0;
  top: 50px;
  right: 0;
  margin: auto;
  float: none;
  padding-top: 0;
  max-width: 200px;
}

.logo img{
  width: 90%;
}
.logo a{
  display: inline-block;
  width: 200px;
}
*{margin:0px;
  padding:0px;
}

img {
  max-width: 100%;
  /* height: auto; */
}

#gotop{
  width: 156px;
  height: 136px;
  background: url('../images/go-top.png')no-repeat;
  background-position: center;
  display: block;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  opacity: 1;
  transition: opacity 0.3s;
}
#gotop:hover{
  background: url('../images/go-top-hover.png')no-repeat;
  background-position: center;
  width: 156px;
  height: 136px;
}
#gotop.hide{
  opacity: 0;
}

:focus {
  outline: none;
}

a:hover,
a:active,
a:focus {
  text-decoration: none;
  outline: none;
}

button:focus{
  outline: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style-type: none !important;
}

h2 {
  margin: 80px 0 30px;
  font-weight: 700;
}

.row.five-gutters {
  margin-right: -5px;
  margin-left: -5px;
}

.thumbnail{
  background-color: #fff;
}

.thumbnail .caption {
  padding: 9px;
  color: #333;
}

.row.five-gutters [class^='col-'],
.row.five-gutters [class*=' col-'] {
  padding-right: 5px;
  padding-left: 5px;
}

.btn-on {
  -moz-transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  pointer-events: none;
  z-index: 0;
}

.goh_submit,
.navbar-inverse .navbar-nav>li>a,
.navbtn>ul>li>a,
.sideBtn ul>li>a{
  -moz-transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}


/* modal */
button.close {
  width: 54px;
  height: 54px;
  background: url(../images/close.png) no-repeat top;
  overflow: hidden;
  text-indent: -10000em;
  opacity: 1;
  position: absolute;
  right: 0;
  top: 0px;
  z-index: 999;
  background-size: 100% auto;
}

#picModal1, #picModal2{
  background: url(../images/popup_bg.png) no-repeat 50% 0;
}

#picModal3{
  background: url(../images/p3surveybg.png) no-repeat 50% 0;
}

#picModal5 {
  background: url(../images/p5boxbg.png) no-repeat 50% 0;
}


.modal-dialog {
  top: 10%;
  opacity: 0;
}

.show .modal-dialog{
  opacity: 1;
  
}

#picModal .modal-body {
  padding: 0;
  text-align: center;
}

.modal-backdrop {
  opacity:0.5;
}

.modal-footer {
  padding: 10px 30px 10px;
  text-align: right;
  border: none;
  position: absolute;
  width: 100%;
  bottom: 0;
  color: #fff;
  left: 0;
  right: 0;
}
#footer{
  background-color: #302020;
}

/* modal */


/* header */
#header {
  background: url('../images/main-bg.jpg') no-repeat 50% 0;
  background-position:0 20%;
  background-size: cover;
  height: 100vh;
  position: relative;
  padding-top: 50px;
  overflow: hidden;
  z-index: 1;
}

#header .contents {
  position: absolute;
  top: 21%;
  left: 0;
  right: 0;
  z-index: 7;
}

#header .title{
  position:relative;
  z-index: 9;
}
#space {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 2;
}
.character-group{
  position: absolute;
  display: flex;
  justify-content: space-between;
  top: -36%;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.char-item1{
  background:url('../images/main-characters-1a.png')no-repeat;
  background-size: cover;
  background-position-x: 100%;
  width: 816px;
  height: 1412px;
  margin-left: -4%;
}

.char-item2{
  background:url('../images/main-characters-2a.png')no-repeat;
  width: 966px;
  height: 1318px;
  background-size: cover;
  background-position: left;
  margin-left: 51%;
}


#header .muice{
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
}
#contents{
  background: url('../images/content-bg.png')repeat-y;
  background-position: top;
  background-size: cover;
  position: relative;
  z-index: 10;
  margin-top: -90px;
}

.page2content::before{
  content:'';
  background:url('../images/c-1.png')no-repeat;
  background-size: 100%;
  width: 686px;
  height: 992px;
  position: absolute;
  top: -235px;
  right: -350px;
  z-index: 2;
}

.page3content::before{
  content:'';
  background:url('../images/c-2.png')no-repeat;
  background-size: 100%;
  position: absolute;
  width: 475px;
  height: 874px;
  top: -325px;
  left: -280px;
  z-index: 2;
}
.page3content::after{
  content:'';
  background:url('../images/c-3.png')no-repeat;
  background-size: 100%;
  width: 360px;
  height: 942px;
  position: absolute;
  bottom: 580px;
  right: -195px;
  z-index: 2;
}




.char {
  width: 100%;
  height: 100%;
}

.char-main0 {
  background: transparent url(../images/mm-1.png) no-repeat 0 0;
  margin-left: -615px;
  width: 693px;
  height: 691px;
}

.char-main1 {
  background: transparent url(../images/mm-2.png) no-repeat 0 0;
  margin-left: -265px;
  width: 649px;
  height: 826px;
}

.char-main2 {
  margin-left: -189px;
  width: 746px;
  height: 618px;
  background: transparent url(../images/mm-3.png) no-repeat 0 0;
}

.char-main0,
.char-main1,
.char-main2 {
  position: absolute;
  left: 50%;
  top: 100px;
  background-size: 100% auto !important;
  
}
.char1 {
  z-index: 9;
}
.titleBox {
  margin: -45px 0 0;
}

.down-btn {
  display: block;
  margin: 0 auto;
  left: 0;
  right: 0;
  width: 99px;
  position: absolute;
  z-index: 8;
  bottom: 100px;
  animation: baloon 1.5s infinite;
}

/* header */


/* sidebar */

#tab-1{
  background-size: cover !important;
  position: relative;
  z-index: 2;
  padding: 8% 0;
  overflow: hidden;
}

/* sidebar */

/* 內容 */
.modal-dialog{
  max-width: 1200px;
  margin: 1.75rem auto;
  text-align: center;
}
.page1content{
  position: relative;
}

.page1vine, .page2vine, .page3vine{
  padding: 30px 0 0 0 ;
  position: relative;
}


#tab-1 .page1content, #tab-1 .page2content, #tab-1 .page3content{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 70px;
  position: relative;
}
#tab-1 .page2content{
  padding: 4% 70px;
}
#tab-1 .page3content{
  padding: 4% 70px 1% 70px;
}

.page1thanosbox, .page2thanosbox{
  display: flex;
  justify-content:center;
  position: absolute;  
  bottom: 0;
  right: 0;
  left: 0;
}
.page1thanosbox{
  padding: 20px 0 50px 0;
}
.page2thanosbox{
  padding: 20px 0 5% 0;
}

.p1btn, .p2btn{
  width: 296px;
  height: 86px;
}
.p1btn{
  margin-right: 20px;
  background: url('../images/btn-postNotice.png')no-repeat;
}
.p2btn{
  margin-left: 20px;
  background: url('../images/btn-postArea.png')no-repeat;
}
.p3btn{
  width: 416px;
  height: 107px;
  position: relative;
}
.p3btn a img{
  position: absolute;
  transition: opacity 0s ease-in-out;
}
.p3btn img:last-child:hover{
   /* 滑入時第一張透明度設0 */
    opacity:0;
}

.p1btn .item, .p2btn .item{
  width: 296px;
}
.p1btn:hover{
  background: url('../images/btn-postNotice-hover.png')no-repeat;
  width: 296px;
  height: 86px;
}
.p2btn:hover{
  background: url('../images/btn-postArea-hover.png')no-repeat;
  width: 296px;
  height: 86px;
}

.p3btn a{
  display: inline-block;
}
.page3thanosbox{
  display: flex;
  justify-content:space-around;
  margin: 30px;
}
/* .p3btn:hover{
  background: url('../images/btn-votingArea-hover.png')no-repeat;
  width: 416px;
  height: 107px;
} */

.page1notice{
/* 
  padding-top: 40px;
  position: relative; */

    display: flex;
    padding-top: 40px;
    position: relative;
    justify-content: center;
    align-items: center;
}

/* sidebar */

.item {
  display: block;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-size: contain;
  /* margin: 15px auto; */
  background: transparent;
  text-align: center;
  cursor: pointer;
}

.item:hover {
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
}


/* 清除預設nav */

.nav-link:hover, .nav-link:active, .nav-link:focus,.nav-link{
  background: none;
  border: none;
  padding: 0;

}

/* 清除預設nav */

/* 頁籤 */




@media (max-width: 991px) {
  /* .page1thanosbox{
    max-width: 550px;
    margin: auto;
  }
  .page2thanosbox{
    max-width: 350px;
    margin: auto;
  } */
  .p1btn, .p2btn{
    background-size: 80%;
    background-position: right;
  }
  .p1btn{
    background-position: right;
  }
  .p2btn{
    background-position: left;
  }
  .page2content::before{
    content:'';
    background:url('../images/c-1.png')no-repeat;
    background-size: 100%;
    width: 506px;
    height: 952px;
    position: absolute;
    top: -185px;
    right: -160px;
  }

  .page3content::before{
    content:'';
    background:url('../images/c-2.png')no-repeat;
    background-size: 100%;
    width: 305px;
    height: 804px;
    top: -195px;
    left: -130px;
    z-index: 2;
  }
  .page3content::after{
    content:'';
    background:url('../images/c-3.png')no-repeat;
    background-size: 100%;
    width: 240px;
    height: 832px;
    bottom: 200px;
    right: -35px;
    z-index: 2;
  }
  .mapInfo {
    margin: 0 0 30px;
  }

}

@media (max-width: 850px) { 
  .page2thanosbox{
    padding: 0;
  }
  .p3btn {
    width: 336px;
  }
  .modal-lg {
    width: 95%;
  }
  .page4content{
    background-size:cover;
  }
  .page5content{
    background-size:cover;
  }

}

@media (max-width: 767px) {
  .p1btn, .p2btn{
    background-size: 65%;
  }
  .contents .title{
    transform: translateY(23%);
  }
  .p3btn {
    width: 250px;
    height: 86px;
  }
  .char-item1, .char-item2{
    background:none;
    height: 100vh;
    position: relative;
  }
  #scene::before{
    content: '';
    background:url('../images/main-characters-1.png')no-repeat;
    background-size: 100%;
    width: 666px;
    height: 1412px;
    position: absolute;
    top: 0px;
    right: -22%;
  }
  #contents::before{
    content:'';
    top: -40px;
    left: 0px;
    z-index: 20;
  }
  .page1thanosbox{
    max-width: 450px;
    margin: auto;
  }
  .page2thanosbox{
    max-width: 280px;
    margin: auto;
  }
  .page2content::before, .page3content::before, .page3content::after{
    content:'';
    display: none;
  }

  #tab-1 .page1content, #tab-1 .page2content, #tab-1 .page3content {
    padding: 0px 20px;
  }

  .modal-footer {
    padding: 5px 20px 5px;
  }

  .titleBox {
    margin: 0;
  }

  .goh_style {
    text-align: left;
  }

  .nav_center {
    display: block;
  }

  .logoBox {
    width: 2.5rem;
    margin: 0 auto;
  }

}

@media (max-width: 480px) {
  .char-item1::before {
    content: '';
    width: 710px;
    height: 760px;
    top: 20px;
    right: -390px;
  }
  /* .page1thanosbox{
    max-width: 350px;
    margin: auto;
    padding: 4px;
  }
  .page2thanosbox{
    max-width: 230px;
    margin: auto;
  } */
  .page1thanosbox {
    padding-bottom: 1%;
  }
  .page2thanosbox {
    padding: 0px;
  }
  .p1btn{
    background: url('../images/btn-postNotice-hover.png')no-repeat;
    background-position: right;
    margin-right: 0px;
  }
  .p2btn{
    background: url('../images/btn-postArea-hover.png')no-repeat;
    background-position: left;
    margin-left: 2%;
  }
  .p1btn, .p2btn{
    width: 166px;
    height: 56px;
    background-size: 100%;
  }
  .p3btn {
    width: 200px;
    height: 66px;
  }
  .p3btn img:last-child{
    opacity:0;
  }
  .noticeWrap {
    padding: 15px;
  }
  .form_txt p,
  .copyright .cp  .tab-content ul li a {
    font-size: 12px;
  }

  #tab-1, #tab-2, #tab-3, #tab-4 {
    padding: 10% 2% 6% 2%;
  }
  #gotop, #gotop:hover{
    background: url('../images/go-top-hover.png')no-repeat;
    background-position: center;
    background-size: cover;
    width: 102px;
    height: 96px;
    right: 15px;
  }
  

}