/*========experience.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;
    position: relative; 
}

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;}

/* ----漢堡選單---- */

/* 隱藏選擇框 */
#menu-toggle {
    display: none;
}

/* 漢堡選單 */
.menu-icon {
    font-size: 30px;
    cursor: pointer;
    padding: 0 15px;
    line-height: 50px;
    color: rgb(21, 192, 183);
    position: absolute;
    right: 5vw;
    top: 0;
}

/* 選單預設不顯示 */
.nav-links {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50px;
    right: 0;
    background-color: bisque;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* 點開選單 */
#menu-toggle:checked + .menu-icon + .nav-links {
    display: flex;
}

/* 手機 */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        width: 200px;
    }

    .nav-links li {
        padding: 10px;
        text-align: center;
        border-bottom: 1px solid #eee;
    }
}

/* 桌機 */
@media (min-width: 769px) {
    .nav-links {
        flex-direction: row;
        gap: 2rem;
        padding: 10px 20px;
    }

    .nav-links li {
        padding: 0;
    }
}

/*以上內容為標題樣式 有改動全部都要重新貼過去*/

/*--公佈欄--*/
.announcement-board {
    height: 1000px;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 10px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.board-title {
    vertical-align: top;
    text-align: center;
    font-size: 20px;
    font-weight: normal;
}

