/* 當你想為某一個區塊或方塊，增加背景，請在該區塊/方塊上增加class名稱
例如：

在HTML裡：
<div class="abc">我要增加背景</div> 

在css裡：
.abc{
    background-image: url(../images/body_bg.webp);  <------圖檔位置
    background-position: center; <-----圖片在區塊/方塊裡的定位
    background-size: cover;  <-----圖片在區塊/方塊裡的大小
}

 */

/* 補充 
    學習資料
    https://ithelp.ithome.com.tw/articles/10223887
    https://ithelp.ithome.com.tw/articles/10224214
*/

/* 全站背景 */
body {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, #ffc800, #fff7dc 25%, #fff7dc 50%, #ffc800 100%);
  background-position: center;
  background-size: 2400px;
}

.bgFixed {
  z-index: -1;
  position: fixed;
  background: url("../images/bgsky.png") no-repeat;
  background-position: center bottom;
  background-size: 2000px 100vh;
  height: 100vh;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .bgFixed {
    background: url("../images/bgsky-mb.png") no-repeat;
    background-size: cover;
    background-position: center top;
  }
}

main {
  background-image: url(../images/topBn_bgrepeat.webp);
  background-size: 100% 100%;
  overflow: hidden;
  background-position: top center;
  position: relative;
  background-repeat: repeat-x;
}

.shineWord {
  position: absolute;
  text-align: center;
  top: 0;
  left: 0;
  right: 0;
  background: none 0% 0% / auto repeat scroll padding-box border-box
    rgba(0, 0, 0, 0);
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
  -webkit-filter: brightness(1.5);
  filter: brightness(1.5);
  -webkit-mask-size: 500% 400%;
  mask-size: 500% 400%;
  -webkit-mask-image: -webkit-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0) 60%
  );
  mask-image: -webkit-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0) 60%
  );
  transition: -webkit-mask-position;
  transition-duration: 3s;
  transform: translate3d(0, 0, 0);
  -webkit-animation: move 2s linear infinite;
  animation: move 2s linear infinite;
}

@-webkit-keyframes move {
  from {
    -webkit-mask-position: 150% 0px;
    mask-position: 150% 0px;
  }
  to {
    -webkit-mask-position: 0% 0px;
    mask-position: 0% 0px;
  }
}

@keyframes move {
  from {
    -webkit-mask-position: 150% 0px;
    mask-position: 150% 0px;
  }
  to {
    -webkit-mask-position: 0% 0px;
    mask-position: 0% 0px;
  }
}

/* 按鈕顏色 */
.btnset a {
  color: #ff5900;
  border: 3px solid #ff5900;
  background-color: #fff;
  box-shadow: 0 5px #9e3700;
  line-height: 1.2;
} /*來去逛逛*/

.btnset a:hover {
  /*    color: rgb(44, 40, 1);*/
  color: #fff;
  border: 3px solid #ffd392;
  background-color: #ff5900;
  box-shadow: 0 2px #9e3700;
} /*來去逛逛滑鼠移入*/

@media (max-width: 991px) {
  .btnset {
    font-size: 14px;
  }
}

@media (max-width: 425px) {
  .btnset {
    font-size: 12px;
  }
}

.nocarslideinnBox01 {
  background-color: #084b7d;
  padding: 10px;
}

/* 原價特價折疊控制 打開變1列 關掉變2列 */
.productSetprice .priceBox {
  flex-direction: row !important;
}

/* logo區圖片大小控制 */
.logooutbox .logoinn {
  flex-basis: 11%;
}

/* 其他東西自己寫這↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ */

.squarepppinfoinn-box.pppinfobox {
  background: #075f9e;
  text-decoration: none;
  color: #fff;
}

/* 斷點區 */

@media screen and (max-width: 1659px) {
}
@media screen and (max-width: 1399px) {
}
@media screen and (max-width: 1199px) {
}

@media screen and (max-width: 991px) {
}

@media screen and (max-width: 767px) {
  .actablebox {
    font-size: 14px;
  }
  .actablebox th.table-title {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 640px) {
  .logooutbox .logoinn {
    flex-basis: 24%;
  }
}

@media screen and (max-width: 480px) {
}

/* 特效 */
/* 硬幣飛 */
.flyCoins {
  z-index: -1;
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  overflow: hidden;
  background-repeat: repeat;
  background-position: center top;
  background-size: 2200px;
  background-image: url(../images/decoall.png);
}

.flyLeft {
  z-index: 9;
  position: fixed;
  pointer-events: none;
  width: 25vw;
  top: 58vh;
  left: -10vw;
}

.flyRight {
  z-index: 9;
  position: fixed;
  pointer-events: none;
  width: 25vw;
  top: 20vh;
  right: -10vw;
}

@media (max-width: 767px) {
  .flyCoins {
    z-index: -1;
    background-size: 250vw;
    height: 110%;
    background-image: url(../images/decoall.png);
  }
}

/* 滑鼠視差 */
.mouseParallax {
  position: fixed;
  width: 100vw;
  height: 100vh;
  bottom: -50vh;
  left: 0;
  background: #7f7f7f29;
}

.cloud {
  position: absolute;
  top: 0;
  bottom: 0;
  width: auto;
  height: auto;
  z-index: 999;
  opacity: 0.8;
}

/* KV */
#kvTopBN {
  position: relative;
}

