@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&family=Noto+Serif+TC:wght@300;400;500&display=swap');

:root{
  --backgroundColor:#050604;
  --fontColor:#E7E8EA;
  --barBG:#1d1f32cc;
  --barFontColor:#a0a0a0;
  --barFontColor-h:#fff;
  --textbg:#15100b;
  --text:#0977c7;
  --SansFontfamily: 'Noto Sans TC', serif;
}

html{
  overflow: scroll;
  overflow-x: hidden;
}

body {
  font-family:'Noto Serif TC', serif;
  font-weight: lighter;
  background-color:var(--backgroundColor);
  color:var(--fontColor);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

.effect {
  z-index: 999;
  height: 100%;
  width: 100%;
  position: relative;
}

#gotop {
  z-index: 999;
  position: fixed;
  bottom: 30px;
  left: 30px;
  display: block;
  width: 80px;
  height: 80px;
  padding: 0;
  border-radius: 50%;
  color: #fff;
  background: #014475;
  line-height: 80px;
  text-align: center;
  font-family: var(--SansFontfamily);
}

#gotop:hover {
  color: #69c1ff;
}

: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;
}

h2 {
  margin: 80px 0 30px;
  font-weight: 700;
}

.row.five-gutters {
  margin-right: -5px;
  margin-left: -5px;
}

.fade:not(.show) {
  opacity: 1;
}


.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,
#gotop {
  -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;
  cursor: pointer;
  border: 0;
  opacity: 1;
  position: absolute;
  right: 0;
  top: -54px;
  z-index: 999;
  background-size: 100% auto;
}

.modal-dialog {
  top: 50%;
  pointer-events: auto;
  transform: translateY(-50%) !important;
}

#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;
}
/* modal */

/*navbar*/
.navbar {
  background-color:var(--barBG);
  padding: 0;
  justify-content: flex-end;
}
.navbar a{
  color:var(--barFontColor);
  border-color:var(--barFontColor);
}
.navbar a:hover{
  color:var(--barFontColor-h);
  border-color:var(--barFontColor-h);
}
.navbar-nav{
  /* height: 100vh; */
  justify-content: center;
  align-items: center;
}

.navbar-expand-lg .navbar-nav .nav-link{
  padding: 0.8rem 1.5rem;
  padding-right: 1rem;
  padding-left: 1rem ;
}

.nav-pills .nav-link {
  border-radius: unset;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
  color: unset;
  background-color: unset;
}

.collapse.in {
  display: block;
}

.logo {
  position: fixed;
  top: 6px;
  z-index: 1031;
  left: 131px;
}
/* hamburger */
.fas.fa-bars{
  color: #fff;
}
/* header */

#header {
  background: url(../imgs/main-bg.jpg) no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  height:100vh;
  position: relative;
  max-width: 100%
  /* padding-top: 50px; */
}

#header::before{
  content:" ";
  position: absolute;
  background:url(../imgs/main-bg.jpg)no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  animation: blur 6s normal forwards;
  width: 100%;
  height: 100%;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  top: 0;
  left: 0;
}

@keyframes blur {
to{
  filter: blur(10px);
  -webkit-filter: blur(10px);
  opacity: 0;

}
form{
  filter: blur(1);
  -webkit-filter: blur(1);
  opacity: 0;
}
}

#header .title {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translate(calc(0% + 158px),calc(-50% + 19px));
  z-index: 7;
}

#scene {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 2;
}

.char {
  width: 100%;
  height: 100%;
}

.char-main0 {
  position: absolute;
  left: 50%;
  top: 0;
  background-size: 100% auto !important;
  background: transparent url(../imgs/main-char.png) no-repeat 0 0;
  margin-left: -543px;
  width: 1507px;
  height: 2787px;
}
/* header */

/* 中間選單 */
.navbtn {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-image: url(../imgs/navbtn-bg.png);
  text-align: center;
  z-index: 999;
  text-indent: -9999px;
}


.navbtn.fixed{
  position: fixed;
  bottom: unset;
  top: 49px;
}

.navbtn.fixed-s{
  position: fixed;
  bottom: unset;
  top: 29px;
}

.nav-item1{
  background: url(../imgs/navbtn-btn1-off.png);
  width: 240px;
  height: 100px;
}

.nav-item1:hover,.nav-item1.active{
  background: url(../imgs/navbtn-btn1-on.png);
}

