@charset "utf-8";
/* CSS Document */
/* 轮播图容器 */
.fade-carousel {
  display: flex;
  position: relative;
  width: 100%;
  height:auto;
  overflow: hidden;
  justify-content: center;
  margin-top: -6rem;
  z-index: -1;
}
/* 轮播项 */
.fade-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0rem;
}
.fade-slide.active {
  opacity: 1;
  z-index: 2;
}
.fade-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 指示器样式 */
.indicators {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  z-index: 10;
}
.indicator {
  width: 1rem;
  height: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  margin: 0 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.2);
  border: 0.1rem solid rgba(0, 0, 0, 0.1);
}
.indicator.active {
  background: #3498db;
  transform: scale(1.2);
  border-color: #3498db;
}
#animation_container {
  width: 100%;
  height:auto;
  position:relative;
  z-index: 3;
  top: 0rem;
  left: 0rem;
  right: 0rem;
  margin: 0rem;
  padding: 0rem;
}
#canvas {
  display: flex;
  justify-content: center;
  width: 100% !important; /* 覆盖Animate生成的固定宽度 */
  height: 100% !important;
  overflow: hidden;
}
.banner-act {
  width: 100%;
}
.banner-act canvas {
  width: 100%;
}
/* 标题样式 */
.carousel-title {
  text-align: center;
  margin-bottom: 30px;
  color: #2c3e50;
  font-size: 2.2rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Mobile */
@media (max-width: 320px){
  
}

/* Small Tablets */
@media (min-width: 321px)and (max-width: 767px) {
 .fade-carousel {
  height: 100%;
  margin-top: 0rem;
	}
  #animation_container {
  width: 100%;
  height: 20rem;
  position:relative;
  z-index: 3;
  top: 0rem;
  left: 0rem;
  right: 0rem;
  margin: 0rem;
  padding: 0rem;
}
  #canvas {
  display: flex;
  justify-content: center;
  width: 100% !important; /* 覆盖Animate生成的固定宽度 */
  height: 120% !important;
  overflow: hidden;
}
}
/* Small Desktops */
@media (min-width: 768px) and (max-width: 1096px) {
 .fade-carousel {
  height: 100%;
  margin-top: 0rem;
	}
  #animation_container {
  position:relative;
  z-index: 3;
  top: 0rem;
  left: 0rem;
  right: 0rem;
  margin: 0rem;
  padding: 0rem;
}
}
