body{
    background-color: #FBF1EF;
}

#wrapper{
    background-color:#D2C7FF;
    width: 100%;
    height: auto;
    min-height: 400px;
    margin: auto;

}

header{
    width: 100%;
    height: auto;

    background-color: #D2C7FF;
  
    
}


/* 基本样式重置和布局 */
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: rgb(29,68,181); /* 根据需要调整颜色 */
    padding: 10px 15px;
    display: block;
}

nav a.nav-link:hover {
    background-color: #f0f0f0; /* 悬停时的背景色 */
    color: rgb(29,68,181); /* 悬停时的文字颜色 */
}

/* 副标题导航的样式和隐藏 */
.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: #D2C7FF; /* 根据需要调整颜色 */
    padding: 10px 15px;
    white-space: nowrap; /* 防止文本换行 */
}

.subtitles a.subtitle-link:hover {
    background-color: #f0f0f0; /* 副标题链接悬停时的背景色 */
    color: rgb(29,68,181); /* 副标题链接悬停时的文字颜色 */
}

/* 显示副标题导航的样式 */
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: 1000px; /* 图片的宽度 */
    height: auto; /* 高度自动调整 */
}


/* 文字容器样式 */
.container {
    padding: 20px;
    text-align: center;
    color: #D2C7FF;
}

/* PDF下载链接 */
a {
    text-decoration: none;
    color: #D2C7FF; /* 链接的颜色 */
    font-size: 18px;
    padding: 10px 20px;
    background-color: #fff;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
}

a:hover {
    background-color: #D2C7FF; /* 链接悬停时的背景色 */
    color: #AB52C5; /* 链接悬停时的文字颜色 */
}

/* 页脚样式 */
footer {
    text-align: center;
    padding: 20px;
    background-color: #D2C7FF; /* 页脚背景色 */
    color: white;
    position: relative;
    bottom: 0;
    width: 100%;
}
