body{
    background-color: rgb(177, 97, 44);
}

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

}

header{
    width: 100%;
    height: auto;

    background-color: rgb(255, 255, 255);
  
    
}


/* 基本样式重置和布局 */
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: #000000; /* 根据需要调整颜色 */
    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: #f17e25; /* 根据需要调整颜色 */
    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; /* 或者保持 inline-block 并指定宽度 */
    width: 50%; /* 或者其他你想要的宽度 */
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}



.image-container {  
    display: flex; 
    gap: 0px;   
    justify-content: center;
    align-items: center;
}  

.image-wrapper {
    position: relative;
    width: 50%; 
    height: auto;  

}

.image-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    transition: filter 0.3s ease;
    object-fit: cover; 
}
.container {
    width: 95%; /* 容器的宽度，可以根据需要调整 */
    margin: 0 auto; /* 使容器在水平方向上居中 */
    background-color: #000000; /* 容器的背景颜色，可以根据需要更改 */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* 添加一些阴影效果，使容器更突出 */
    border-radius: 8px; /* 容器的圆角，可以根据需要调整 */
}

