body {
    margin: 0;
    padding: 0;
    background: #fdc9d1;
    font-size: 12px;
    overflow: auto;
}

#mainDiv {
    width: 100%;
    height: 100%;
}

/* 媒体查询，针对较小的屏幕宽度应用更合适的样式 */


#loveHeart {
    width: 670px;
    height: 620px;
    position: relative;
    margin: 0 auto; /* 设置左右外边距为 auto，将元素居中 */
    margin-top: 200px;
    margin-bottom: 20px;
}

#garden {
    width: 60%;
    height: 60%;
}

#elapseClock {
    text-align: right;
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
}

#words {
    font-family: "sans-serif";
    width: 300px;
    font-size: 20px;
    color: #666;
}

#messages {
    display: none;
}

#elapseClock .digit {
    font-family: "digit";
    font-size: 36px;
}

#loveu {
    padding: 5px;
    font-size: 22px;
    margin-top: 80px;
    margin-right: 120px;
    text-align: right;
    display: none;
}

#loveu .signature {
    margin-top: 10px;
    font-size: 20px;
}

#clickSound {
    display: none;
}


#code {
    width: 670px;
    height: 670px;
    color: #333;
    font-family: "Consolas", "Monaco", "Bitstream Vera Sans Mono", "Courier New", "sans-serif";
    font-size: 12px;
    margin: 0 auto; /* 设置左右外边距为 auto，将元素居中 */
    position: relative;
}

#code .string {
    color: #2a36ff;
}

#code .keyword {
    color: #7f0055;
    font-weight: bold;
}

#code .placeholder {
    margin-left: 15px;
}

#code .space {
    margin-left: 7px;
}

#code .comments {
    color: #3f7f5f;
}

#copyright {
    margin-top: 40px;
    text-align: center;
    width: 100%;
    color: #666
}

#errorMsg {
    width: 100%;
    text-align: center;
    font-size: 24px;
    position: absolute;
    top: 100px;
    left: 0
}

#copyright a {
    color: #666
}

#likeSection {
    text-align: left;
    margin-left: 150px;
    margin-top: 20px;
    margin-bottom: 0px;
}

#likeButton {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

#likeCount {
    margin-left: 10px;
    font-size: 16px;
}
