/* 當你想為某一個區塊或方塊，增加背景，請在該區塊/方塊上增加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/body_bg.jpg);
    background-color: #ed491d;
    background-position: top center;
    background-size: 2000px;
    background-attachment: fixed;
}

.kvbg {
    background-image: url(../images/kvbg.png);
    background-position: top center;
    background-repeat: no-repeat;
}

.title-deco-4{
    top: 50%;
    left: 30%;
}

.title-deco-3{
    top: 50%;
    right: 20%;
}



.sec-bg{
    background-image: url(../images/sec-bg.png);
    background-position: top center;
    background-repeat: repeat-y;
    background-size: 1140px;
}



.sec03top-bg{
    background-image: url(../images/sec03top-bg.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
    top: -2%; 
    left: 0%;
}

.sec03-bg{
    background-image: url(../images/sec03-bodybg.png);
    background-position: center;
    background-repeat: repeat-y;
    background-size: contain;
}

.sec03bottom-bg{
    background-image: url(../images/sec03-bottombg.png);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: contain;
    bottom: -2%; 
    left: 0%;
}

.sec02top-bg{
    background-image: url(../images/sec02top-bg.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
    top: -2%;
    left: 0%;
}

.sec02-bg{
    background-image: url(../images/sec02-bodybg.png);
    background-position: center;
    background-repeat: repeat-y;
    background-size: contain;
}

.sec02bottom-bg{
    background-image: url(../images/sec02-bottombg.png);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: contain;
    bottom: -5%;
    left: 0%;
}

main {
    overflow: hidden;
    position: relative;
}


/* 按鈕顏色 */
.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-pagination.qq.swiper-pagination-clickable.swiper-pagination-bullets {
    bottom: 100px;
}

/* .swiper-container-3d .swiper-slide-shadow-left, .swiper-container-3d .swiper-slide-shadow-right{
    background-image: none;
} */

/* 其他東西自己寫這↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ */
.timer {
    background-color: #333;
    color: #fff000;
    font-size: 4rem;
    border-radius: 1rem;
    line-height: normal;
}

.timer-text {
    font-size: 2rem;
    line-height: normal;
}

.kv-deco {
    max-width: 300px;
    object-fit: contain;
}


.squarepppinfoinn-box.pppinfobox {
    background: #075F9E;
    text-decoration: none;
    color: #fff;
}

.mar-less {
    margin-top: -20px;
}

section#method a {
    margin: 0 3px;
    color: #fffd3f;
    padding: 0 5px;
}

section#method a:hover {
    color: #ca141d;
    background-color: #fffd3f;
    text-shadow: none;
    border-radius: 30px;
}

.btnset a {
    color: #56441b;
    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 #fffd3f;
    background-color: #CA141D;
    box-shadow: 3px 5px #8d6e40;
}

@keyframes teeter3 {

    0% {
        -webkit-filter: brightness(1);
    }

    3% {
        -webkit-filter: brightness(2);
    }

    10% {
        -webkit-filter: brightness(1);
    }

    97% {
        -webkit-filter: brightness(1);
    }

    100% {
        -webkit-filter: brightness(2);
    }
}

.animation_light {
    animation: teeter3 .5s infinite alternate;
}

.floating-box {
    -webkit-animation: baloon_1 3s infinite;
    -moz-animation: baloon_1 3s infinite;
    -ms-animation: baloon_1 3s infinite;
    -o-animation: baloon_1 3s infinite;
    animation: baloon_1 3s infinite;
    -webkit-animation-direction: alternate;
    -moz-animation-direction: alternate;
    -ms-animation-direction: alternate;
    -o-animation-direction: alternate;
    animation-direction: alternate;
}

.floating-box-2 {
    -webkit-animation: baloon_2 3s infinite;
    -moz-animation: baloon_2 3s infinite;
    -ms-animation: baloon_2 3s infinite;
    -o-animation: baloon_2 3s infinite;
    animation: baloon_2 3s infinite;
    -webkit-animation-direction: alternate;
    -moz-animation-direction: alternate;
    -ms-animation-direction: alternate;
    -o-animation-direction: alternate;
    animation-direction: alternate;
}

@keyframes baloon_1 {

    0% {
        transform: translateY(-20px);
    }

    50% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(-20px);
    }

}

@keyframes baloon_2 {

    0% {
        transform: translateY(20px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(20px);
    }

}

section#method a {
    margin: 0 3px;
    color: #fff;
    padding: 0 5px;
    background-color: #a600a4;
    border-radius: 30px;
}

