body{
    background-color: rgb(255, 255, 255);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

#wrapper{
    background-color:rgb(94, 93, 93);
    width: 100%;
    height: auto;
    min-height: 400px;
    margin: auto;
    border-radius: 8px; /* 容器的圆角，可以根据需要调整 */
}
h1{
    display: inline-block;
}
h1{
    margin-bottom: 1em; /* 或者使用其他单位，如px、rem等 */
    color: rgb(255, 255, 255);
   font-size: 70px;  
   display: inline-block;
}
h2, h3 {
    margin-bottom: 1em; /* 或者使用其他单位，如px、rem等 */
   color: rgb(255, 255, 255);
  font-size: 50px;
}
p{
    margin-bottom: 5em; /* 或者使用其他单位，如px、rem等 */
   color: rgb(255, 255, 255);
   padding-right: 20px; 
   padding-left: 20px;
   line-height: 1.6;
}
.content-container {
    display: flex;
    align-items: flex-start; /* 顶部对齐 */
    background-color: rgb(0, 0, 0);

}

.text-content {
    flex: 1; /* 占据剩余空间 */
    padding-right: 10px; /* 文本和图片之间的间距 */
    padding-left: 20px;
    margin-right: 20px;
    line-height: 1.6; /* 调整这个值来增加或减少行间距 */

}

.image-container {
    /* 不需要额外的flex设置，因为它已经是一个flex项了（因为content-container是flex容器） */
    /* 可以设置一个最大宽度来限制图片的宽度 */
    max-width: 25%; /* 或者使用具体的像素值 */
}

.right-image {
    max-width: 100%; /* 图片最大宽度为其容器的宽度 */
    height: auto; /* 保持纵横比 */
    padding: auto;
}

.image-caption {
    margin-top: 10px; /* 图片和标注之间的间距 */
    text-align: center; /* 标注居中（如果需要在图片宽度内居中） */
}
.left-image {
    max-width: 100%; /* 图片最大宽度为其容器的宽度 */
    height: auto; /* 保持纵横比 */
    padding: 10px;
}
p1{
    margin-bottom: 1em; /* 或者使用其他单位，如px、rem等 */
   color: rgb(255, 255, 255);
   padding-right: 20px; 
   padding-left: 20px;
}
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(0, 0, 0); /* 根据需要调整颜色 */
    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: #f0f0f0; /* 副标题链接悬停时的背景色 */
    color: rgb(29,68,181); /* 副标题链接悬停时的文字颜色 */
}

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

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

