*{
    padding: 0;
    margin: 0;
}
header{
    background-color:rgb(32, 26, 19);
    height:80px;
    width:100%;
    position:fixed;
}
header ul{
    position: absolute;
    right: 5vw;
    top:0;
    line-height: 80px;
}
.logo-link h1 {
    /* 圖片設定 */
    background-image: url('images/mita2.JPEG'); /* 替換為您的圖片路徑 */
    background-size: 80px; /* 確保圖片完整顯示 */
    background-repeat: no-repeat; /* 不重複圖片 */
    background-position: center; /* 圖片位置 */

    /* 確保 h1 元素有足夠的大小讓使用者點擊 */
    width: 80px; /* 根據 Logo 寬度設定 */
    height: 80px; /* 根據 Logo 高度設定 */

    /* 隱藏 h1 標題文字，只顯示背景圖片 */
    text-indent: -9999px; /* 將文字移出可視範圍 */
    overflow: hidden; /* 隱藏溢出的文字 */
}

/* 確保整個連結區域都可以點擊 */
.logo-link {
    display: block; /* 讓連結佔據一整行 */
    width: 80px; /* 確保與 h1 寬度一致 */
    height: 80px; /* 確保與 h1 高度一致 */
    position: absolute;
    left: 120px;
}
header li{
    display: inline;
    margin-right: 4vw;
}
header a{
    color: white;
    text-decoration: none;
}
header a:hover{
    text-decoration: underline ;
}
.yoyo{
    background-color: antiquewhite;
    color: white;
    height:95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.yoyo h2{
    font-size: 400px;
    margin-top: 60px;
}
.menu{
    display: none;
}
.jb{
    display: flex;
    flex-direction: column;
    background-color:aquamarine;
    justify-content: space-between;
    align-items: center;
    padding: 100px 180px 80px;
}
.jp h2{
    font-size: 40px;
    margin: 40px;
    top: 30;
}
@media screen and (max-width:768px) {   
    header ul{
        display: none;
    } 
    .logo-link{
        left: 50%;
        transform: translateX(-50%);
    }
    .menu{
        display: block;
        background-color: transparent;
        color: white;
        font-size: 35px;
        position: absolute;
        top:15px;
        left:20px;
        border:none;
        cursor: pointer;
    }
}