/* 當你想為某一個區塊或方塊，增加背景，請在該區塊/方塊上增加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 {
  background-image: url(../images/bg01.png);
  background-color: #f8f4e8;
  background-position: center;
  background-size: 2150px;
}

main {
  background-image: url(../images/topBn_bgrepeat.webp);
  background-size: 100% 100%;
  background-position: top center;
  position: relative;
  background-repeat: repeat-x;
}

#kvTopBN {
  position: relative;
  background: url("../images/kv0910.png");
  background-position: center top;
}

#kvTopBN .kvtt {
  position: absolute;
  top: -0.5%;
  left: 0%;
  z-index: 99;
  -webkit-animation: upDown 3s ease-in-out -1s infinite both;
  animation: upDown 3s ease-in-out -1s infinite both;
}

/* #kvTopBN .kvtt img {
  width: 100%;
  max-width: 100%;
} */

@-webkit-keyframes upDown {
  0% {
    transform: translateY(-2%);
  }

  50% {
    transform: translateY(2%);
  }

  100% {
    transform: translateY(-2%);
  }
}

@keyframes upDown {
  0% {
    transform: translateY(-2%);
  }

  50% {
    transform: translateY(2%);
  }

  100% {
    transform: translateY(-2%);
  }
}

@media (max-width: 767px) {
  #kvTopBN {
    position: relative;
    background: none;
    background-position: center top;
  }
  #kvTopBN .kvtt {
    position: absolute;
    top: 0%;
    left: 0%;
    /* width: 80%;
    max-width: 80%; */
    z-index: 99;
    -webkit-animation: upDown 3s ease-in-out -1s infinite both;
    animation: upDown 3s ease-in-out -1s infinite both;
  }
}

.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: #ca9f37;
  border: 3px solid #be0602;
  background-color: #fff;
  box-shadow: 3px 5px #880f0f;
  line-height: 1.2;
} /*來去逛逛*/

.btnset a:hover {
  /*    color: rgb(44, 40, 1);*/
  color: #fff;
  border: 3px solid #ffd392;
  background-color: #ca141d;
  box-shadow: 3px 5px #8d6e40;
} /*來去逛逛滑鼠移入*/

.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: 9;
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: repeat-y;
  background-position: center top;
  background-size: 1450px;
  background-image: url(../images/coins.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: 9;
    background: unset;
  }
}

/* for this page */
#sectioneatender {
  margin-top: -45px;
}

.eatenderInner {
  border: 5px solid #62c0b4;
  border-radius: 30px;
  -webkit-filter: drop-shadow(0 8px 1px #bc880377);
  filter: drop-shadow(0 8px 1px #bc880377);
  background: url("../images/bgeat.png");
  background-color: #f7fffe;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
  padding: 25px 0 150px;
}
.eatenderInner.upgrade {
  border: 5px solid #62c0b4;
  border-radius: 30px;
  -webkit-filter: drop-shadow(0 8px 1px #bc880377);
  filter: drop-shadow(0 8px 1px #bc880377);
  background: url("../images/salesbg.png");
  background-color: #f7fffe;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
  padding: 15px;
}

@media (max-width: 767px) {
  #sectioneatender {
    margin-top: -50px;
  }

  .eatenderInner {
    border: 4px solid #62c0b4;
    border-radius: 20px;
    -webkit-filter: drop-shadow(0 5px 1px #bc880377);
    filter: drop-shadow(0 5px 1px #bc880377);
    background: url("../images/bgeatm.png");
    background-color: #f7fffe;
    background-repeat: no-repeat;
    background-size: 100vw;
    background-position: center bottom;
    padding: 15px 0 100px;
  }
}

#sectionads img {
  -webkit-filter: drop-shadow(0 6px 5px #9d710197);
  filter: drop-shadow(0 6px 5px #9d710197);
}

@media (max-width: 767px) {
  #sectionads img {
    -webkit-filter: drop-shadow(0 2px 4px #9d7101c3);
    filter: drop-shadow(0 2px 4px #9d7101c3);
  }
}

.ppadding .secslide {
  height: 90%;
  margin-top: 30px;
  border-radius: 30px;
  overflow: hidden;
  -webkit-filter: drop-shadow(0 6px 1px #bc880377);
  filter: drop-shadow(0 6px 1px #bc880377);
  border-width: 5px;
  border-style: solid;
}

.ppadding .secslide.secslide01 {
  border-color: #000000;
}

.ppadding .secslide.secslide02 {
  border-color: #0067b2;
}

.ppadding .secslide.secslide03 {
  border-color: #ff6600;
}

.ppadding .secslide.secslide04 {
  border-color: #75b643;
}

@media (max-width: 767px) {
  .ppadding .secslide {
    height: 90%;
    margin-top: 30px;
    border-radius: 20px;
    overflow: hidden;
    -webkit-filter: drop-shadow(0 4px 1px #bc880377);
    filter: drop-shadow(0 4px 1px #bc880377);
    border-width: 4px;
  }
}

@media (max-width: 767px) {
  #sectionfeature .container {
    padding-left: 0;
  }
}
