body{
    background-color: rgb(29,68,181);
}

#wrapper{
    background-color:rgb(255, 255, 255);
    width: 100%;
    height: auto;
    min-height: 400px;
    margin: auto;

}
h1,h2{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
color: rgb(29,68,181);
font-size: 50px;

}
p{

    font-family: Verdana, Geneva, Tahoma, sans-serif;color:rgb(29,68,181);
font-size: 20px;
padding-right: 20px; 
padding-left: 20px;
line-height: 1.6;
}

.image-container {
    display: flex; 
    gap: 20px;
    justify-content: center;

}

.image-wrapper {
    position: relative;
    width: 20%;
    height: auto; 
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
  
}
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(252, 252, 252); /* 根据需要调整颜色 */
    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: #000000; /* 根据需要调整颜色 */
    padding: 10px 15px;
    white-space: nowrap; /* 防止文本换行 */
}

.subtitles a.subtitle-link:hover {
    background-color: rgb(199, 207, 228); /* 副标题链接悬停时的背景色 */
    color: rgb(235, 97, 22); /* 副标题链接悬停时的文字颜色 */
}

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