@charset "UTF-8";
.kv_float {
  font-family: '微軟正黑體', courier;
  /*background: black;*/
  text-align: center;
  mix-blend-mode: lighten;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.matrix {
  color: #2e7def;
  font-size: 11px;
  line-height: 1.2;
  display: block;
  white-space: nowrap;
  /*width: 100%;*/
  width: 32em;
  height: 100vh;
  padding: 0;
  margin: 0;
  list-style: none;
  mix-blend-mode: lighten;
  overflow: hidden;
}
.matrix li {
  text-align: center;
  display: inline-block;
  white-space: normal;
  vertical-align: top;
  width: 1em;
  position: relative;
  opacity: 0.75;
}
.matrix li b {
  display: none;
  background: linear-gradient(to bottom, rgba(86, 39, 197, 0.3) 0%, rgba(86, 39, 197, 0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}
.matrix li:before {
  word-break: break-all;
}
.matrix li:after {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 100%;
  left: 0;
  overflow: hidden;
  content: '';
  animation-duration: 3000ms;
  /* animation-timing-function: steps(1, start); */
  animation-timing-function: linear;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-direction: normal;
  animation-fill-mode: none;
  animation-play-state: running;
  background: linear-gradient(to bottom, rgb(20, 0, 41) 0%,rgba(20,0,41,1) 25%,rgba(20,0,41,0) 50%,rgba(20,0,41,1) 75%,rgba(20,0,41,1) 100%);;
  background-size: 100% 100%; 
  height: 400%;
  top:-300%;
  animation-name: column;
}

/* 隨機 */
/*隨機=漸層光*/
.matrix li:nth-child(4n-1) b {
  /* display: block; */
}
/*隨機=尺寸大*/
.matrix li:nth-child(2),.matrix li:nth-child(11),.matrix li:nth-child(13){
  font-size: 15px;
  line-height: 1.6;
}
.matrix li:nth-child(7),.matrix li:nth-child(13),.matrix li:nth-child(18){
  font-size: 15px;
  line-height: 1.2;
}
.matrix li:nth-child(4), .matrix li:nth-child(5), 
.matrix li:nth-child(9), .matrix li:nth-child(10),
 .matrix li:nth-child(14), .matrix li:nth-child(15){
  font-size: 20px;
  line-height: 1.1;
}
/*隨機=透明度*/
.matrix li:nth-child(1), .matrix li:nth-child(5), .matrix li:nth-child(8) {
  opacity: 0.95;
}
.matrix li:nth-child(6), .matrix li:nth-child(9), .matrix li:nth-child(10) {
  opacity: 0.7;
}
/*隨機=延遲*/
.matrix li:nth-child(1)::after, .matrix li:nth-child(3)::after, .matrix li:nth-child(6)::after, 
.matrix li:nth-child(9)::after, .matrix li:nth-child(12)::after, .matrix li:nth-child(8)::after,
.matrix li:nth-child(17)::after{
  animation-delay: 350ms;
}
.matrix li:nth-child(2)::after, .matrix li:nth-child(7)::after, .matrix li:nth-child(13)::after {
  animation-delay: 700ms;
}
/* Start */
/*通用*/
.matrix li::before {
  content: "祝福P　a　y　E　a　s　y　20週年生日快樂";
}
.matrix li:nth-child(2n):before {
  content: "限時下殺P　a　y　E　a　s　y　20週年一起同歡";
}
/*中國信託*/
.matrix li:nth-child(4):before {
  content: "祝福20週年生日快樂";
  color: rgba(255,255,255,0.8);
}
.matrix li:nth-child(5):before {
  content: "感謝P　a　y　E　a　s　y 協助將員工福利單據及審核全面電子化";
  color: rgba(255,255,255,0.8);
}

/*台新金控*/
.matrix li:nth-child(9):before {
  content: "是智慧好夥伴";
  color: rgba(255,255,255,0.8);
}
.matrix li:nth-child(10):before {
  content: "P　a　y　E　a　s　y 不斷優化與提升服務";
  color: rgba(255,255,255,0.8);
}

/*本田*/
.matrix li:nth-child(14):before {
  content: "祝福20週年快樂";
  color: rgba(255,255,255,0.8);
}
.matrix li:nth-child(15):before {
  content: "感謝P　a　y　E　a　s　y 協助實現員工福利最大化";
  color: rgba(255,255,255,0.8);
}

/*富豪汽車*/
.matrix.right li:nth-child(4):before {
  content: "透明高效高滿意度的數位化平台服務";
  color: rgba(255,255,255,0.8);
}
.matrix.right li:nth-child(5):before {
  content: "P　a　y　E　a　s　y 禮贈平台提供";
  color: rgba(255,255,255,0.8);
}

/*新光三越*/
.matrix.right li:nth-child(9):before {
  content: "籌辦員工淨灘達成　E　S　G　目標";
  color: rgba(255,255,255,0.8);
}
.matrix.right li:nth-child(10):before {
  content: "運用P　a　y　E　a　s　y 旅遊規畫服務";
  color: rgba(255,255,255,0.8);
}

/*鴻海*/
.matrix.right li:nth-child(14):before {
  content: "祝20週年生日快樂";
  color: rgba(255,255,255,0.8);
}
.matrix.right li:nth-child(15):before {
  content: "感謝P　a　y　E　a　s　y 長期協助提供員工多元的福利選擇";
  color: rgba(255,255,255,0.8);
}

/* 祝福雨延遲 */
.matrix li:nth-child(9)::after {
  animation-duration: 5000ms;
  animation-name: column3;
}
.matrix li:nth-child(10)::after {
  animation-duration: 5000ms;
  animation-name: column2;
}
.matrix li:nth-child(4)::after {
  animation-delay: 6500ms;
  animation-duration: 5000ms;
  animation-name: column3;
}
.matrix li:nth-child(5)::after {
  animation-delay: 6500ms;
  animation-duration: 5000ms;
  animation-name: column2;
}
.matrix li:nth-child(14)::after {
  animation-delay: 11s;
  animation-duration: 5000ms;
  animation-name: column3;
}
.matrix li:nth-child(15)::after {
  animation-delay: 11s;
  animation-duration: 5000ms;
  animation-name: column2;
}

@keyframes column {
  0% {
    top:-300%;
  }

  100%{
    top:0;
  }
}
@keyframes column2 {
  0% {
    top:-300%;
  }
  92%{
    top:0;
  }
  100%{
    top:0;
  }
}
@keyframes column3 {
  0% {
    top:-300%;
  }
  30%{
    top:-300%;
  }
  100%{
    top:0;
  }
}