.nav-item2{
  background: url(../imgs/navbtn-btn2-off.png);
  width: 240px;
  height: 100px;
}

.nav-item2:hover,.nav-item2.active{
  background: url(../imgs/navbtn-btn2-on.png);
}

.nav-item3{
  background: url(../imgs/navbtn-btn3-off.png);
  width: 240px;
  height: 100px;
}

.nav-item3:hover,.nav-item3.active{
  background: url(../imgs/navbtn-btn3-on.png);
}


.sideBtn {
  position: fixed;
  right: 50px;
  top: 100px;
  z-index: 1000;
}

.sideBtn ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sideBtn ul>li {
  margin: 0 0 10px;
}

.sideBtn ul>li>a {
  position: relative;
  display: block;
  width: 110px;
  height: 110px;
  text-indent:-9999px;
  text-decoration: none;
  z-index: 999;
  filter: drop-shadow(0px  0px 7px rgba(0,0,0,0.7))
}
.sideBtn ul>li:nth-child(1)>a {
background-image: url(../imgs/sidebar-reg.png);
}
.sideBtn ul>li:nth-child(1)>a:hover {
  background-image: url(../imgs/sidebar-reg-hover.png);
  }
.sideBtn ul>li:nth-child(2)>a {
  background-image: url(../imgs/sidebar-dl.png);
}
.sideBtn ul>li:nth-child(2)>a:hover {
  background-image: url(../imgs/sidebar-dl-hover.png);
}
.sideBtn ul>li:nth-child(2){
  position: relative;
}


/* tab */
.tabs,.tab-pane.active {
  display: block;
}
.tab-pane {
  padding-top: 90px !important;
  display: none;
  overflow: hidden;
}

#tab-1,
#tab-2,
#tab-3 {
  background-size: cover !important;
  background-position: center center;
  position: relative;
  z-index: 2;
  /* padding: 0 0 150px; */
  overflow: hidden;
}

#tab-1 {
  background-image: url(../imgs/s1-bg.jpg);
  height: 1610px;
}

#tab-2 {
  background-image: url(../imgs/s2-bg.jpg);
  height: 1610px;
}

#tab-3 {
  background-image: url(../imgs/s3-bg.jpg);
  height: 1610px;
}

.tab-pane .container {
  overflow: hidden;
  text-align: center;
}

.tab-pane .container .title{
  margin: 4.5rem 0;
}

.tab-pane .container .text-tit{
  margin: 0 0 4rem;
  position: relative;
  line-height: 30px;
}

.tab-pane .container .text{
  position: relative;
  margin-bottom: 2.5rem;
}


.tab-pane .container .text p,.tab-pane .container .text-tit p{
margin: 0.2rem;
}

.tab-pane .container .image{
  margin-top: -2rem;
  margin-bottom: 5.5rem;
}




.tab-pane .container .text-tit::before {
  content: "";
  position: absolute;
  margin: auto;
  left: 50%;
  top: -45px;
  transform: translateX(-50%);
  width: 130px;
  height: 38px;
  text-align: center;
  line-height: 38px;
  letter-spacing: 4px;
  border-radius: 30px;
  background-color: var( --textbg);
  font-family: var( --btnFontfamily);
  color: var( --text);
}

.tab-pane .container .text-tit1::before{
  content: "活動對象";
}

.tab-pane .container .text-tit2::before{
  content: "活動時間";
}

.tab-pane .container .text-tit3::before{
  content: "活動方式";
}

.tab-pane .container .text-tit4::before{
  content: "注意事項";
}

/* .tab-pane .char{
  position: absolute;
  top: 0;
  z-index: -1;
}

.tab-pane .char-r{
  position: absolute;
  right: 0;
}

.tab-pane .char-l{
  position: absolute;
  left: 0;
}

.char1 {
  transform: translate(10px, 400px);
}

.char2 {
  transform: translate(37px, 554px);
}

.char3 {
  transform: translate(19px, 73px);
}

.char4 {
  transform: translate(14px, 457px);
}

.char5 {
  transform: translate(19px, 73px);
}

.char6 {
  transform: translate(14px, 457px);
} */

#tab-2 .text-tit4,#tab-3 .text-tit4{
  margin-top: 5.5rem;
}

