body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f0f0f0;
}

.main {
  display: flex; /* 让 main 内的元素横向排列 */
  flex-wrap: wrap; /* 如果需要换行，则启用此属性 */
  justify-content: space-around; /* 可以在容器内平均分配空间，但这里可能不是必需的，取决于你的具体需求 */
}

.container {
  display: flex;
  justify-content: space-around;
  width: 100%;
  width: 1200px;
}
.container1 {
  display: flex;
  justify-content: flex-start; /* 设置为左对齐 */
  width: 100%;
  width: 1200px;
}

.box {
  text-align: center;
  padding: 12px;
  margin: 6px;
  height: 60px;
  padding-top: 35px;
  width: 200px;
  transition: box-shadow 0.3s, color 0.3s, border 0.3s;
  position: relative;
  border: 1px solid transparent;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  font-size: 22px;
}

a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  display: block;

  /* margin-bottom: 5px; */
}

.box span {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 16px;
  width: 100%;
  background-color: rgba(7, 5, 5, 0.3);
  padding: 3px 0;
  color: white;
  display: none; /* 默认隐藏span */
}

.box:hover {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
  color: white;
  border: 1px dashed white;
}

.box:hover a {
  color: white;
}

.box:hover span {
  display: inline; /* 鼠标悬停在div上时显示span */
}
