.opening-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    overflow: hidden;
    position: fixed;
    background: rgb(0 0 0 / 83%);
}
#opening {
    height: 100%;
    overflow: hidden;
    position: relative;
}
/* 電腦版 開場動畫*/
section.main-opening {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: unset;
}
.demo-building-opening{
      width: 46vh;
    height: auto;
    position: absolute;
    top: -11vh;
      transform: scale(0);                  
    animation: zoomIn 0.2s ease-out forwards;
  }
.demo-building-opening2{
    width: 21vh;
    height: auto;
    position: absolute;
    top: 10vh;
    transform: scale(0);                  
    animation: scaleUp 0.2s ease-out forwards;
    animation-delay: 0.01s;
  }
.img-building-opening {
  width: 100%;
  height: auto;
}
.my-scale {
  animation: scaleDown 0.2s ease-out forwards;
  animation-delay: 2.1s;

}
@keyframes zoomIn {
    from {
      transform: scale(0);
    }
    to {
      transform: scale(1);
    }
  }
@keyframes scaleUp {
  0% {
    transform-origin: center;
    transform: scale(0);
  }
  50% {
    transform-origin: center;
    transform: scale(1.2);
  }
  100% {
    transform-origin: center;
    transform: scale(1);
  }
}
@keyframes scaleDown {
  0% {
     transform-origin: center;
    transform: scale(1);
  }
  100% {
    transform-origin: center;
    transform: scale(0);
  }
}
/* 手機板 開場動畫*/
.box1-opening{
    display: flex;
    justify-content: center;
    align-items: center;
}
.demo-building-rwd{
    position: absolute;
    top: 30%;
    left: 50%;
    width: 75%;
    transform: translateX(-50%) scale(0);
    animation: zoomIn-rwd 0.2s ease-out forwards;
}
.img-building-rwd{
   width: 100%;
    height: auto;
    
}
.demo-building-rwd2{
    position: absolute;
    top: 45%;
    left: 50%;
    width: 40%;
    transform: translateX(-50%) scale(0);        
    animation: scaleUp-rwd 0.2s ease-out forwards;
    animation-delay: 0.01s;
}
.img-building-rwd2{
   width: 100%;
    height: auto;
    
}
@keyframes zoomIn-rwd {
    from {
      transform: translateX(-50%) scale(0);
    }
    to {
      transform: translateX(-50%) scale(1);
    }
  }
@keyframes scaleUp-rwd {
  0% {
    transform-origin: center;
    transform: translateX(-50%) scale(0);
  }
  50% {
    transform-origin: center;
    transform: translateX(-50%) scale(1.2);
  }
  100% {
    transform-origin: center;
    transform: translateX(-50%) scale(1);
  }
}