/* tab */
/* .footer */
footer {
  margin: 0;
  position: relative;
  background: var(--backgroundColor);
  padding: 27px 0;
}

.copyright {
  text-align: center;
}

.copyright ul {
  list-style: none;
  display: inline-block;
  margin: 0;
  padding: 0;
}

.copyright ul li {
  display: block;
  height: 52px;
  line-height: 52px;
  float: left;
  margin: 0px 10px;
  color: #c0c0c0;
}

.copyright ul li p{
  text-align: left;
  margin: 0;
}

.copyright .text {
  font-size: 12px;
  line-height: 1.6em;
  margin-top: 0px;
  text-align: center;
}

.copyright .rating {
  width: 40px;
  display: inline-block;
}

.copyright li span {
  vertical-align: middle;
  display: inline-block;
  font-size: 12px;
  text-align: left;
  line-height: 1.2;
}

.copyright .cp {
  color: #c0c0c0;
  margin: 20px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid #4b4a58;
  text-align: center;
}

@media (max-width: 1024px) {
  .logo {
    left: 10px;
  }
  .logo img {
    max-width: 100%;
  }
  #header .title{
    transform: unset;
    top: 60%;
  }

  .tab-pane {
    padding-top: 0px !important;
    height: auto !important;
    background-position-x: right;
  }
  .tab-pane .container .text-tit {
    margin: 0 0 4rem 0;
  }
  .tab-pane .container .text {
  margin-left: 0;
  }
  .char-main0 {
    position: absolute;
    left: -401px;
    top: 65px;
    max-width: 164%;
    margin-left: 0;
}
.tab-pane .char-r {
  right: -170px;
  bottom: calc(0% + 300px);
  max-width:60%;
}

.tab-pane .char-l {
  bottom:calc(0% + 500px);
  max-width: 40%;
  left: -170px;
}

.char3 {
  transform: translate(-606px, 358px);
  max-width: 197% !important;
}

.char4 {
  transform: translate(159px, 768px);
  max-width: 300%;
}
.char5 {
  transform: translate(31px, 337px);
  max-width: 67% !important;
}
.char6 {
  transform: translate(70px, 758px);
  max-width: 300%;
}

.copyright ul li {
  height: unset;
  line-height:unset;
}

}


@media (max-width: 480px) {
  #header{
    background: url(../imgs/main-bg-s.jpg) no-repeat;
    height:100vh;
    max-width: 100%;
    background-position: 0 0;
    background-size: cover;
  }
  #header:before{
    display: none;
  }
  .logo {
    position: absolute;
    left: 05
  }
  
  .logo img {
    max-width: 70%;
  }

.tab-pane .char-r {
  right: -100px;
  bottom: calc(0% + 300px);
  max-width: 80%;
}

.tab-pane .char-l {
  bottom:calc(0% + 500px);
  max-width: 50%;
  left: -100px;
}

.char3 {
  transform: translate(-326px, 358px);
  max-width: 197% !important;
}

.char4 {
  transform: translate(109px, 658px);
  max-width: 300%;
}
.char5 {
  transform: translate(31px, 337px);
  max-width: 57% !important;
}
.char6 {
  transform: translate(70px, 658px);
  max-width: 300%;
}
  .navbtn .nav-link{
    max-width: 33.3%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  .sideBtn ul>li>a {
    width: 80px;
    background-size: contain;
    background-repeat: no-repeat;
  }
  .sideBtn ul>li:nth-child(2){
    display: none;
  }
  

  .char-main0 {
    position: absolute;
    left: -201px;
    top: 65px;
    max-width: 164%;
    margin-left: 0;
}

  .sideBtn {
    position: absolute;
    right: 15px;
    top: 65px;
  }
  .sideBtn ul>li>a {
    line-height: 60px;
    font-size: 14px;
  }
  .navbtn ul>li>a {
    padding: 20px 48px;
    font-size: 14px;
  }

  .copyright ul li {
    margin: 0 12px;
  }

  .navbar-inverse .navbar-brand {
    max-width: 190px;
    padding-top: 10px;
  }

  .copyright ul li:first-child {
    width: 150px;
  }

  .copyright ul li:nth-child(2) {
    width: 66px;
    padding: 5px 0 0;
  }

  .copyright .rating {
    width: 10%;
  }

  .copyright li span {
    width: 88%;
  }
}