
/* 當你想為某一個區塊或方塊，增加背景，請在該區塊/方塊上增加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.webp); */
    background-color: transparent;
    background-position: center;
    background-size: 2400px;
    background-color: #00b2b3;
}

main .visualBox {
    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;
}

/* 其他東西自己寫這↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ */


.squarepppinfoinn-box.pppinfobox{
    background: #075F9E;
    text-decoration: none;
    color: #fff;
}

.visualBox {
    background-image: url(../images/topbn_bgrepeat.png);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}
.titleset{
    position: relative;
    z-index: 2;
}
.road{
    background-image: url(../images/road_bg.png);
    background-position: top center;
    background-size: auto;
    margin-top: -2%;
    padding: 2% 2% 7% 2%;
}
.papper-bg{
    background-image: url(../images/papper_bg.jpg);
    padding: 10% 15px 15px 15px;
    margin-top: -10%;
    border-radius: 100px;
    border: 3px solid #4b5557;
    -webkit-filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.2));
    filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.2))
}
.papper-bg2{
    background-image: url(../images/papper_bg.jpg);
    padding: 5% 15px 15px 15px;
    margin-top: -5%;
    border-radius: 100px;
    border: 3px solid #4b5557;
    -webkit-filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.2));
    filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.2))
}
.bikeman{
    display: block;
    position: relative;
   /* animation 參數設定 */
   animation-name: MoveToRight2;    /*動畫名稱，需與 keyframe 名稱對應*/
   animation-duration: 4s;    /*動畫持續時間，單位為秒*/
   animation-delay: 2s;    /*動畫延遲開始時間*/
   animation-iteration-count: infinite;    /*動畫次數，infinite 為無限次*/  
}

@keyframes MoveToRight2 {
    0% { left: 0; }
    25% { left: 20%; }
    50% { left: 40%; }
    75% { left: 60%; }
    100% { left: 80%; }
}
.bikewoman{
    display: block;
    position: relative;
    top: 63%;
   /* animation 參數設定 */
   animation-name: MoveToRight;    /*動畫名稱，需與 keyframe 名稱對應*/
   animation-duration: 4s;    /*動畫持續時間，單位為秒*/
   animation-delay: 2s;    /*動畫延遲開始時間*/
   animation-iteration-count: infinite;    /*動畫次數，infinite 為無限次*/  
}

@keyframes MoveToRight {
    0% { left: 0; opacity: 0;}
    25% { left: 20%; opacity: 1;}
    50% { left: 40%; opacity: 0;}
    75% { left: 60%; opacity: 0;}
    100% { left: 80%; opacity: 0;}
}
.bikeline{
    background-image: url(../images/bikeline.png);
    height: 190px;
}
.yellow{
    background-color: #f8b500;
}


/* 斷點區 */

@media screen and (max-width: 1659px){
    
}
@media screen and (max-width: 1399px){
    
}
@media screen and (max-width: 1199px){
    .visualBox {
        background-size: 155%;
    }
    .road{
        margin-top: -1%;
        
    }
}

@media screen and (max-width: 991px){
    .road{
        background-size: 180%;
        margin-top: -2%;
        
    }
    .bikeman {
        width: 30%;
        top: -0.2%;
    }

    .bikewoman {
    width: 30%;
    top: 27.5%;
    }
    @keyframes MoveToRight {
        0% { left: 0; opacity: 1;}
        25% { left: 20%; opacity: 1;}
        50% { left: 40%; opacity: 1;}
        75% { left: 60%; opacity: 1;}
        100% { left: 80%; opacity: 0;}
    }    
}

@media screen and (max-width: 767px){
    .road {
        margin-top: -8%;
        background-size: 360%;
    }
    
    .papper-bg, .papper-bg2{
        border-radius: 50px;
    }
    .bikeline {
        background-image: url(../images/bikeline.png);
        height: 130px;
        background-position: left bottom;
    }
}

@media screen and (max-width: 640px){
    .visualBox {
        background-image: url(../images/topbn_bgrepeat-mo.png);
        background-size: cover;
        background-position: top center;
        background-repeat: no-repeat;
    } 
    .bikewoman {
        width: 30%;
        top: 37.5%;
    }
}

@media screen and (max-width: 480px){

}