body{
    background-color: #E9DFD3;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding-top: 40px;
}

#wrapper{
    background-color:#BEDD42;
    width: 100%;
    height: auto;
    min-height: 400px;
    margin: auto;
    border-radius: 8px; /* 容器的圆角，可以根据需要调整 */
}



/* 基本样式重置和布局 */
nav {
    position: fixed; /* 固定导航栏 */
    top: 0; /* 位于顶部 */
    width: 100%; /* 占满宽度 */
    background-color: #ffffff; /* 背景色，确保可见 */
    z-index: 1000; /* 确保导航栏显示在其他内容上方 */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav li.nav-item {
    position: relative;
    margin-right: 20px;
}

nav a.nav-link {
    text-decoration: none;
    color: #563C2E; /* 根据需要调整颜色 */
    padding: 10px 15px;
    display: block;
}

nav a.nav-link:hover {
    background-color: #E9DFD3; /* 悬停时的背景色 */
    color: #8CA52A; /* 悬停时的文字颜色 */
}

/* 副标题导航的样式和隐藏 */
.subtitles {
    display: none; /* 默认隐藏 */
    position: absolute;
    top: 100%; /* 位于导航项下方 */
    left: 0;
    background-color: #fff; /* 背景色 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 阴影效果 */
    z-index: 1000; /* 确保显示在其他内容之上 */
}

.subtitles a.subtitle-link {
    display: block;
    text-decoration: none;
    color: #000000; /* 根据需要调整颜色 */
    padding: 10px 15px;
    white-space: nowrap; /* 防止文本换行 */
}

.subtitles a.subtitle-link:hover {
    background-color: #E9DFD3; /* 副标题链接悬停时的背景色 */
    color: #8CA52A; /* 副标题链接悬停时的文字颜色 */
}

/* 显示副标题导航的样式 */
nav li.nav-item:hover .subtitles {
    display: block; /* 悬停时显示 */
}


/* 居中标题 */
h1 {
    display: block;
    width: 50%; /* 或者根据需要调整宽度 */
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
    text-align: center;
}

/* 图片容器样式 */
.image-container {
    display: flex;
    flex-direction: column; /* 将图片排列成垂直方向 */
    align-items: center; /* 图片居中对齐 */
    gap: 20px; /* 设置图片之间的间距 */
    margin-top: 20px; /* 可选：为容器上方添加一些间距 */
}

.image-container img {
    width: 800px; /* 图片的宽度 */
    height: auto; /* 高度自动调整 */
}


/* 文字容器样式 */
.container {
    width: 80%; /* 容器的宽度，可以根据需要调整 */
    max-width: 800px; /* 容器的最大宽度，防止在大屏幕上变得过宽 */
    margin: 0 auto; /* 使容器在水平方向上居中 */
    padding: 20px; /* 容器的内边距，可以根据需要调整 */
    background-color: #EEFFAC; /* 容器的背景颜色，可以根据需要更改 */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* 添加一些阴影效果，使容器更突出 */
    border-radius: 8px; /* 容器的圆角，可以根据需要调整 */
}

h2 {
    color: #ffffff; /* 设置文字颜色 */
    text-align: center; /* 让文字居中 */
}
a {
    text-decoration: none;
    color: #563C2E; /* 链接的颜色 */
    font-size: 18px;
    padding: 10px 20px;
    background-color: #fff;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
}

a:hover {
    background-color: #f0f0f0; /* 链接悬停时的背景色 */
    color: rgb(29,68,181); /* 链接悬停时的文字颜色 */
}
p{
    color: #563C2E;
}
