

/* 导航栏样式 */
.right-navbar {
	position: absolute; /* 修改为绝对定位 */
	display: flex;
	flex-direction: column; /* 导航项垂直排列 */
	width: 10rem; /* 导航栏宽度 */
	background-color: rgba(0, 0, 0, 0); /* 背景色 */
	padding: 0px; /* 内边距 */
	margin-left: 10rem; /* 左边距 */
	top: 950px; /* 距离页面顶部0 */
	z-index: 2; /* 确保在其他内容之上 */
}

.right-navbar a {
	height: 3.125rem;
	width: 48%;
	color: #000;
	text-decoration: none;
	padding: 0 0; /* 左右内边距 */
	border-bottom: 0.1875rem solid #484848;
	box-sizing: border-box; /* 盒模型 */
	transition: background-color 0.3s; /* 过渡效果 */
	text-align: center;
	align-items: center;
	display: flex;
	position: relative;
	font-size: 14pt;
	margin-bottom: 50px;
}

.right-navbar h3:first-of-type {
	margin-bottom: -40px;
}

.right-navbar h3 {
	color: #484848;
	height: 4.375rem;
	text-align: center;
	align-items: center;
	display: flex;
	position: relative;
	margin-bottom: 1.25rem;
	font-size: 16pt;
}

.right-navbar a:hover {
	color: #b52b21;
	border-bottom: 0.1875rem solid #b52b21;
}

.right-navbar a.active { /* 默认选中 */
	border-bottom: 0.1875rem solid #b52b21;
}

.content2 {
	width: 80%;
	margin-right: 5%;
	float: right;
	margin-left: 100px;
	margin-top: 0.625rem;
	padding-bottom: 10%;
}

.content2 h2 {
	color: #b52b21;
}

/* 媒体查询：小屏幕处理 */
@media (max-width: 1680px) {
	.right-navbar {		
			margin-left: 7.5%; /* 左边距 */
			top: 90%; /* 距离页面顶部0 */			
		}
	.content1 {
		justify-content: center; /* 居中对齐 */
	}
	
	.content2 {
		margin-top: 0%;
		margin-left: 1%; /* 去除与导航栏的间距 */
		margin-right: 1%; /* 去除与导航栏的间距 */
		font-size: 95%;
	}
}
@media (max-width: 1450px) {
	.right-navbar {			
			margin-left: 10%; /* 左边距 */
			top: 100%; /* 距离页面顶部0 */			
		}
}
@media (max-width: 1200px) {
	.right-navbar {			
			display: none;			
		}
}

