/*電腦loading*/
.demo {
      width: 60px;
      height: auto;
      position: absolute;
      top: 24%;
  }
  .an.img {
      width: 100%;
      height: auto;
  }
  .demo-building{
          width: 138px;
    height: auto;
    position: absolute;
    top: -31%;
      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: 60px;
    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: #ff8900; /* 一開始就顯示紅色 */
    animation: pulse 1.5s infinite ease-in-out;
    margin: 8% 4% 0 4%;
  }

  @keyframes pulse {
    0%, 100% {
      transform: scale(0.6);
      background-color: #ff8900;
    }
    50% {
      transform: scale(1.5);
      background-color: #ff8800d1;
    }
  }
  /* 每個點依序延遲 */
  .delay1 { animation-delay: 0.3s; }
  .delay2 { animation-delay: 0.6s; }
  .delay3 { animation-delay: 0.9s; }
  .delay4 { animation-delay: 1.2s; }




/*電腦登入*/
.christmas-i-color{
    color: #014833 !important;
}
.dragon-span-color{
    color: #014833 !important;
}
.festival-span-color{
    color: #fff !important;
}
.homepage_login_girl{
    display: none;

}
.prompt{
    background-color: #014833 !important;
    color: #fff !important;
}
.homepage_login_top{
        width: 84%;
    position: absolute;
    top: -76px;
    left: 29px;
    z-index: 100;
    }
.homepage_login_bottom2{
    width: 96%;
    position: absolute;
    bottom: 6px;
    left: 5px;
    z-index: 1;
}
.homepage_login_bottom{
    width: 69%;
    position: absolute;
    left: 294px;
    bottom: -50px;
    z-index: 100;
}

.homepage_login_bg {
    background-size: cover;
    border: 5px solid;
    border-radius: 10px;
    border-image-slice: 1;
    background-color: #fff9e8;
    background-image: none;
    border-image: linear-gradient(359deg, #014833, #ab2b16) 1;
}
@property --rotate {
    syntax: "<angle>";
    initial-value: 132deg;
    inherits: false;
  }

.homepage_login_cancel{
    position: absolute;
    top: -27px;
    right: -25px;
    cursor: pointer;
    z-index: 9000;
}
.homepage_login_bg .nav-tabs>li>a.active {
    background-color: #2c8927 !important;
    color: #fff !important;
    z-index: 1;
}
.modal-footer-m {
    z-index: 1;
}
.homepage_login_bg .tab-content {
    background-color: #2c8927!important;
}
.bookmark_type {
    background-color: #00603b!important;
    color: #fff !important;
        z-index: 1;
}
.login-btn {
   background-color: #014833 !important;
    border-color: #014833;
    color: #fff;
}
.mobile-eye{
    color: #014833 !important;
}

/*手機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: 42%;
    position: absolute;
    bottom: 70%;
    left: 29%;
}
.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: 15%;
    position: absolute;
    bottom: 74%;
    right: 25%;
}
.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開始 */
  }



/*手機登入*/
/* webkit 瀏覽器*/ 
.loginPage_input::-webkit-input-placeholder { 
	color: #484848 !important;
}
/* 火狐瀏覽器 */ 
.loginPage_input::-moz-placeholder { 
	color: #484848 !important;
}
.loginPage_input{
    color: #484848;
}
.loginPage-circle{
    display: none !important;
}
.loginPage-logo {
    top: 114px;
  height: 143px;
  width: 130px;
  background-image: url(../images/christmas/login_xmas_m2.png) !important;
      background-color: #00000000;
  box-shadow: none;
  border-radius: 0;
  background-repeat: no-repeat;
  background-size: auto;
  background-position: left;
  z-index: revert-layer;

    
}
.loginPage-bg_2 {
    background: none !important;
  border-width: 0px !important;
  padding-top: 127px !important;
  box-shadow: none !important;
}
.festival-indexRwd-bg{
    background-image: url(../images/christmas/login_xmas_m.jpg) !important;
    background-size: cover;
    background-repeat: no-repeat;
}
.login_div_2 {
    background: #FFFFFF;
}
.login_div_lock {
    padding: 8px;
    color: rgba(255, 255, 255, 1);
    font-weight: 600;
    height: 40px;
    background: linear-gradient(to bottom, #e84343 0%, #127b0f 100%);
}
.festival-logo{
        height: 60px !important;
    margin-top: 5px;
}
.festival-Service{
	height: 208px !important;
}
.loginPage-logo img{
  top: 39px;
    width: 63%;
    left: 15%;
}
.festival-titile-color{
    color: #ff0000   !important;
    text-shadow: -1px -1px 0 #ffff, 1px -1px 0 #ffff, -1px 1px 0 #ffff, 1px 1px 0 #ffff;
    margin-bottom: 15px;
}
.loginPage-icon-1, .mobil-eye{
    color: #ff0303 !important;
}
.dragon-span-color-rwd{
    color: #484848 !important;
}
.login_div_no_lock{
    color: #e74444 !important;   
}
.loginPage-span-2, .loginPage-span-2-a{
    color: #484848   !important;
}
.loginPage_login_btn{
    color: white;
    background: linear-gradient(to bottom, #e84343 0%, #127b0f 100%) !important;

}
.login-input{
	background-color: rgb(255 255 255) !important;
    color: black!important;
}
/* webkit 瀏覽器*/ 
.login-input::-webkit-input-placeholder { 
	color: #3e853a !important;
	letter-spacing: 1px;
	font-size: 16px;
}
/* 火狐瀏覽器 */ 
.login-input::-moz-placeholder { 
	color: #3e853a !important;
	letter-spacing: 1px;
	font-size: 16px;
}

.conversation-style{
    bottom: 165px;
}
#aboutMeLogoImg{
	/*height: 56px;*/
}
/*下雪特效*/
.g-snows {
    width: 100%;
    height: 100%;
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.g-snows > li.snowflake {
    position: absolute;
    height: 70px;
    width: 70px;
    background-image: url(../images/christmas/falling-snow-flake.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    animation: snowflake 8s linear forwards,
                rotateElement 5s linear infinite;
}

@keyframes snowflake {
    from {top: -15%;}
    to {top: 115%;}
}

@keyframes rotateElement {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
}


/*開場動畫*/
.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: 54vh;
    height: auto;
    position: absolute;
    top: -3vh;
    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: 36%;
    left: 50%;
    width: 79%;
    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);
  }
}

  
 /* 小螢幕調整 */
@media (min-width: 365px) and (max-width: 385px) {
  .demo-building-rwd {
    position: absolute;
    top: 26%;
  }
  .demo-building-rwd2{
    position: absolute;
    top: 34%;
    left: 50%;
    width: 79%;
  }
}

@media (min-width: 334px) and (max-width: 360px) {
  
  
}


@media  (min-width: 400px) and (max-width: 430px) {
  
}


@media (max-width: 480px) {
    /* 手機 */
    .g-snows > li.snowflake {
        
        height: 50px;
        width: 50px;
        
    }
}