/* 當你想為某一個區塊或方塊，增加背景，請在該區塊/方塊上增加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:before {
    content: "";
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background: url(../images/bg.jpg) repeat top center;
    -webkit-background-size: 2400px;
    -moz-background-size: 2400px;
    -o-background-size: 2400px;
    background-size: 2400px;
}


@media screen and (max-width: 767px) {
    body:before {
        content: "";
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: -10;
        background: url(../images/bg.jpg) repeat top center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

}

/* main {
    background-image: url(../images/topBn_bgrepeat.webp);
    background-size: 100% 100%;
    overflow: hidden;
    background-position: top center;
    position: relative;
    background-repeat: repeat-x;
} */


/* 按鈕顏色 */
.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%;
}

.swiperCover .swiper-slide-next,
.swiperCover .swiper-slide-last {
    opacity: .5;
}

/* .swiper-container-3d .swiper-slide-shadow-left, .swiper-container-3d .swiper-slide-shadow-right{
    background-image: none;
} */

/* 其他東西自己寫這↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ */


.squarepppinfoinn-box.pppinfobox {
    background: #075F9E;
    text-decoration: none;
    color: #fff;
}

/* all */
.secCardBg {
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-width: 5px;
    border-style: solid;
    border-color: #fde2b7;
    border-radius: 40px;
}



@media screen and (max-width: 767px) {
    .secCardBg {
        padding: 5px 5px;
        border-radius: 20px;
    }

    .nocarslide .productSetprice {
        margin: 1px;
    }
}

/* kvTopBN */
#kvTopBN {
    background-image: url(../images/kb-bg.png);
    background-size: 2400px;
    background-position: top center;
    background-repeat: no-repeat;
}

@media screen and (max-width: 767px) {
    #kvTopBN {
        background-image: url(../images/kb-bg-mb.png);
        background-size: cover;
        background-position: top center;
        background-repeat: no-repeat;
    }
}

/* news */
.news-tag {
    justify-content: space-evenly;
}

/* method */

section#method {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.322);
}


section#method a {
    color: #ffee00;
}

section#method a:hover {
    background: #ffee00;
    color: #680000;
    padding: 0 5px;
    border-radius: 24px;
}

section#method .watermark {
    width: 15%;
    max-width: 15%;
}

@media (max-width: 767px) {
    section#method .watermark {
        width: 30vw;
        max-width: 30vw;
    }
}





/* 斷點區 */

@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) {}


/* 動畫 */
.kvLantern {
    position: absolute;
    animation: moveUpDown 6s ease-in-out -1s infinite alternate both;
}

.lantern2 {
    animation: moveUpDown 6s ease-in-out -7s infinite alternate both;
}

@keyframes moveUpDown {

    0%,
    100% {
        transform: translateY(-20px);
    }

    25% {
        transform: translateY(0px);
    }

    75% {
        transform: translateY(-40px);
    }
}

@media (max-width: 767px) {
    @keyframes moveUpDown {

        0%,
        100% {
            transform: translateY(0);
        }

        25% {
            transform: translateY(10px);
        }

        75% {
            transform: translateY(-10px);
        }
    }
}


.hot_1 {
    -webkit-animation: baloon_1 5s infinite;
    -moz-animation: baloon_1 5s infinite;
    -ms-animation: baloon_1 5s infinite;
    -o-animation: baloon_1 5s infinite;
    animation: baloon_1 5s infinite;
    -webkit-animation-direction: alternate;
    -moz-animation-direction: alternate;
    -ms-animation-direction: alternate;
    -o-animation-direction: alternate;
    animation-direction: alternate;
}

@-webkit-keyframes baloon_1 {
    0% {
        transform: translateY(20px);
    }

    50% {
        transform: translateY(50px);
    }

    100% {
        transform: translateY(20px);
    }
}

@-moz-keyframes baloon_1 {
    0% {
        transform: translateY(20px);
    }

    50% {
        transform: translateY(50px);
    }

    100% {
        transform: translateY(20px);
    }
}

@-ms-keyframes baloon_1 {
    0% {
        transform: translateY(20px);
    }

    50% {
        transform: translateY(50px);
    }

    100% {
        transform: translateY(20px);
    }
}

@-o-keyframes baloon_1 {
    0% {
        transform: translateY(20px);
    }

    50% {
        transform: translateY(50px);
    }

    100% {
        transform: translateY(20px);
    }
}

@keyframes baloon_1 {
    0% {
        transform: translateY(20px);
    }

    50% {
        transform: translateY(50px);
    }

    100% {
        transform: translateY(20px);
    }
}

/* 閃光 */
@keyframes flashLight2 {
    0% {
        filter: brightness(1);
    }

    18% {
        filter: brightness(1);
    }

    19% {
        filter: brightness(2);
    }

    20% {
        filter: brightness(1);
    }

    21% {
        filter: brightness(2);
    }

    22% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1);
    }

    51% {
        filter: brightness(2);
    }

    52% {
        filter: brightness(1);
    }

    53% {
        filter: brightness(2);
    }

    54% {
        filter: brightness(1);
    }

    78% {
        filter: brightness(1);
    }

    80% {
        filter: brightness(2);
    }

    82% {
        filter: brightness(1);
    }

    99% {
        filter: brightness(1);
    }

}

.flashLight {
    /* mix-blend-mode: hard-light; */
    animation: flashLight2 8s infinite ease-in-out;
}