section#method {
    background-image: url(../images/footer_bg.png);
    background-size: cover;
    background-position: top center;
    /* background-attachment: fixed; */
    background-repeat: no-repeat;
}


/* 斷點區 */

@media screen and (max-width: 1659px) {}

@media screen and (max-width: 1399px) {
            .title-deco-4{
    top: 20%;
    left: 10%;
}

.title-deco-3{
    top: 50%;
    right: 0%;
}

}

@media screen and (max-width: 1199px) {

    .sec02top-bg{
        top: 0%;
        left: 0%;
    }

    .sec03top-bg{
        top: 0%; 
        left: 0%;
    }
}

@media screen and (max-width: 991px) {
    body {
        background-image: url(../images/body_bg-mb.png);
        background-size: cover;
        background-attachment: fixed;
    }


    .sec02top-bg{
        top: 5%;
        left: 0%;
    }

    .sec03top-bg{
        top: 3%; 
        left: 0%;
    }


    section#method {
        background-image: url(../images/footer_bg-mb.png);
    }
}

@media screen and (max-width: 767px) {

    .kvbg {
        background-image: url(../images/kvbg-mb.png);
        background-position: top center;
        background-repeat: no-repeat;
    }

    .title-deco-4{
        top: 20%;
        left: 0%;
    }

    .title-deco-3{
        top: 40%;
        right: 0%;
    }

    .sec02top-bg{
        top: 3%;
        left: 0%;
    }

    .sec02bottom-bg{
        bottom: -1%;
        left: 0%;
    }

    .sec03top-bg{
        top: 2%; 
        left: 0%;
    }

    .sec03bottom-bg{
        bottom: -1%; 
        left: 0%;
    }

    .actablebox {
        font-size: 14px;
    }

    .actablebox th.table-title {
        font-size: 1.2rem;
    }

    .visualBox {
        background-image: none;
    }

    .mar-less-mb {
        margin-top: -20px;
    }

    .swiper-pagination.qq.swiper-pagination-clickable.swiper-pagination-bullets {
        bottom: 0px !important;
    }

    .card-bg {
        background-image: url(../images/box-bgmb.png);
        background-position: top center;
        background-size: 100%;
        background-repeat: no-repeat;
        margin-top: -45px;
        padding: 40px 20px 15px;
    }

    footer {
        padding-bottom: 15px;
    }

    .timer {
        font-size: 2.5rem;
    }

    .timer-text {
        font-size: 1rem;
    }

}

@media screen and (max-width: 640px) {
    .logooutbox .logoinn {
        flex-basis: 24%;
    }
}

@media screen and (max-width: 480px) {
    .sec03bg-table{
        transform: translate(-0.25rem , 1rem);
    }
}


/* for 倒計時 */

.countdownbox {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


@media screen and (max-width: 767px) {
    /* .countdownbox {
        padding: 0 35px;
    } */
}

#countdown {
    display: flex;
    justify-content: center;
    align-items: center;
}

.countdownbox h2 {
    color: rgb(0, 0, 0);
    font-size: 1.625rem;
    font-weight: bold;
    text-align: center;
    font-family: "Noto Sans", sans-serif;
}

.countdownbox h3 {
    color: rgb(0, 0, 0);
    font-size: 1.225rem;
    font-weight: bold;
    text-align: center;
    font-family: "Noto Sans", sans-serif;/
}


.countdownbox .timeBox {
    background-color: black;
    color: white;
    border-radius: 10px;
    padding: 7px;
}


.kvcountdown {
    font-size: 1.625rem;
    line-height: 2.5rem;
    text-align: center;
    font-weight: bold;
    font-family: "Noto Sans", sans-serif;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 10px;
}

.kvcountdown p {
    padding-right: 10px;
}

#endCountdown {
    line-height: 7rem;
    display: flex;
    justify-content: center;
    font-size: 5rem;
    color: red;
}

@media screen and (max-width: 767px) {
    #endCountdown {
        font-size: 4rem;
    }

    .countdownbox .timeBox {
        border-radius: 5px;
        padding: 5px;
    }

    .kvcountdown {
        font-size: 1.125rem;
        line-height: 1.7rem;
    }

    .kvcountdown p {
        padding-right: 6px;
    }

    .countdownbox h2 {
        font-size: 1rem;
        margin: -15px 0 0 0;
    }

    .countdownbox h3 {
        font-size: 0.9rem;
        margin: 0;
    }
}

