/*背景*/
.header {
    position: relative;
}
@media (max-width: 784px) {
	.lunbo{
		margin-top: 100px;
		height: 20vh;
	}
		
}
.lunbo {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh; /* 或者根据实际需要调整高度 */
	z-index: 1; /* 使轮播图在导航栏的下方 */
}
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100; /* 确保导航栏在轮播图之上 */
    transition: background-color 0.3s; /* 添加过渡效果 */
}

/* 滚动后背景颜色变为白色 */
.navbar.scrolled {
    background-color: #fff; /* 背景色为白色 */
	box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5);
}

.slideshow-container {
    /* 设置轮播图容器的样式 */
}

/* 默认样式 */
.top_ul_link {
    text-decoration: none;
    color: black; /* 默认文字颜色 */
}
.header::after {
    content: ""; /* 伪元素的内容为空 */
    position: absolute; /* 绝对定位 */
    left: 0;
    width: 100%;
    height: 66.5%;
    background-color: rgba(255, 255, 255, 0); /* 白色，透明度 50% */
    z-index: 1; /* 确保遮罩层在其他内容之上 */
    pointer-events: none; /* 让遮罩层不阻止鼠标事件 */
}


/*二维码放置处*/
.QRcode {
    padding-top: 4.125rem;
    padding-bottom: 4.125rem;
    display: flex;
    justify-content: center; /* 整体居中 */
}
.QRcode a{
	text-decoration: none;
	color: #666666;
}
.QR-whole {
    display: flex;
    flex-direction: row; /* 横向布局 */
    align-items: center; /* 子元素在纵向上居中对齐 */
}

.QR-whole a {
    display: flex;
    flex-direction: column; /* 竖向布局 */
    align-items: center; /* 子元素在横向上居中对齐 */
    text-align: center; /* 文字居中对齐 */
    margin: 0 70px; /* 左右间距为 70px，每对相邻的子元素间距为 140px */
	
}

.QR-whole img {
    width: 60px;
    height: 62px;
    display: block;
    margin-bottom: 12px; /* 图片和文字之间的间距 */
}
/* 鼠标移入时文字颜色变为红色 */
.QR-whole > div:hover p {
    color: #b51b21 ;
}
.QR-whole a img:hover {
    transform: scale(2.5); /* 放大 10% */
    transition: transform 0.3s ease; /* 添加平滑过渡效果 */
}
@media (max-width: 1050px) {
	
    .QR-whole {
        flex-direction: row; /* 横向布局 */
        justify-content: space-between; /* 元素之间的间距均匀分布 */
		margin-left: 10%;
    }

    .QR-whole a {
        flex: 1 1 calc(50% - 20px); 
        margin: 10px; 
    }

    .QR-whole img {
        width: 60px; /* 根据需求调整缩放后的宽度 */
        height: auto; /* 保持图片的纵横比 */
    }
}
@media (max-width: 784px) {
    .QR-whole {
        flex-direction: row; /* 横向布局 */
        justify-content: space-between; /* 元素之间的间距均匀分布 */
		margin-left: 5%;
    }

    .QR-whole a {
        flex: 1 1 calc(50% - 20px); 
        margin: 10px; 
    }

    .QR-whole img {
        width: 50px; /* 根据需求调整缩放后的宽度 */
        height: auto; /* 保持图片的纵横比 */
    }
}

