body {
  background-image: url('../images/background.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  height: 100vh;
  margin: 0;
}

/* 头部样式 */
.header-area {
  background-color: transparent;
}

.header-area .logo {
  color: #fff;
}

.header-area .nav a {
  color: #fff;
}

.header-area .nav a:hover,
.header-area .nav a.active {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.2);
}

/* 主横幅样式 */
.main-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 80vh;
  text-align: center;
  color: #ecf0f1;
}



.center-text h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.center-text p {
  font-size: 16px;
  margin-bottom: 30px;
  margin: 20px auto;
  margin-bottom: 40px;
  max-width: 790px;
}

/* 搜索栏样式 */

.search-bar {
  position: relative;
  width: 1000px;
  margin: 0 auto 30px auto;
  text-align: left;
  background-color: transparent;
}

.search-bar input[type="text"] {
  width: 80%;
  padding: 15px;
  font-size: 18px;
  border: 1px solid #ccc;
  border-radius: 10px 0 0 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  outline: none;
  background: white;
}

.search-bar button {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  padding: 15px;
  background-color: #798095;
  color: #fff;
  border: none;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.search-bar button:hover {
  background-color: #8d99af;
}


#advancedSearchButton {
  width: 15%;
}

#searchButton {
  right: 15%;
  width: 7%;
  font-family: 'icomoon';
  border-radius: 0;
}

/* 其他高级搜索栏样式见advancedSearch.css */

.form-group label {
  text-align: left;
}

/* 小图标 */
.categories {
  display: flex;
  /* 让所有列表项水平排列 */
  justify-content: center;
  /* 居中对齐 */
  padding: 0;
  /* 去掉默认的内边距 */
  margin-top: 100px;
}

.categories li {
  list-style: none;
  /* 移除默认列表样式 */
  width: 166px;
  /* 平分容器宽度，每个占1/4 */
  text-align: center;
  /* 文字居中显示 */
}

.categories li span {
  color: white;
  font-size: 14px;
}

.categories a {
  display: flex;
  /* 使用flex布局 */
  flex-direction: column;
  /* 子元素垂直排列 */
  align-items: center;
  /* 水平居中子元素 */
  text-decoration: none;
  /* 移除下划线 */
  color: black;
  /* 设置链接颜色 */
  transition: color 0.3s;
  /* 平滑颜色变化 */
}

.categories .icon {
  position: relative;
  background: white;
  /* 背景颜色为白色 */
  width: 66px;
  /* 宽度 */
  height: 66px;
  /* 高度 */
  border-radius: 50%;
  /* 圆形 */
  display: flex;
  /* 使用flex布局 */
  justify-content: center;
  /* 水平居中 */
  align-items: center;
  /* 垂直居中 */
  margin-bottom: 10px;
  /* 与文本间隔 */
  transition: background-color 0.3s;
}

.categories .icon {
  font-family: 'icomoon';
  font-size: 40px;
  /* 图标大小 */
  color: #8d99af;
  /* 图标颜色 */
}



.categories li:not(.dev):hover .icon {
  background-color: #2c2d41;
}


.categories li:not(.dev):hover .icon i {
  color: #3498db;
}

.categories li.dev .icon::after {
  content: "准备中";
  display: none;
  /* 默认不显示 */
  position: absolute;
  width: 66px;
  height: 66px;
  top: 0;
  left: 0;
  background-color: #2c2d41;
  /* 覆盖背景 */
  color: white;
  /* 文字颜色 */
  font-size: 14px;
  /* 字体大小 */
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 50%;
  /* 圆形背景 */
}

.categories li.dev:hover .icon::after {
  display: flex;
  /* 鼠标悬停时显示文本 */
}