body {
	font-family: 'Open Sans', sans-serif;
	background-color: #222;
	color: white;
	margin: 0;
	padding: 0;
}

header {
	background: linear-gradient(to right, #f39c12, #e74c3c, #9b59b6, #3498db);
	padding: 10px;
	display: flex;
	justify-content: center;
}

header .brand {
	display: flex; /* 使用 flexbox 进行横向布局 */
	justify-content: space-between; /* 将内容均匀分布 */
	align-items: center; /* 垂直居中 */
	width: 1000px;
	height: auto;
}


header img {
	width: 80px;
	height: auto;
	border-radius: 8px;
	margin-bottom: -25px;
	border: solid 4px #f2f2f2;
}

nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex; /* 将导航项横向排列 */
}

nav li {
	margin-left: 20px;
}

nav a {
	color: white;
	text-decoration: none;
	font-weight: bold;
}

main{
    max-width: 960px;
    margin: 20px auto;
    padding: 20px;
}

main .content{
	max-width: 960px;
	margin: 20px auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}

ul {
	
}

ul li {
  
}

.categories a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.categories ul {
  display: inline-block;
  margin-left: -30px;
}

.categories ul li {
  display: inline-block;
  margin-right: 20px;
}

section {
	background-color: #333;
	padding: 20px;
	border-radius: 8px;
}
.content section ul li a {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 200px;
	display: block;
}



h1, h2 {
	color: white;
}

p, li {
	color: #ddd;
	line-height: 1.6;
}

a {
	color: #3498db;
	text-decoration: none;
}

.cta-button {
	display: inline-block;
	padding: 10px 20px;
	background-color: #3498db;
	color: white;
	border-radius: 4px;
	margin-top: 10px;
}

footer {
	background-color: #333;
	color: white;
	text-align: center;
	padding: 10px;
	margin-top: 20px; /* 添加顶部间距 */
}
footer a {
    color: #fff;
    margin: 0 25px 0 0;
    text-decoration: none;
}
footer .align-bottom {
   display: inline;
   margin: 0px 5px -3px 5px;
   width: 16px
}