/*文字*/
.word-whole{
	width: 100%;
}
.word{
	width: 100%;
	margin-top: 30%;
	text-align: center; /* 文本居中对齐 */
	padding: 100px; /* 可选：内边距 */
}
.word p{
	color: #838383;
	line-height: 2;
	font-size: 1rem;
}
@media (max-width: 1450px) {
    .word {
		margin-top: 31%;
		padding: 50px;
    }
	
   
}
@media (max-width: 768px) {
    .word {
		width: 100%;
		padding: 25px;
		transform: scale(0.9);
    }
	
   
}
/*图片列表切换*/
 .slider1 {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.slider-container1 {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.slider-wrapper1 {
	display: flex;
	transition: transform 0.5s ease;
	align-items: flex-end; /* 确保所有 slide2 底部对齐 */
	margin-left: 0; /* 使第一张图片靠左 */
}

.slider-wrapper1 .slide2 {
	display: flex; /* 添加 flex 布局 */
	align-items: flex-end; /* 确保内容底部对齐 */
	position: relative;
	margin: 0 15px; /* 每张图片左右间隔为15px */
}

.slider-wrapper1 .slide2:first-child {
	margin-left: 0; /* 第一张图片左边距为0 */
}

.slider-wrapper1 img {
	width: 580px;
	height: auto;
	transition: transform 0.5s ease;
	cursor: pointer;
	display: block; /* 确保图片没有额外的底部间隙 */
}

.slider-wrapper1 .mask {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	transition: opacity 0.5s ease;
	z-index: 1; /* 确保遮罩在图片上层 */
}

.slider-wrapper1 img.selected {
	width: 600px;
	height: auto;
}

.slider-wrapper1 img.inactive + .mask {
	opacity: 1;
}

.slider-wrapper1 img.selected + .mask {
	opacity: 0;
}
.sld-word {
    display: flex; /* 使用 flexbox 布局 */
    flex-direction: column; /* 垂直方向排列子元素 */
    justify-content: center; /* 垂直居中对齐 */
    align-items: center; /* 水平居中对齐 */
    color: white; /* 文字颜色为白色 */
    text-align: center; /* 文本水平对齐方式 */
    position: absolute;
    bottom: 0%; /* 置于底部 */
    left: 0;
    width: 100%; /* 背景宽度占满图片 */
    height: 15%; /* 高度为图片的 15% */
    background: rgba(0, 0, 0, 0.7); /* 黑色半透明背景 */
    box-sizing: border-box; /* 包含边框和内边距 */
    font-size: 13pt;
    z-index: 4; /* 确保文字在遮罩上层 */
}
.sld-word p:first-of-type {
    font-size: 18pt; /* 或者其他较大的字体大小 */
	margin-top: 10px;
}
.sld-word p {
	
    padding: 0px 0; /* 添加一些内边距以分隔行 */
}

.selected .sld-word {
    display: block; /* 被选中时显示 */
}
button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	z-index: 10;
}

.prev1 {
	left: 20%;
}

.next1 {
	right: 20%;
}

.prev1 img, .next1 img {
	width: 30px; /* 根据需要调整图片宽度 */
	height: auto;
}
@media (max-width: 1450px) {
	/* 调整滑块容器的宽度为100%，以适应手机屏幕 */
	.slider1,
	.slider-container1,
	.slider-wrapper1 {
	    width: 100%;
	}
	
	/* 调整图片的宽度为100%，高度自动，以保持比例 */
	.slider-wrapper1 img {
	    width: 400px;
	    height: auto;
	}
	
	/* 选中状态的图片宽度也调整为100% */
	.slider-wrapper1 img.selected {
	    width: 450px;
	}
	
	/* 调整滑块之间的间距，以适应手机屏幕 */
	.slider-wrapper1 .slide2 {
	    margin: 0 15px; /* 或者根据需要设置为0 */
	}
	
	/* 调整按钮的位置和大小，以适应手机屏幕 */
	button.prev1,
	button.next1 {
	    position: absolute;
	    top: 50%;
	    transform: translateY(-50%);
	    width: 20px; /* 或者根据需要调整 */
	    height: 20px; /* 或者根据需要调整 */
	    background-size: contain; /* 确保按钮背景图片适应按钮大小 */
	}
	
	.prev1 img,
	.next1 img {
	    width: 100%; /* 按钮图片宽度设置为100%，以适应按钮大小 */
	    height: auto;
	}
	
	.prev1 {
	    left: 10%; /* 或者根据需要调整 */
	}
	
	.next1 {
	    right:10%; /* 或者根据需要调整 */
	}
	
	/* 调整文字部分的样式，以适应手机屏幕 */
	.sld-word {
	    font-size: 10pt; /* 或者根据需要调整 */
	    height: 20%; /* 或者根据需要调整，确保文字部分可见且不过大 */
	}
	
	.sld-word p:first-of-type {
	    font-size: 14pt; /* 或者根据需要调整 */
	    margin-top: 5px; /* 或者根据需要调整 */
	}
}
@media (max-width: 784px) {
	   /* 调整滑块容器的宽度为100%，以适应手机屏幕 */
    .slider1,
    .slider-container1,
    .slider-wrapper1 {
        width: 100%;
    }

    /* 调整图片的宽度为100%，高度自动，以保持比例 */
    .slider-wrapper1 img {
        width: 350px;
        height: auto;
    }

    /* 选中状态的图片宽度也调整为100% */
    .slider-wrapper1 img.selected {
        width: 350px;
    }

    /* 调整滑块之间的间距，以适应手机屏幕 */
    .slider-wrapper1 .slide2 {
        margin: 0 15px; /* 或者根据需要设置为0 */
    }

    /* 调整按钮的位置和大小，以适应手机屏幕 */
    button.prev1,
    button.next1 {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 20px; /* 或者根据需要调整 */
        height: 20px; /* 或者根据需要调整 */
        background-size: contain; /* 确保按钮背景图片适应按钮大小 */
    }

    .prev1 img,
    .next1 img {
        width: 100%; /* 按钮图片宽度设置为100%，以适应按钮大小 */
        height: auto;
    }

    .prev1 {
        left: 10px; /* 或者根据需要调整 */
    }

    .next1 {
        right: 10px; /* 或者根据需要调整 */
    }

    /* 调整文字部分的样式，以适应手机屏幕 */
    .sld-word {
        font-size: 10pt; /* 或者根据需要调整 */
        height: 20%; /* 或者根据需要调整，确保文字部分可见且不过大 */
    }

    .sld-word p:first-of-type {
        font-size: 14pt; /* 或者根据需要调整 */
        margin-top: 5px; /* 或者根据需要调整 */
    }
}

/*文字部分*/
.article {
    width: 100%;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    padding: 0 5%; /* 添加左右内边距，以使内容在不同屏幕上保持一定的边距 */
    box-sizing: border-box; /* 确保 padding 不会增加元素的实际宽度 */
}

.article-word {
    width: 100%;
    max-width: 1200px; /* 设置最大宽度以避免在大屏幕上过宽 */
    text-align: left; /* 文本左对齐 */
    padding:5% 10%; /* 使用相对单位为内边距，以保持在不同屏幕上的一致性 */
    box-sizing: border-box; /* 确保 padding 不会增加元素的实际宽度 */
}

.article-word p {
    color: #838383;
    line-height: 1.6; /* 使用相对单位以适应不同屏幕的行高 */
    font-size: 1rem; /* 使用相对单位字体大小 */
    text-indent: 2em; /* 保持首行缩进 */
}

.article-word p:not(:first-child) {
    margin-top: 1.5rem; /* 使用相对单位以适应不同屏幕的边距 */
}

/*history-img*/
.responsive-img {
	width: 100%;
	height: auto;
	display: block;
}



