/* 星空主题样式设置 */
body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
	line-height: 1.6;
	margin: 0;
	padding: 0;
	color: #e0e0ff;
	background: linear-gradient(135deg, #0c1445 0%, #1a237e 50%, #0d47a1 100%);
	min-height: 100vh;
	overflow-x: hidden;
}

.container {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
	background-color: rgba(10, 15, 40, 0.85);
	min-height: 100vh;
	box-shadow: 0 0 30px rgba(65, 105, 225, 0.5);
	backdrop-filter: blur(10px);
	border-radius: 15px;
	border: 1px solid rgba(100, 149, 237, 0.3);
	position: relative;
	overflow: hidden;
}

/* 添加星空背景效果 */
.container::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image:
		radial-gradient(2px 2px at 20px 30px, #eee, transparent),
		radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.8), transparent),
		radial-gradient(1px 1px at 90px 40px, #fff, transparent),
		radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.6), transparent),
		radial-gradient(2px 2px at 160px 30px, #ddd, transparent);
	background-repeat: repeat;
	background-size: 200px 100px;
	opacity: 0.3;
	z-index: -1;
	animation: sparkle 30s linear infinite;
}

@keyframes sparkle {
	from {
		transform: translateY(0px);
	}

	to {
		transform: translateY(-100px);
	}
}

header {
	text-align: center;
	padding: 20px 0;
	border-bottom: 1px solid rgba(100, 149, 237, 0.3);
	background: linear-gradient(to right, transparent, rgba(100, 149, 237, 0.2), transparent);
}

header h1 {
	font-size: 2em;
	margin: 0.67em 0;
	color: #bbdefb;
	text-shadow: 0 0 10px rgba(173, 216, 230, 0.7);
}

header p {
	color: #90caf9;
	font-style: italic;
}

/* 问题原文样式 */
#header > div {
  white-space: pre-wrap;
  line-height: 1.6;
}

footer {
	text-align: center;
	padding: 20px 0;
	color: #90caf9;
	border-top: 1px solid rgba(100, 149, 237, 0.3);
	margin-top: 20px;
	background: linear-gradient(to right, transparent, rgba(100, 149, 237, 0.2), transparent);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 10px;
}

/* 通用页脚样式 */
footer p {
  margin: 0;
  flex: 1;
  text-align: center;
}

/* 导航栏样式 */
.navbar-top {
/*  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  text-align: center; */
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
	.container {
		margin: 10px;
		padding: 15px;
		max-width: calc(100vw - 30px);
	}
}

@media screen and (max-width: 480px) {
	.container {
		margin: 5px;
		padding: 10px;
		max-width: calc(100vw - 20px);
	}
}

/* 笔记页面特定样式 */
.notes-overview {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}

.note-item {
	background: rgba(30, 40, 80, 0.4);
	border: 1px solid rgba(100, 149, 237, 0.3);
	border-radius: 8px;
	padding: 15px;
	transition: all 0.3s ease;
}

.note-item:hover {
	background: rgba(40, 60, 120, 0.5);
	box-shadow: 0 0 15px rgba(33, 150, 243, 0.4);
	transform: translateY(-3px);
}

.note-item h3 {
	margin-top: 0;
	color: #64b5f6;
}

.note-item a {
	color: #4fc3f7;
	text-decoration: none;
}

.note-item a:hover {
	color: #ffffff;
	text-decoration: underline;
}

.note-item p {
	color: #e3f2fd;
	font-size: 0.9em;
}