*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


header  {
    background-color: #061b1d;
    width: 100%;
    height: 80px;
    position: fixed;
}
header h1 {
    color:rgb(255, 255, 255);
    /* position: absolute; */
    left: 5px;
    top: 0;
    line-height: 80px;
}
header ul {
    position: absolute;
    right:5vw;
    top: 0;
    line-height: 80px;
}
header li {
    display: inline;
    margin-left: 4vw;
    font-size: 17px;
}
header a {
    color: rgb(255, 255, 255);
    text-decoration: none;
}
header a:hover {
    text-decoration: underline;
}
footer{
    /* background-color: rgb(32, 32, 32); */
    color: rgb(133, 133, 133);
    height: 30px;
    /* display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.8em; */
    font-size: 10px;
    position: fixed;
    left:40%;
    bottom: 0px;

}
.photo-button {
    cursor: pointer;
    width: 80px;
    height: 80px;
}
.photo-button-link {
    margin-right: 10px;
    display: inline-block; /* 确保 a 标签应用 margin */
}

body{
    background-image: linear-gradient(120deg, #ffa288d2 0%, #ff9dbd 100%) ;
    height: 100vh;
}


.image-container {
    position: fixed;
    left: -6px;
    bottom: 0;
    /* 确保容器不会影响其他元素布局 */
    z-index: 999; 
}

#m-image {
    position: relative; /* 假设添加相对定位，如果父容器是相对定位，子元素也可使用绝对定位 */
    bottom: -24px; /* 向下移动 20px，可根据需求调整该值 */
    display: block;
    /* 可根据实际情况调整图片大小 */
    width: auto; 
    height: auto;
}

#y-image {
    position: absolute;
    /* 这里需要根据 m.png 中眼睛的实际位置调整 */
    left: 128px; 
    bottom: 25px; 
    /* 可根据实际情况调整图片大小 */
    width: auto; 
    height: auto;
}
#y-image2 {
    position: absolute;
    /* 这里需要根据 m.png 中眼睛的实际位置调整 */
    left: 260px; 
    bottom: 20px; 
    /* 可根据实际情况调整图片大小 */
    width: auto; 
    height: auto;
}
#y-image, #y-image2 {
    position: absolute;
    width: auto; 
    height: auto;
} 


#poem-display {
    position: fixed;
    right: 60px;
    bottom: 30px;
    width: 300px;
    height: auto;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: 'Times New Roman', serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* 手机设备样式 */
#poem-display.mobile {
    left: 50px;
    right: auto;
    bottom: 200px; /* 左下角向上偏移 100px，原来 20px 加上 100px */
}


#time-display {
    display: none; /* 默认隐藏，后续根据设备类型显示 */
    position: fixed;
    left:10px;
    bottom: 200px; /* 左下角偏上 300px，加上默认的 20px 边距 */
    padding: 15px;
    background-color: rgba(255, 176, 176, 0.9);
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(187, 36, 36, 0.1);
    font-family: Arial, sans-serif;
    font-size: 20px;
    color: rgb(82, 80, 80);
}