.kvtt {
  position: absolute;
  width: 55%;
  max-width: 55%;
  top: 41%;
  left: 50%;
  transform: translate(-50%,-50%);
  animation: titleShine 2s ease-in-out 1s infinite alternate both;
}

@keyframes titleShine {
  0% {
    filter: brightness(1);
  }
  12.5% {
    filter: brightness(1.1);
  }
  20% {
    filter: brightness(0.98);
  }
  25% {
    filter: brightness(1.12);
  }
  26% {
    filter: brightness(1);
  }
  100% {
    filter: brightness(1);
  }
}

/* .kvtt .kvttShine {
  position: absolute;
  width: 100%;
  max-width: 100%;
  mix-blend-mode: screen;
}

.kvtt .kvttShine.kvttShine01 {
  top: 0;
  left: 0;
}

.kvtt .kvttShine.kvttShine02 {
  bottom: 0%;
  right: 0;
} */

.kvpm {
  position: absolute;
  width: 83.333%;
  max-width: 83.333%;
  top: 77%;
  left: 50%;
  transform: translate(-50%,-50%);
  overflow: hidden;
}

.kvpm .kvpmShine {
  position: absolute;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  mix-blend-mode: screen;
  filter: blur(3px) brightness(150%);
}

.kvpm .kvpmShine.kvpmShine01 {
  top: 2.5%;
  left: 0;
  animation: showUp 1s ease-in-out 2s 1 backwards, fastMove 2s ease-in-out 3s infinite alternate-reverse backwards;
}

.kvpm .kvpmShine.kvpmShine02 {
  bottom: 2%;
  right: 0;
  animation: showUp 1s ease-in-out 2s 1 backwards, fastMove02 2s ease-in-out 3s infinite alternate backwards;
}

@keyframes showUp {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fastMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(30%);
    opacity: 0;
  }
}

@keyframes fastMove02 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-30%);
    opacity: 0;
  }
}

.kvdeco {
  pointer-events: none;
  position: absolute;
  z-index: 9;
}

.kvdeco.decoCube {
  width: 100%;
  max-width: 100%;
  top: 0;
  left: 0;
}

.kvdeco.decoCoupon01 {
  width: 12.63%;
  max-width: 12.63%;
  top: 20%;
  right: 8%;
  animation: moveUpDown 1s ease-in-out -2s infinite alternate both;
}

.kvdeco.decoCoupon02 {
  width: 12.63%;
  max-width: 12.63%;
  top: 40%;
  left: 7%;
  animation: moveUpDown 1s ease-in-out -1s infinite alternate both;
}

@keyframes moveUpDown {
  0% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(-5px);
  }
}

@media (max-width: 767px) {
  .kvtt {
    position: absolute;
    width: 88vw;
    max-width: 88vw;
    top: 42.5%;
    left: 50%;
    transform: translate(-50%,-50%);
    animation: titleShine 2s ease-in-out 1s infinite alternate both;
  }
  
  .kvpm {
    position: absolute;
    width: 125vw;
    max-width: 125vw;
    top: 68%;
    left: 50%;
    transform: translate(-50%,-50%);
    overflow: hidden;
  }
  
  
  .kvdeco.decoCube {
    width: 100%;
    max-width: 100%;
    top: 0;
    left: 0;
  }
  
  .kvdeco.decoCoupon01 {
    width: 20vw;
    max-width: 20vw;
    top: 3%;
    right: 65vw;
    animation: moveUpDown 1s ease-in-out -2s infinite alternate both;
  }
  
  .kvdeco.decoCoupon02 {
    width: 22vw;
    max-width: 22vw;
    top: 75%;
    left: 65vw;
    animation: moveUpDown 1s ease-in-out -1s infinite alternate both;
  }
}

/* information */
.infoContainer {
  background: linear-gradient(to bottom, #ff0000, #bd003b);
  border-radius: 24px;
  filter: drop-shadow(0 12px 0 #740000);
  padding: 20px 0;
}

@media (max-width: 767px) {
  .infoContainer {
    background: linear-gradient(to bottom, #ff0000, #bd003b);
    border-radius: 0;
    filter: drop-shadow(0 8px 0 #740000);
    padding: 40px 0;
  }
}

/* 活動辦法 */
section#method li {
  text-shadow: 0 1px 2px #fff;

}

section#method a {
  color: #ff5900;
}

section#method a:hover {
  background: #ff5900;
  color: #fff;
  padding: 0 5px;
  border-radius: 24px;
}

.method-title {
  background: #ff5900;
  padding: 5px 8px 5px;
  border-radius: 8px;
  color: #fff;
  margin-top: 10px;
}

.method-mid-title {
  padding: 3px 8px 3px;
  margin-top: 5px;
}