*{
    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;
}
/*h1{
    color:white;
    position: absolute;
    left:120px;
    top:0;
    line-height: 80px;
    background-image: url(images/mita2.JPEG);
    background-repeat: no-repeat;
    background-position: center;
    width: 400px;
    text-indent: -9999px;
}*/
.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;
    font-size: 400px;
}
header a:hover{
    text-decoration: underline ;
}
.news{
    background-color: antiquewhite;
    color: white;
    height:95vh;
    background-image: url(images/labubu.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.news h2{
    font-size: 80px;
    margin-top: 60px;
}
.news p{
    color: #111010;
    font-size: 30px;
    margin: 25px 0;
}
.news a{
    color: white;
    text-decoration: none;
    border: 2px solid white;
    padding: 10px 20px;
    border-radius: 5px;
}
.slogan{
    background-color: cornflowerblue;
    color: white;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    line-height: 1.8em;
}
footer{
    background-color: black;
    color: #b7b7b7;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-family:sans-serif;
}
.shop{
    display: flex;
}
.shop img{
    width:50%;
}
.info{
    width:50%;
    background-color: white;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.info h2{
    font-size: 40px;
    margin-bottom: 30px;
}
.info p{
    text-align: center;
    line-height: 2em;
    font-size: 30px;
}
.product{
    display: flex;
    background-color:aquamarine;
    justify-content: space-between;
    align-items: center;
    padding: 100px 180px 80px;
}
.product div{
    width: 300px;
    text-align: center;
}
.product img{
    width: 100%;
    border-radius: 10px;
}
.product h3{
    font-size: 20px;
    margin: 20px 0;
}
.product p{
    font-size: 14px;
    line-height: 1.6em;
}
.newsletter{
    background-color: #485652;
    color: white;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.newsletter p{
    margin-bottom: 20px;
}
.newsletter input,.newsletter button{
    background-color: transparent;
    color: white;
    border: 1px solid #949d9a;
    padding: 10px;
    border-radius: 5px;
}
.newsletter input{
    width: 200px;
    margin-right: 15px;
}
.newsletter button{
    width: 130px;
    cursor: pointer;
}
input::placeholder{
    color: #DDDDDD;
}
/*input:focus{
    outline:none;
}*/
.menu{
    display: none;
}
@media screen and (max-width:768px) {   
    header ul{
        display: none;
    } 
    .logo-link{
        left: 50%;
        transform: translateX(-50%);
    }
    .news h2{
        font-size: 35px;
    }
    .menu{
        display: block;
        background-color: transparent;
        color: white;
        font-size: 35px;
        position: absolute;
        top:15px;
        left:20px;
        border:none;
        cursor: pointer;
    }
    .shop{
        flex-direction: column;
    }
    .shop img{
        width: 100%;
    }
    .info{
        width:100%;
        padding: 40px 0;
    }
    .info h2{
        font-size: 30px;
    }
    .product{
        flex-direction: column;
        padding: 60px 0;
    }
    .product div{
        margin-bottom: 30px;
    }
} 