/* 當你想為某一個區塊或方塊，增加背景，請在該區塊/方塊上增加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) no-repeat top center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

main {
    background-image: url(../images/kv-bg.png);
    background-size: 2400px;
    overflow: hidden;
    background-position: top center;
    background-repeat: no-repeat;
}

@media screen and (max-width: 767px) {
    main {
        background-image: url(../images/kv-bg-mb.png);
        background-size: contain;
        overflow: hidden;
        background-position: top center;
        background-repeat: no-repeat;
    }
}


/* 按鈕顏色 */
.btnset a {
    color: #59158f;
    border: 3px solid #731abb;
    background-color: #fff;
    box-shadow: 0px 5px #731abb;
    line-height: 1.2;
}

@media screen and (max-width: 767px) {
    .btnset a {
        font-size: 1.4rem;
        margin: 1px;
    }
}

.btnset a:hover {
    color: #fff;
    border: 3px solid #40076e;
    background-color: #59158f;
    box-shadow: 0px 5px #40076e;
}

/*來去逛逛滑鼠移入*/

.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 */
.sec-title {
    margin-bottom: -15px;
    z-index: 50;
    position: relative;
}

.cardBorder {
    box-sizing: border-box;
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 0.5);
}

@media screen and (max-width: 767px) {
    .dMdNone {
        display: none;
    }
}

.z51{
    z-index: 51;
}

/* KV */
#kvTopBN{
    position: relative;
}
.kv-left {
    background-image: url(../images/kv-spotlight1.png);
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
}

.kv-right {
    background-image: url(../images/kv-spotlight2.png);
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
}


/* sec01 */
.sec01-product {
    background-image: url(../images/sec01-product-bg.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.sec01-card {
    border: #ffd2ff 7px solid;
}

@media screen and (max-width: 767px) {
    .sec01-card {
        border: #ffd2ff 5px solid;
    }
}

/* sec02 */
@media screen and (max-width: 767px) {
    #sec02 {
        padding-bottom: -17px;
    }
}

.sec02-product {
    background-image: url(../images/sec02-product-bg.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.sec02-card {
    border: #ff7070 7px solid;
}

@media screen and (max-width: 767px) {
    .sec02-card {
        margin-top: -17px;
        border: #ff7070 5px solid;
    }
}

#sec02 .swiper-container-horizontal>.swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: 5px;
}

/* sec04 */
.sec04-product {
    background-image: url(../images/sec04-product-bg.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.sec04-card {
    border: #002a8e 7px solid;
}

@media screen and (max-width: 767px) {
    .sec04-card {
        border: #002a8e 5px solid;
    }
}

/* sec05 */
.sec05-product {
    background-image: url(../images/sec05-product-bg.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.sec05-card {
    border: #fdbf5b 7px solid;
}

@media screen and (max-width: 767px) {
    .sec05-card {
        border: #fdbf5b 5px solid;
    }
}

/* method */
section#method a{
    color: red;
    transition: all 0.35s;
}
section#method a:hover {
    background: red;
    border-radius: 99px;
    color: white;
}

/* 斷點區 */

@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) {}


/* 動畫 */
@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;
}


/* 左右 */
.wobble-hor-bottom-2 {
    -webkit-animation: wobble-hor-bottom-2 5s cubic-bezier(.25, .46, .45, .94) infinite both;
    animation: wobble-hor-bottom-2 5s cubic-bezier(.25, .46, .45, .94) infinite both
}

@-webkit-keyframes wobble-hor-bottom-2 {

    0%,
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%
    }

    15% {
        -webkit-transform: translateX(-30px) rotate(-6deg);
        transform: translateX(-30px) rotate(-6deg)
    }

    30% {
        -webkit-transform: translateX(15px) rotate(6deg);
        transform: translateX(15px) rotate(6deg)
    }

    45% {
        -webkit-transform: translateX(-15px) rotate(-3.6deg);
        transform: translateX(-15px) rotate(-3.6deg)
    }

    60% {
        -webkit-transform: translateX(9px) rotate(2.4deg);
        transform: translateX(9px) rotate(2.4deg)
    }

    75% {
        -webkit-transform: translateX(-6px) rotate(-1.2deg);
        transform: translateX(-6px) rotate(-1.2deg)
    }
}

@keyframes wobble-hor-bottom-2 {

    0%,
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%
    }

    15% {
        -webkit-transform: translateX(-30px) rotate(-6deg);
        transform: translateX(-30px) rotate(-6deg)
    }

    30% {
        -webkit-transform: translateX(15px) rotate(6deg);
        transform: translateX(15px) rotate(6deg)
    }

    45% {
        -webkit-transform: translateX(-15px) rotate(-3.6deg);
        transform: translateX(-15px) rotate(-3.6deg)
    }

    60% {
        -webkit-transform: translateX(9px) rotate(2.4deg);
        transform: translateX(9px) rotate(2.4deg)
    }

    75% {
        -webkit-transform: translateX(-6px) rotate(-1.2deg);
        transform: translateX(-6px) rotate(-1.2deg)
    }
}


#canvascontainer {
    box-sizing: border-box;
    width: 100%;
    height: 400px;
    position: absolute;
    z-index: 50;
}

#canvascontainer canvas {
    box-sizing: border-box;
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-transform3d: translate(0, 0, 0);
    -moz-transform3d: translate(0, 0, 0);
    transform3d: translate(0, 0, 0);
}