@charset "utf-8";
/* CSS Document */
/*-------------------ani-----------------*/
@keyframes InOutBtn {
  0% {
    opacity: 0
  }
  50% {
    opacity: 1
  }
  100% {
    opacity: 0
  }
}
@keyframes topFlyIn {
  0% {
    top: -50px;
  }
  40% {
    top: -50px;
  }
  100% {
    top: 0;
  }
}
@keyframes leftFlyIn {
  0% {
    left: -120%;
  }
  40% {
    left: -120%;
  }
  100% {
    left: 0;
  }
}
@keyframes rightFlyIn {
  0% {
    right: -120%;
  }
  40% {
    right: -120%;
  }
  100% {
    right: 0;
  }
}
@keyframes rightFlyInRe {
  0% {
    right: -40%;
  }
  40% {
    right: -40%;
  }
  100% {
    right: 0;
  }
}
@keyframes leftFlyInRe {
  0% {
    left: -80%;
  }
  40% {
    left: -80%;
  }
  100% {
    left: 0;
  }
}
@keyframes fadeOut {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 0; /* 保持一段時間不變 */
  }
  100% {
    opacity: 1; /* 最後淡出 */
  }
}
/*------------------------BG------------------------------*/
#win article {
  /* background-image: url(../images/bg_win.png);*/
}
#prize article {
  /* background-image: url(../images/bg02.png);*/
}
#intro article {
  /*  background-image: url(../images/bg_intro.png);*/
}
#judge article {
  /*background-image: url(../images/bg_judge.png);*/
}
#register article {
  /* background-image: url(../images/bg_register.png);*/
}
/*------------------prize lost------------------------*/
#prizeList li {
  margin-bottom: 10px;
}
#prizeList li:last-child {
  margin-bottom: 0;
}
#prizeList li span {
  background: #D2E13C;
  font-size: 19px;
  display: inline-block;
  height: 35px;
  line-height: 35px;
  width: 120px;
  text-align: center;
  margin-right: 10px;
  border-radius: 20px;
  color: #333;
}
/*------------------judge------------------------*/
#jugdeList li {
  margin-bottom: 25px;
}
#jugdeList li:last-child {
  margin-bottom: 0;
}
#jugdeList li div.judgeLeft {
  float: left;
  width: 25%;
}
#jugdeList li div.judgeRight {
  float: right;
  width: 72%;
}
#jugdeList li:nth-child(even) div.judgeRight {
  float: left;
  width: 72%;
}
#jugdeList li:nth-child(even) div.judgeLeft {
  float: right;
  width: 25%;
}
#jugdeList li div.squareThumb {
  border-radius: 200px;
}
#jugdeList li div.judgeRight h2 {
  margin-bottom: 10px;
}
#calendar li {
  padding: 15px 10px;
  display: block;
  vertical-align: middle;
  border: 1px solid #dbdbdb;
  background: #000;
  _filter: alpha(opacity=60); /*IE6*/
  filter: alpha(opacity=60); /*IE7*/
  -moz-opacity: 0.60; /*fireFox*/
  background: rgba(0, 0, 0, 0.35); /*chrome*/
  border-radius: 20px;
}
#calendar li h2 {
  color: #fff;
  letter-spacing: 2px
}
#calendar li h3 {
  color: #d3e03d;
  letter-spacing: 2px
}
.fa-chevron-down {
  font-size: 250%;
  color: #d3e03d
}
/*-----------------------for PC-----------------------*/
@media screen and (min-width:801px) {
  /*------------------bannerWrapper------------------------*/
  #bannerWrapper {
    width: 100%;
    min-width: 1024px;
    min-height: 650px;
    background-image: url(../images/limit.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top center;
    position: relative;
  }
  #bannertext {
    width: 1000px;
    /*padding: 5%;*/
    /*for ani*/
    position: relative;
    animation: fadeOut 1.5s ease forwards;
    color: #fff;
    margin: 10% auto 0 auto;
    text-align: center;
  }
  #bannertext h1 {
    font-size: 60px;
    line-height: 115%;
    color: #D2E13C;
    opacity: 1;
  }
  #bannertext h1 span {
    color: #fff;
    font-size: 30px;
  }
  #bannertext h3 {
    font-size: 21px;
    color: #fff;
    font-weight: normal;
    line-height: 155%;
  }
  #bannertitle {
    width: 100%;
    height: 0;
    padding-bottom: 30%;
    margin: 0px auto 0 auto;
    background-image: url(../images/title.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    /*margin-bottom: 15px;*/
  }
  #scrollBtn {
    opacity: 0;
    position: absolute;
    bottom: 30px;
    left: 50%;
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 80px;
    margin-left: -40px;
    background-image: url(../images/scroll.svg);
    background-repeat: no-repeat;
    background-size: 50% 50%;
    background-position: center center;
    /*for ani*/
    animation: InOutBtn 1.5s ease-in;
    animation-iteration-count: infinite;
    animation-delay: 1.5s;
  }
  /*------------------article------------------------*/
  article {
    width: 100%;
    padding: 100px 10%;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    overflow-x: hidden;
  }
  article h1 {
    font-size: 35px;
    color: #fff;
    border-left: 5px solid #D2E13C;
    padding-left: 10px;
    line-height: 125%;
  }
  article h1 span {
    display: block;
    font-size: 45px;
    color: #D2E13C;
  }
  article h2 {
    font-size: 25px;
  }
  article h3 {
    font-size: 17px;
  }
  .left {
    float: left;
    width: 30%;
    opacity: 0;
  }
  .right {
    float: right;
    width: 60%;
    opacity: 0;
  }
  /*------------------winner------------------------*/
  #top3 {
    margin: 20px 0;
  }
  #top3 li {
    width: 31.3%;
    float: left;
    margin-right: 3%;
  }
  #top3 li h2 {
    border-bottom: 4px solid #D2E13C;
    padding-bottom: 8px;
    color: #D2E13C;
  }
  #top3 li a, #good li a {
    display: block;
    position: relative;
  }
  #top3 li a p, #good li a p {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
    width: 100%;
    padding: 8px 0;
  }
  #top3 li:last-of-type {
    margin-right: 0;
  }
  /*------------------good------------------------*/
  #good li {
    width: 18.4%;
    float: left;
    margin-right: 2%;
  }
  #good li h2 {
    border-bottom: 3px solid #fff;
    padding-bottom: 7px;
    color: #fff;
    margin-top: 20px;
    font-size: 19px;
    font-weight: normal;
  }
  #good li:nth-child(5n) {
    margin-right: 0;
  }
  /*---------quote------------*/
  #quote {
    padding: 5px 30px;
    background: url(../images/quoteL.svg) no-repeat left top, url(../images/quoteR.svg) no-repeat right bottom;
    background-size: 30px 30px;
    font-size: 19px;
    text-align: center;
  }
  /*------------------intro------------------------*/
  #intro article .left, #judge article .left, #win article .left, #register article .left  {
    float: right;
    width: 30%;
  }
  #intro article .right, #judge article .right, #win article .right, #register article .right {
    float: left;
    width: 60%;
  }
  #prize article .left, #date article .left  {
    float: right;
    width: 60%;
  }
  #prize article .left, #date article .left  {
    float: left;
    width: 30%;
  }
  /*---------------intro step-------------*/
  .step li {
    margin-bottom: 20px;
  }
  .step li:last-of-type {
    margin: 0;
  }
  .step li div.setpLeft {
    width: 100px;
    height: 100px;
    float: left;
    background: #D2E13C;
    color: #333;
    text-align: center;
    border-radius: 100px;
    font-size: 17px;
    padding-top: 15px;
  }
  .step li div.setpLeft span {
    font-size: 41px;
    margin-top: 5px;
    font-weight: bold;
    display: block;
      font-family: 'Oswald', "微軟正黑體", sans-serif;
  }
  .step li div.setpRight {
    width: auto;
    margin-left: 120px;
    height: 100px;
    /*垂直致中*/
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  /*------------------ani Cover------------------------*/
  .leftFlyIn {
    position: relative;
    animation: leftFlyIn 0.8s ease;
    opacity: 1;
  }
  .rightFlyIn {
    position: relative;
    animation: rightFlyIn 0.8s ease;
    opacity: 1;
  }
  .leftFlyInRe {
    position: relative;
    animation: leftFlyInRe 0.8s ease;
    opacity: 1;
  }
  .rightFlyInRe {
    position: relative;
    animation: rightFlyInRe 0.8s ease;
    opacity: 1;
  }
}
@media screen and (min-width:1440px) {
  /*------------------article------------------------*/
  article {
    padding: 100px 20%;
  }
}
/*------------------for mobile------------------------*/
@media screen and (max-width:800px) {
  /*------------------bannerWrapper------------------------*/
  article {
    padding: 50px 0;
  }
  #bannerWrapper {
    width: 100%;
    background-image: url(../images/limitM.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    position: relative;
    padding: 80px 10px 30px 10px;
    color: #FFF;
  }
  #bannertext {
    width: 100%;
    /*padding: 5%;*/
    /*for ani*/
    position: relative;
    animation: fadeOut 1.5s ease forwards;
    color: #fff;
    margin: 2% auto 0 auto;
    text-align: center;

  }
  #bannertext h1 {
    font-size: 48px;
    line-height: 120%;
    color: #D2E13C;
  }
  #bannertext h1 span {
    display: block;
    color: #fff;
    font-size: 25px;
  }
  #bannertext h3 {
    width: 90%;
    font-size: 16px;
    line-height: 150%;
    color: #fff;
    font-weight: normal;
    margin: 0 auto;
  }
  #bannertitle {
    width: 100%;
    height: 0;
    padding-bottom: 80%;
    margin: 0px auto 0 auto;
    background-image: url(../images/titleM.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: left top;
  }
  #scrollBtn {
    opacity: 0;
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 80px;
    background-image: url(../images/scroll.svg);
    background-repeat: no-repeat;
    background-size: 50% 50%;
    background-position: center center;
    margin: 20px auto 0 auto;
    /*for ani*/
    animation: InOutBtn 1.5s ease-in;
    animation-iteration-count: infinite;
    animation-delay: 0;
  }
  /*------------------article------------------------*/
  article {
    width: 100%;
    padding: 80PX 25px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: #fff;
    overflow-x: hidden;
  }
  article h1 {
    font-size: 35px;
    color: #fff;
    border-left: 5px solid #D2E13C;
    padding-left: 10px;
    line-height: 125%;
    font-weight: normal;
  }
  article h1 span {
    display: block;
    font-size: 45px;
    color: #D2E13C;
  }
  article h2 {
    font-size: 21px; /*color: #D2E13C;*/
  }
  article h3 {
    font-size: 17px;
  }
  .left {
    margin-bottom: 25px;
  }
  /*---------------index step-------------*/
  /* 手機版 */
  .step li {
    display: flex; /* 讓一列成為 flex 容器 */
    align-items: center; /* 左圓＋右文字 垂直置中 */
    min-height: 80px; /* 不小於圓的高度 */
    margin-bottom: 20px;
    position: relative;
  }
  .step li:last-of-type {
    margin: 0;
  }
  /* 左邊圓形：取消 float，讓它成為 flex item */
  .step li div.setpLeft {
    width: 80px;
    height: 80px;
    background: #D2E13C;
    color: #333;
    border-radius: 100px;
    font-size: 15px;
    text-align: center;
    margin-right: 20px; /* 圓與文字的間距 */
    padding-top: 0; /* 不用再推 padding */
    flex: 0 0 80px; /* = flex-basis:80px; 不收縮 */
    flex-shrink: 0; /* 再保險一次 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 20px; /* 與右側的間距 */
    float: none; /* 覆蓋舊的 float */
      font-weight: bold
    
  }
  .step li div.setpLeft span {
    font-size: 35px;
    margin-top: 0px; /* 微調視覺 */
    font-weight: bold;
    line-height: 1;
    display: block;
  }
  /* 右側區塊：改回普通流式；不用自身再做垂直置中 */
  .step li div.setpRight {
    width: auto;
    margin-left: 0; /* 用上面的 margin-right/gap 取代 */
    display: block; /* 不需要 flex 了（可留也可拿掉） */
    min-width: 0; 
    overflow-wrap: anywhere;/*右側文字（含 email）可換行，不會去擠左側。*/
  }
  /*---------------------*/
  #quote {
    padding: 5px 25px;
    background: url(../images/quoteL.svg) no-repeat left top, url(../images/quoteR.svg) no-repeat right bottom;
    background-size: 25px 25px;
    font-size: 17px;
  }
  #prizeList li {
    overflow: auto;
  }
  #prizeList li span {
    background: #D2E13C;
    font-size: 15px;
    float: left;
    height: 30px;
    line-height: 30px;
    width: 90px;
    text-align: center;
    margin-right: 10px;
    border-radius: 20px;
    color: #333;
  }
  /*------------------winner------------------------*/
  #top3 li {
    margin-bottom: 20px;
  }
  #top3 li h2 {
    border-bottom: 4px solid #D2E13C;
    padding-bottom: 8px;
    color: #D2E13C;
  }
  #top3 li a, #good li a {
    display: block;
    position: relative;
  }
  #top3 li a p, #good li a p {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
    width: 100%;
    padding: 8px 0;
  }
  #top3 li:last-of-type {
    margin: 0;
  }
  /*------------------good------------------------*/
  #good li {
    width: 49%;
    float: left;
    margin-right: 2%;
  }
  #good li h2 {
    border-bottom: 3px solid #fff;
    padding-bottom: 7px;
    color: #fff;
    margin-top: 20px;
    font-size: 19px;
    font-weight: normal;
  }
  #good li:nth-child(even) {
    margin-right: 0;
  }
  /*------------------ani Cover------------------------*/
  .leftFlyIn {
    position: relative;
    animation: leftFlyIn 1s ease;
    opacity: 1;
  }
  .rightFlyIn {
    position: relative;
    animation: rightFlyIn 1s ease;
    opacity: 1;
  }
  .leftFlyInRe {
    position: relative;
    animation: leftFlyInRe 1s ease;
    opacity: 1;
  }
  .rightFlyInRe {
    position: relative;
    animation: rightFlyInRe 1s ease;
    opacity: 1;
  }
     /*------------------intro------------------------*/
  #intro article .left, #register article .left, #prize article .left, #date article .left, #date article .left{
   
    width: 95%;
      margin: 8% auto 0 auto
  }
  #intro article .right, #register article .right, #prize article .right, #date article .right, #date article .right {
   
    width: 95%;
      margin: 8% auto 0 auto
  }
}