/*========page2.css========*/
/*--重設空隙--*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif; 
}

/*--(主標題)--*/
header {
    background-color: bisque;
    text-align: left;
    color: rgb(21, 192, 183);
    height: 50px;
    width: 100% ;
    line-height: 50px;
}

header h1 a,
header h1 a:visited,
header h1 a:hover,
header h1 a:active {
    color: rgb(21, 192, 183);
    text-decoration: none;
}

a {text-decoration: none;}
a:hover {text-decoration: none;}

/*--link1~4--*/
header ul {
    position:absolute;
    right:5vw;
    top: 0;
    line-height: 50px;
}

/*--link1~4之間距--*/
header li {
    display: inline;
    margin-right: 4vw;
}

/*以上內容為標題 有改動全部都要重新貼過去*/

/*頁尾1*/
#ft01 {  
    background-color: #1eace9;
    padding: 5px 0;
    text-align: center;
    margin-bottom: 0;
    color: white;
}

/*頁尾2*/
#ft02 {
    background-color: #E91E63;
    padding: 3px 0;
    text-align: center;
    color: black;
}

/*==========================
    📱 手機版 RWD 修正
===========================*/
@media (max-width: 768px) {

    /* Header RWD */
    header {
        height: auto;
        line-height: normal;
        padding: 10px 0;
        text-align: center;
    }

    header h1 {
        margin-bottom: 10px;
    }

    header ul {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin-top: 5px;
    }

    header li {
        margin: 5px 0;
        display: block;
    }

    /* Footer */
    #ft01, #ft02 {
        font-size: 14px;
        padding: 8px 0;
        text-align: center;
        width: 100%;
        word-break: break-word;
    }
}
