.bigbox {
  height: 63vh;
  width: 80vw;
  margin: 20px auto;
  overflow: hidden;
  box-sizing: border-box;
  background-color: #fff;
}

.scroll-box {
  width: 100%;
  height: 100%;
  padding: 10px 0px;
  display: flex;
  width: max-content;
  animation: scroll 80s linear infinite;
}
/* 鼠标停留时停止滚动 */
.scroll-box:hover {
  animation-play-state: paused;
}

.card-list {
  display: flex;
}

.card {
  width: 300px;
  height: 97%;
  margin-left: 10px;
  /* background: #fff; */
}
.card:hover{
  cursor: pointer;
}
.card img {
  width: 100%;
  height: 100%;
  border-radius: 15px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/*  */
/* 弹窗遮罩 - 全屏居中 */
.window {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(3, 3, 3, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* 确保在最上层 */
}

/* 弹窗主体 - 自适应宽高 */
.window .center {
  max-width: 90vw;  /* 最大宽度不超过屏幕 */
  max-height: 90vh; /* 最大高度不超过屏幕 */
  width: auto;
  height: auto;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  border-radius: 6px; /* 轻微圆角更美观 */
  overflow: hidden;
}

/* 顶部工具栏 */
.window .center .windowhead {
  width: 100%;
  height: 45px;
  background: #f5f5f5;
  display: flex;
  justify-content: space-between;
  /* justify-content: flex-end; */
  align-items: center;
  padding: 0 10px;
  box-sizing: border-box;
  text-align: center;
}
.window .center .windowhead .spanbox{
  width: 100%;
  /* background-color: #fce1e1; */
}
.window .center .windowhead .buttonbox{
  display: flex;
  flex-direction: row;
  /* background-color: #dabebe; */
}

/* 按钮样式 */
.window .center .windowhead button {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;

}

.window .center .windowhead button:hover {
  color: #ff4444;
}

/* 图片容器 - 核心自适应区域 */
.window .center .windowbody {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: auto; /* 图片过大可滚动 */
}

/* 图片自适应 + 不变形 + 不挤压 */
.window .center .windowbody img {
  display: block;
  max-width: 100%;
  max-height: 80vh; /* 限制图片最大高度 */
  width: auto;
  height: auto;
  object-fit: contain; /* 关键：保持比例不拉伸 */
}

/* 页脚 */
.indexfoot {
  /* background-color: white; */
  font-size: 15px;
  color: #cac9c9;
  text-align: center;
}
.indexfoot p{
  font-size: 15px;
  line-height: 60px;
}