/* 當你想為某一個區塊或方塊，增加背景，請在該區塊/方塊上增加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/bg.jpg);
    background-position: top center;
    background-size: cover;
}

main {
    background-image: url(../images/firework.png);
    background-size: 2400px;
    overflow: hidden;
    background-position: top center;
    position: relative;
    background-repeat: repeat-y;
}

@media screen and (max-width: 767px) {
    main {
        background-image: url(../images/firework-mb.png);
        background-size: contain;
        overflow: hidden;
        background-position: top center;
        position: relative;
        background-repeat: repeat-y;
    }

}



/* 按鈕顏色 */
.btnset a {
    color: #000;
    border: 3px solid #fbde77;
    background-color: #fff;
    box-shadow: 0px 5px #fbde77;
    line-height: 1.2;
}

@media screen and (max-width: 767px) {
    .btnset a {
        font-size: 1.4rem;
        margin: 1px;
    }
}

.btnset a:hover {
    color: #000;
    border: 3px solid #ffd230;
    background-color: #fbde77;
    box-shadow: 0px 5px #ffd230;
}

/*來去逛逛滑鼠移入*/

.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 */
.card-bg {
    background-image: url(../images/card-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media screen and (max-width: 640px) {
    .card-bg {
        background-image: none;
        background-color: white;
        border: #fdf0ac 3px solid;
    }
}

@media screen and (max-width: 767px) {
    .dMdNone {
        display: none;
    }
}



/* KV */
#kvTopBN {
    background-image: url(../images/kv-bg.png);
    background-size: cover;
    background-position: center top;
    position: relative;
}

@media screen and (max-width: 767px) {
    #kvTopBN {
        background-image: url(../images/kv-bg-mb.png);
        background-size: cover;
        background-position: center top;
        position: relative;
    }

}


.title {
    position: absolute;
    display: flex;
    justify-content: center;
    z-index: 10;
    height: 100%;
}

.title img {
    height: 100%;
}


/* news */
.news3-bg {
    background-image: url(../images/news3-bg.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media screen and (max-width: 767px) {
    .news3-bg {
        background-image: url(../images/news3-bg-mb.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center top;
    }

    .news3-info{
        margin-top: -15px;
    }
}


/* sec01 */
.sec01-1 {
    background-image: url(../images/sec01-1-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sec01-2 {
    background-image: url(../images/sec01-2-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sec01-3 {
    background-image: url(../images/sec01-3-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sec01-4 {
    background-image: url(../images/sec01-4-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* sec02 */
.pp_bg {
    background-image: url(../images/sec02-bg.jpg);
    background-size: cover;
    background-position: top center;
    border-radius: 99px 99px 0 0;
    font-weight: 700;
    font-size: 2rem;
    padding: 10px 0;
    text-shadow: white 0 0 5px;
}

/* method */
#method {
    color: white;
}

section#method a {
    margin: 0 3px;
    color: #fdd978;
}

section#method a:hover {
    color: #000;
}


/* 斷點區 */

@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) {}



/* 動畫 */

.fixtop-1 {
    position: fixed;
    z-index: 15;
    pointer-events: none;
    right: calc(100% - 16%);
    width: 500px;
    top: 30px;
    animation-delay: -3s
}

.fixtop-2 {
    position: fixed;
    z-index: 15;
    pointer-events: none;
    left: calc(100% - 16%);
    width: 500px;
    top: 30px;
    animation-delay: -3s
}


@media screen and (max-width: 767px) {
    .fixtop-1 {
        display: none;
    }

    .fixtop-2 {
        display: none;
    }
}




/* 閃光 */
@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;
}



@-webkit-keyframes snow {
    0% {
        background-position: 0 0, 0 0
    }

    100% {
        background-position: 500px 500px, 1000px 500px
    }
}

@keyframes snow {
    0% {
        background-position: 0 0, 0 0
    }

    100% {
        background-position: 500px 500px, 1000px 500px
    }
}

.snowmask {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(../images/snow1.png), url(../images/snow2.png);
    -webkit-animation: 15s snow linear infinite;
    animation: 15s snow linear infinite;
    pointer-events: none;
    z-index: -1;
}