@charset "utf-8";
/* CSS Document */
*{box-sizing:border-box;}
html{
	-webkit-text-size-adjust:none;
  font-family:Verdana, 'Noto Sans TC','Microsoft JhengHei', sans-serif;
  font-size: 16px;
  text-align: center;
  margin: 0;
}
/*menu*/
header{
  width: 100%;
  height: auto;
  background: #e33c52;
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  display: flex;
  box-shadow: 2px 2px 5px #494949;
  justify-content: space-around;
  align-items: center;
  padding: 12px 0;
}
.logo{width: 12%;}
.menu_pc{
  display: flex;
  justify-content: space-between;
}
.menu{
  margin: 0 12px;
  font-size: 1.2em;
}
.menu a{ color: #fff;}
.menu a:hover{ color: #ffe736;}

.nav-toggle {
  position: relative;
  background: transparent;
  border: 1px solid transparent;
}
.nav-toggle:focus {
  outline-width: 0;
}
.nav-toggle [class*='bar-'] {
  background: #ffffff;
  display: block;
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
  -webkit-transition: .2s ease all;
          transition: .2s ease all;

  /*
   * ENLARGED FOR PRESENTATION
   * Keep these values at the same proportion
   * for it to look correct
  */
  border-radius: 4px;
  height: 3px;
  width: 30px;
  margin-bottom: 4px;

  /*
   * Practical values:
   * border-radius: 2px;
   * height: 2px;
   * width: 25px;
   * margin-bottom: 4px;
  */
}
.nav-toggle .bar-bot {
  margin-bottom: 0;
}
.opened .bar-top {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  -webkit-transform-origin: 15% 15%;
          transform-origin: 15% 15%;
}
.opened .bar-mid {
  opacity: 0;
}
.opened .bar-bot {
  -webkit-transform: rotate(45deg);
          transform: rotate(-45deg);
  -webkit-transform-origin: 15% 95%;
          transform-origin: 15% 95%;
}
#menu{
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 999;
  display: block;
  position: fixed;
}
.menu_option,.menu_option2{
  width: 100%;
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom: 1px #ffffff solid;
  text-align: center;
  font-size: 20px;
  letter-spacing: 5px;
  font-weight: 600;
  cursor: pointer;
  line-height: 2;
}
.menu_option a,.menu_option2 a{
  text-decoration:none;
  color: #ffffff;
}
.menu_ad{
  width: 300px;
  height: 250px;
  display: block;
  position: relative;
  margin: 0 auto;
  margin-top: 15px;
  padding-bottom: 15px;
  cursor: pointer;
  z-index: 999;
}
.menu_optionCon{
  font-weight: normal;
  font-size: 16px;
  display: block;
  line-height: 1.2;
  padding-bottom: 0.5%;
}
/*menu end*/

h1,.hidden{ display: none;}
img{ display: block; width: 100%;}
.visualBox{
  position: relative;
  margin-top: 60px;
  overflow: hidden;
}
.party1{
  width: 7%;  
  top: 3%;
  left: 23%;
  position: absolute; 
  -webkit-animation: fadein 2s infinite; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 2s infinite; /* Firefox < 16 */
        -ms-animation: fadein 2s infinite; /* Internet Explorer */
         -o-animation: fadein 2s infinite; /* Opera < 12.1 */
            animation: fadein 2s infinite;
}
@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.party2{
  position: absolute;
  width: 5%;
  top: 5%;
  left: 45%;
  -webkit-animation: fadeout 2s infinite; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadeout 2s infinite; /* Firefox < 16 */
        -ms-animation: fadeout 2s infinite; /* Internet Explorer */
         -o-animation: fadeout 2s infinite; /* Opera < 12.1 */
            animation: fadeout 2s infinite;
}
@keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
}
/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 1; }
    to   { opacity: 0; }
}
/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 1; }
    to   { opacity: 0; }
}
/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 1; }
    to   { opacity: 0; }
}
/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 1; }
    to   { opacity: 0; }
}
.party3{
  position: absolute;
  width: 10%;
  top: 12%;
  left: 12%;
  animation: party 2s infinite;
}
@-webkit-keyframes party {
    0% {  
               transform: translate(0px, 0px);  
           }  
           50% {  
               transform: translate(0px, -20px);  
           }  
           100% {  
               transform: translate(0px, 0px);  
           }  
}
/* Standard syntax */
@keyframes party {
   0% {  
               transform: translate(0px, 0px);  
           }  
           50% {  
               transform: translate(0px, -20px);  
           }  
           100% {  
               transform: translate(0px, 0px);  
           }  
}
.gift{
  width: 41%;
  position: absolute;
  right: 0;
  bottom: 2%;
  animation: gift 1s infinite;
}
@keyframes gift{  
            0%{  
                transform: rotate(0deg); 
            }
            50%{  
                transform: rotate(5deg); 
            }    
            100%{  
                transform: rotate(0deg); 
            }          
    }