#aboutMeLogoImg{
    width: 184px;
}
.modal-body-m{
      z-index: 2 !important;
}
.homepage_login_bg .modal-footer{
  z-index: 99 !important;
}
.homepage_login_bg {
    border-radius: 0px;
    /* border-color: rgb(52 69 144); */
    border-style: solid;
    border-width: 4px;
    border-image: linear-gradient(to top, #f07001 , #fea702, #f17000) 1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fee9d4;
    background-image: none;
}
.homepage_login_cancel{
    position: absolute;
    top: -23px;
    right: -11px;
    cursor: pointer;
    z-index: 9000;
    width: 47px;
    height: 47px;
}

.homepage_login_span {
    position: absolute;
    top: -1px;
    right: -14px;
    cursor: pointer;
    z-index: 10;
    font-size: 33px;
    font-weight: 700;
    color: #fff;
    opacity: 1 !important;
    background-color: #f66b00 !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}
.bookmark_type {
        background-color: #fff !important;
    color: #f66b00 !important;
}
.homepage_login_bg .nav-tabs>li>a.active {
    background-color: #ff7a06 !important;
    border-color: transparent !important;
    color: #fff !important;
}
.homepage_login_bg .tab-content {
        background: linear-gradient(to bottom, #ff7a06 0%, #ffffff 89%, #ffffff 89%) !important;
}
.login-input {
    background-color: #fff !important;
    border: none !important;
    color: #322413 !important;
}
/* webkit 瀏覽器*/ 
.login-input::-webkit-input-placeholder { 
	color: #322413 !important;
	letter-spacing: 1px;
	font-size: 16px;
}
/* 火狐瀏覽器 */ 
.login-input::-moz-placeholder { 
	color: #322413 !important;
	letter-spacing: 1px;
	font-size: 16px;
}
.christmas-i-color{
    color: #322413 !important;
}
.mobile-eye {
    color: #322413;
}
.login-btn {
  border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    background-color: #f66b00;
    border-color: #f66b00;
    color: #ffff;
    
}
.festival-span-color{
    color: #010101 !important;
}
.dragon-span-color{
    color: #010101 !important;
}
.login-checkbox {
    vertical-align: sub;
    border-width: 1px;
    border-style: solid;
    border-color: #000;
    padding: 0px;
    background: #fff!important;
}
.login-checkbox input+i:after {
    top: 1px;
    left: 2px;
    width: 15px;
    height: 15px;
}
.prompt {
    color: #ffff;
    background-color: #f66b00;
    
}
.homepage_login_right{
    width: 73%;
    position: absolute;
    z-index: 98;
    left: 270px;
    bottom: -107px;
}
.homepage_login_left {
    width: 45%;
    position: absolute;
    z-index: 1;
    left: 5px;
    bottom: 5px;
}
.homepage_login_top{
        width: 50%;
    position: absolute;
    z-index: 2;
    left: 101px;
    top: -59px;
}
.homepage_login_bottom{
 width: 98%;
    position: absolute;
    bottom: 3px;
    left: 4px;
    z-index: 1;
}
.festival-indexRwd-bg{
  background-image: url(../images/halloween/login_m.jpg?t=2025102101);
}
.loginPage-bg_2{
  background: none;
  border-width: 0px;
  padding-top: 64px;
  box-shadow: none;
}
.loginPage-circle{
  background: none;
}
.loginPage-logo{
  top: 114px;
  height: 143px;
  width: 130px;
  background-image: url(../images/halloween/pumpkin3.png?t=2025102101);
      background-color: #00000000;
  box-shadow: none;
  border-radius: 0;
  background-repeat: no-repeat;
  background-size: auto;
  background-position: left;
  z-index: revert-layer;
}
.general-titile-color{
  color:#f66b00;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
  font-size: 25px;
  margin-bottom: 20px;
  margin-top: 10px;
}


.login_div_lock{
  color: #fff;
  background: linear-gradient(to bottom, #fff200 0%, #f66b00 100%);
}
.login_div_no_lock{
  background-color: #fff;
  color: #f66b00;
}
.loginPage-logo img{
  top: 4px;
  width: 54%;
  left: 23%;
}
.loginPage-icon-1 {
  
  color: #d85e00;
}
.mobil-eye{
  color: #d85e00;
}
.dragon-span-color-rwd, .loginPage-span-2, .loginPage-span-2-a{
  color: #000000 !important;
  /*text-shadow: -2px -2px 0 white, 2px -2px 0 white, -2px 2px 0 white, 2px 2px 0 white, -2px 0 0 white, 2px 0 0 white, 0 -2px 0 white, 0 2px 0 white;*/
}
.loginPage_login_btn{
  color: #fff !important;
  background: linear-gradient(to bottom, #fff200 0%, #f66b00 100%) !important;
}
.mainMenu2020 .col-3{
    z-index: 999;  
}



/*電腦版 loading*/ 
.demo {
      width: 60px;
      height: auto;
      position: absolute;
      top: 24%;
  }
  .an.img {
      width: 100%;
      height: auto;
  }
  .demo-building{
      width: 104px;
      height: auto;
      position: absolute;
      top: -10%;
      transform: scale(0);                  /* 初始縮小 */
    animation: zoomIn 0.2s ease-out forwards;
  }
  .img-nationalDay{
    width: 100%;
    height: auto;
  }
  @keyframes zoomIn {
    from {
      transform: scale(0);
    }
    to {
      transform: scale(1);
    }
  }
  
  .demo-flag_s{
    width: 41px;
    height: auto;
    position: absolute;
    top: 41%;
    left: -91px;
    opacity: 0;
  }
  .demo-flag_s2{
    width: 40px;
    height: auto;
    position: absolute;
    top: 21%;
    left: 35px;
    opacity: 0;
  }
  @keyframes demo-flag_s {
    from {
      opacity: 0;
      transform: scale(0);
      top: 41%;
      left: -23px;
    }
    to {
      opacity: 1;
      transform: scale(1);
      top: 41%;
      left: -91px;
    }
  }
  @keyframes demo-flag_s2 {
    from {
      opacity: 0;
      transform: scale(0);
      top: 37%;
      left: -17px;
    }
    to {
      opacity: 1;
      transform: scale(1);
      top: 21%;
      left: 35px;
    }
  }
  /* 放大放小 */
@keyframes rotateImage_flag1 {
	0% {
        transform: scale(1);
	}
	50% {
        transform: scale(1.2);
	}
	100% {
        transform: scale(1);
	}
  }
  /* 當淡入結束後，再做放大放小 */
  .my-element.rotate {
    animation: demo-flag_s 0.5s ease forwards, 
              rotateImage_flag1 0.8s linear infinite;
    animation-delay: 0.1s, 0.6s; /* 第一個動畫0.1s開始，第二個動畫0.6s開始 */
  }
  .my-element2.rotate {
    animation: demo-flag_s2 0.5s ease forwards, 
              rotateImage_flag1 0.6s linear infinite;
    animation-delay: 0.1s, 0.6s; /* 第一個動畫0.1s開始，第二個動畫0.6s開始 */
  }
/*下面點點*/
  .loading_animation_list {
    position: absolute;
    top: 114%;
    left: -90px;
  }
  .loading_animation > div, .loading_animation_list > div{
        width: 251%;
  }
  .dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px; /* 點點間距，調大讓它們分開 */
  }
  .dot {
    transform: scale(0.6);  /* 初始就設定為動畫起點 */
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    background-color: hwb(32 0% 0% / 60%); /* 一開始就顯示紅色 */
    animation: pulse 1.5s infinite ease-in-out;
    margin: 8% 4% 0 4%;
  }

  @keyframes pulse {
    0%, 100% {
      transform: scale(0.6);
      background-color: hwb(32 0% 0% / 60%);
    }
    50% {
      transform: scale(1.5);
      background-color: hwb(32 0% 0%);
    }
  }
  /* 每個點依序延遲 */
  .delay1 { animation-delay: 0.3s; }
  .delay2 { animation-delay: 0.6s; }
  .delay3 { animation-delay: 0.9s; }
  .delay4 { animation-delay: 1.2s; }

/*手機板loading*/
.box1 {
    width: 80%;
    height: 40%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}
.loading_animation_rwd > div{
        width: 82%;
    margin: 6px 5px;
    display: inline-block;
}
.loading_animation_rwd {
    width: 100%;
    height: 28px;
    position: absolute;
    top: 99px;
    right: 0;
    bottom: 0;
    left: 3px;
    margin: auto;
}
.demo1_span {
    width: 100%;
    height: 73%;
    position: absolute;
    top: 0px;
    left: 0;
}
.demo1_loading_list {
    width: 100%;
    height: 36px;
    position: absolute;
    top: 124px;
    right: 0;
    bottom: 0;
    left: -6px;
    margin: auto;
}

.demo1-building{
    width: 30%;
    position: absolute;
    bottom: 70%;
    left: 35%;
}
.img-building{
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    transform: scale(0);                  /* 初始縮小 */
    animation: zoomIn 0.2s ease-out forwards;
}

.demo1-flag2{
    width: 11%;
    position: absolute;
    bottom: 68%;
    left: 27%;
}
.demo1-flag3{
    width: 11%;
    position: absolute;
    bottom: 74%;
    right: 27%;
}
.img-flag2{
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    opacity: 0;
}

@keyframes demo1-flag_s2-rwd {
    from {
      opacity: 0;
      transform: scale(0);
      bottom: 68%;
      left: 44%;
    }
    to {
      opacity: 1;
      transform: scale(1);
      bottom: 68%;
      left: 27%;
    }
  }
  @keyframes demo1-flag_s3-rwd {
    from {
      opacity: 0;
      transform: scale(0);
      bottom: 69%;
      right: 45%;
    }
    to {
      opacity: 1;
      transform: scale(1);
      bottom: 74%;
      right: 27%;
    }
  }

 /* 當淡入結束後，再做放大放小 */
  .my-element-rwd.rotate {
    animation: demo1-flag_s2-rwd 0.5s ease forwards, 
              rotateImage_flag1 0.8s linear infinite;
    animation-delay: 0.1s, 0.6s; /* 第一個動畫0.1s開始，第二個動畫0.6s開始 */
  }
  .my-element2-rwd.rotate {
    animation: demo1-flag_s3-rwd 0.5s ease forwards, 
              rotateImage_flag1 0.6s linear infinite;
    animation-delay: 0.1s, 0.6s; /* 第一個動畫0.1s開始，第二個動畫0.6s開始 */
  }


  /* 小螢幕調整 */
@media (min-width: 365px) and (max-width: 385px) {
  .demo-building-rwd {
    position: absolute;
    top: 26%;
  }
}

@media (min-width: 334px) and (max-width: 360px) {
  
  
}


@media  (min-width: 400px) and (max-width: 430px) {
  
}