/* 定义菜单按钮的样式 */
.menu-btn {
	display: none;
	cursor: pointer;
}

/* 遮罩层样式 */
.overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1;
}

/* 导航菜单样式，大屏时右对齐显示 */
.nav-links {
	display: flex;
	list-style: none;
	gap: 1rem;
	margin-left: auto;
	margin-right: 24px;
}

/* 导航菜单弹框样式，小屏时使用 */
.nav-links-popup {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: white;
	padding: 20px;
	border-radius: 8px;
	z-index: 2;
	flex-direction: column;
	gap: 1rem;
	width: 50%;
	text-align: center;
}

/* 当屏幕宽度小于 768px 时，显示菜单按钮并隐藏正常导航链接 */
@media (max-width: 768px) {
	.menu-btn {
		display: block;
		margin-left: auto;
		/* 让小屏时菜单按钮右对齐 */
	}

	.nav-links {
		display: none;
	}
}

.nav-links-popup.active {
	display: flex;
}

.overlay.active {
	display: block;
}

/* 页脚样式 */
footer {
	background-color: #f8f9fa;
	padding: 20px;
	text-align: center;
	margin-top: auto;
}
.foot-content{
	color: gray;
	font-size: 0.875rem;
}

.subtitle{
	color: black;
	font-weight: 500;
}