#container::after {
  content: "";
  display: block;
  clear: both;
}
* {
  margin: 0px;
  padding: 0px;
}
#intro {
  padding: 20px;
}
#container {
  width: 1400px;
  margin: 0px auto;
}
/*页首*/
header {
  height: 50px;
  padding:20px 10px 10px 10px;
  border-bottom: 4px #000000  solid;
}

header a{
	text-decoration: none;
	color:black;
}

header a:hover {
  text-decoration: underline; /* 鼠标悬停时添加下划线 */
  color: blue; 
}

header div{
  float: right;
  margin-right: -70px;
}
.user{
  display: flex;
  align-items: center;
}
.user img {
  width: 45px; /* 用户图片宽度 */
  height: 45px; /* 用户图片高度 */
  margin-left : 0px; /* 图片与文本之间的间距 */
}

/*logo图片*/
header img{
  float: left;
  width: 140px;
  height: 50px;
  margin-right: 60px;
  margin-top: 5px;
}

nav{
  float:left;
}

nav ul li{
  list-style-type: none;
  float: left;
  height: 33px;
  line-height: 50px;
  margin: 0px 55px;
}

ul li a{
  text-decoration: none; /* 默认没有下划线 */
  color: black; 
  font-family: "幼圆";
  font-size: 18px;
  font-weight: bold;
}

ul li a:hover {
  text-decoration: underline; /* 鼠标悬停时添加下划线 */
  color: blue; /* 可以设置鼠标悬停时的文字颜色 */
}
/* 页脚样式 */
footer {
  background-color: #333; /* 页脚背景颜色 */
  color: white; /* 文字颜色 */
  text-align: center; /* 文字居中 */
  margin-top: 50px;
}