
.container {
  width: 1000px;  /* 指定宽度，防止变形 */
  min-width: 1000px;  /* 最小宽度，防止变形 */
  padding: 0;  /* 去掉容器的内边距 */
}

.header-image{
  display: block;
  width: 100%;
}
.header-menu {
  position: absolute;
  top: 6px;
  left: 0;  /* 靠左对齐 */
  right: 0;  /* 靠右对齐 */
  width: 100%;  /* 100% 指定 1000px */
  display: flex;
  justify-content: space-between;
}

/* 只对 i 标签旋转 */

.icon-spin i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 1.5em;
  height: 1.5em;
  color: #fff;
  border-radius: 50%;
  transition: transform 0.5s;  /* transform 动画 0.5 秒 */
}

.icon-spin:hover i {
  transform: rotate(360deg);  /* 鼠标移进，正旋 360 度 */
}

.icon-spin:not(:hover) i {
  transform: rotate(0deg);  /* 鼠标移开，反旋 360 度 */
}

a.icon-spin {
  text-decoration: none;
}

.icon-spin.bg-red i {
  background-color: #dc3545;
}
.icon-spin.bg-green i {
  background-color: #28a745;
}
.icon-spin.bg-yellow i {
  background-color: #ffc107;
}
.icon-spin.bg-blue i {
  background-color: #007bff;
}
.icon-spin.bg-cyan i {
  background-color: #17a2b8;
}
.icon-spin.bg-secondary i {
  background-color: #6c757d;
}