.start{
  width: 18%;
  position: absolute;
  left: 50%;
  bottom: 0%;
  transform: translate(-50%,-50%);
}
.start2{
  width: 50%;
  margin: 0 auto;
  animation: start 1s infinite;  
}
@-webkit-keyframes start {
    0% {  
               transform: translate(0px, 0px);  
           }  
           50% {  
               transform: translate(0px, -10px);  
           }  
           100% {  
               transform: translate(0px, 0px);  
           }  
}
/* Standard syntax */
@keyframes party {
   0% {  
               transform: translate(0px, 0px);  
           }  
           50% {  
               transform: translate(0px, -10px);  
           }  
           100% {  
               transform: translate(0px, 0px);  
           }  
}
.contentBox{
  background: url(../images/bg.png) #fadfe4;
  background-size: 100%;
  background-position: 50% 0;
  background-repeat: repeat-y; 
  padding: 2% 0 3% 0;
}
.wrapper{
  display: flex;
  align-items: center;
  flex-direction: column;
  max-width: 1200px;
  width: 100%;
  background: url(../images/bg2.png);
  background-size: contain;
  background-position: 50% 0;
  background-repeat: repeat-y; 
  height: auto;
  margin: 2% auto 6% auto;
}
.contentTop{
  width: 100%;
  max-width: 700px;
  height: 60px;
  background-color: #5b598c;
  border-radius: 20px 20px 0 0;
}
.pattern{
  width: 8%;
  margin: 1.5% 3% 0 auto;
}
.content{
  width: 100%;
  max-width: 700px;
  height: auto;
  background-color: #f1f3f4;
  filter: drop-shadow(0 0 10px gray);
  border-radius: 0 0 20px 20px;
}
.time{
  width:70%;
  margin: 2% auto;
}
.chat{
  width: 95%;
  margin: 6% auto;
}
/*iframe youtube-------------------------------------------------*/
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

    .video-container iframe, .video-container object, .video-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
/*iframe youtube-------------------------------------------------*/
.btnBox{
  display: flex;
  justify-content:center;
  align-items: center;
}
.btnBox a{
  display: block;
  width: 40%;
  margin: 0 2%;
}
.newsBox{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 90%;
  margin:0 auto 2% auto; 
}
.news{
  width: 48%;
  text-align: left;
  border-bottom: 1px solid #c1c1c1;
  line-height: 2;
}
.news h3{ 
  font-size: 1em;
  line-height: 1.4;
  padding: 8px 0;
  font-weight: normal;
}
.news span{ 
  color: #8a84be;
  margin-right: 4px;
}
a{
  text-decoration:none;
  color: #5d5b95; 
}
a:hover{ color: #ff76ac;}
.chat5{ margin-bottom: 2%;}
.programYtLeft,.programYtRight{
  position: absolute;  
  top: 24%;
  z-index: 1;
  width: 460px;
  height: 259px;
  padding-bottom: 0;
}
.programYtLeft{ left: 5%;}
.programYtRight{ right: 5%;}
.programBox,.program{
  position: relative;
  margin: 3% 0;
}
.gift2{ margin: 2% 0 10% 0;}
.mediaFb,.mediaLine{
  width: 60px;
  height: 60px;
  background-image: url(../images/icon.png);
  background-repeat: no-repeat;  
  background-size: cover;
  position: fixed;
  right: 30px;
  cursor: pointer;  
}
.mediaFb a,.mediaLine a{
  display: block;
  height: 60px;
}
.mediaFb{ 
  bottom: 137px;
  background-position: 0 0;
}
.mediaLine{ 
  bottom: 73px;
  background-position: 0 -61px;
}
footer{ font-size: 1.5vmin;}
#gotop {
    display: none;
    cursor: pointer;
    position: fixed;
    right: 35px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    z-index: 1;
    background-image: url(../images/icon.png);
    background-repeat: no-repeat;
    background-position: 0 -102px;
    background-size: cover;
}

@media (min-width: 2000px) {
  .wrapper { max-width: 2000px;}
  .content,.contentTop { max-width: 1200px;}
  .programYtLeft, .programYtRight {    
    width: calc(100% / 1.5);
    height: calc(100% /1.7);
  }
  .menu { font-size: 2em;}
  .news h3 { font-size: 1.8em;}
}
@media (max-width: 1200px) {
  .hidden_l{ display: none;}
  .visible_l{ display: block;}
}
@media (max-width: 768px) {
  .hidden_m{ display: none;}
  .visible_m{ display: block;}
  header{ 
    justify-content: space-between;
    padding: 12px 20px;
    height: 60px;
  }
  .logo { width: 30%;}
  .menuBox{
    display: flex;
    align-items: center;
  }
  .start {
    bottom: -6%;
    width: 25%;
  }
  .wrapper{ background: rgba(0,0,0,0);}
  .mediaFb,.mediaLine{ right: 5px;}
  #gotop { right: 10px;}
  footer{
    padding: 20px;
    line-height: 1.6;
  }
}
@media (max-width: 480px) {
  .hidden_s{ display: none;}
  .visible_s{ display: block;}
  .logo,.btnBox a{ width:50%;}
  .party3 {
    width: 18%;
    top: 10%;
    left: 3%;
  }
  .party1 {
    width: 10%;
    top: 3%;
    left: 67%;
  }
  .party2 {
    width: 10%;
    top: 23%;
    left: 85%;
  }
  .gift {
    width: 100%;
    right: 0;
    bottom: 12%;
  }
  .start{
    width: 50%;
    bottom: 0;
    left: 60%;
  }
  .wrapper{ width: 96%;}
  .contentTop{ height: 20px;}
  .content { filter: drop-shadow(0 0 2px gray);}
  .news { width: 100%;}
  .news h3{
    font-size: 1.1em;
  }
  .programYtLeft,.programYtRight{ 
    top: 28%;
    width: 64%;
    height: 56%;
  }
  .programYtLeft{ left: 5%;}
  .programYtRight{ right: 5%;}
  .mediaFb, .mediaLine {
    width: 35px;
    height: 35px;
  }
  .mediaFb{ bottom: 83px;}
  .mediaLine { 
    bottom: 46px;
    background-position: 0 -36px;
  }
  .start2{ width: 70%;}
  footer { font-size: 0.5em;}
  #gotop{
    width: 35px;
    height: 35px;
    right: 5px;
    bottom: 10px;
    background-position: 0 -71px;
  }
}
