/* 全局样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F5A6BE;
    /* 与header/footer背景色更接近的粉色 */
    color: #333;
    /* 深色文字 */
    position: relative;
    /* 使footer能够相对于body定位 */
    min-height: 100vh;
    /* 确保body至少占满整个视口高度 */
    display: flex;
    flex-direction: column;
}

/* Header 和 Footer 样式 */
header,
footer {
    background-color: #F5A6BE;
    /* 粉色背景 */
    color: #fff;
    /* 白色文字 */
    padding: 10px 20px;
    text-align: center;
}

header nav ul {
    list-style: none;
    padding: 0;
}

header nav ul li {
    display: inline;
    margin: 0 10px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

header nav ul li a:hover {
    text-decoration: underline;
}

/* Main 和 Section 样式 */
main {
    flex: 1;
    /* 主内容区域占据剩余空间 */
    padding: 20px;
    background-color: #FCE4EC;
    /* 稍浅的粉色背景 */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

section {
    background-color: #FADBD8;
    /* 更浅的粉色背景 */
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* 标题样式 */
h1,
h2 {
    color: #333;
    /* 深色文字 */
}

/* Footer 样式 */
footer {
    margin-top: auto;
    /* 确保footer始终在底部 */
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
}

footer p {
    font-size: 0.8em;
}

a {
    color: darkgreen;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

span.stress {
    font-weight: bold;
    color: #c40;
}

ul, ol {
    list-style: none; 
}

li {
    text-decoration: none;
}