/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

body {
  background: #f5f5f5;
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

/* 导航栏样式 */
header{
  width: 100%;
  height: 50px;
  background-color:#2056AE;
  position: fixed;
  z-index: 1000;
}
.zyou{display: flex;flex-direction: row;justify-content: space-between;width: 80%;margin: auto;}
.logo{width: 130px;height: 50px;}
.lo{width: 130px;height: 50px;}
.box{
  width: 40%;
  height: 50px;
  margin: auto;
}
ul,li{padding: 0;margin: 0;list-style: none;}
a{text-decoration: none;}
.nav{ 
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}  
.nav a{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center; 
  height: 100%; 
  text-align: center;
  color: #F0F0E6;
  font-size: 18px;
    
}
.nav .item{
  width: 20%;
  height: 100%;
  position: relative;
}
.list{
  position: absolute;
  width: 100%;
  overflow: hidden;
  max-height: 0px;
  transition: .4s;
  border-radius: 0 0 8px 8px;
  background-color:  #3E7ADA;
}
.ej{height: 50px;}
.ej a{color:#F0F0E6 ;}
.ej a:hover{color: #D4AF37;}
.nav>.item:hover{
  background-color: #3E7ADA;
}
.nav>.item:hover>.list{
  max-height: 100px;
}
.ej:hover{
  background-color: #3E7ADA;
}
/* 轮播图样式 */
.datu {
  width: 100%;
  max-height: 780px;
  margin: auto;
  overflow: hidden;
  position: relative;
}

.slides {
  display: flex;
  width: 500%;
  animation: slide 15s infinite;
}

.slides img {
  width: 20%;
  object-fit: cover;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-20%);
  }

  45% {
    transform: translateX(-20%);
  }

  50% {
    transform: translateX(-40%);
  }

  70% {
    transform: translateX(-40%);
  }

  75% {
    transform: translateX(-60%);
  }

  95% {
    transform: translateX(-60%);
  }

  100% {
    transform: translateX(-80%);
  }
}

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translate(-50%);
  display: flex;
}

.carousel-indicators div {
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  margin: 0 5px;
  transition: background-color 0.5s;
}

.carousel-indicators div:nth-child(1) {
  animation: indicator 15s infinite;
}

.carousel-indicators div:nth-child(2) {
  animation: indicator 15s infinite 3s;
}

.carousel-indicators div:nth-child(3) {
  animation: indicator 15s infinite 7s;
}

.carousel-indicators div:nth-child(4) {
  animation: indicator 15s infinite 11s;
}

@keyframes indicator {
  0%,
  20% {
    background-color: #2056ae;
  }

  25%,
  100% {
    background-color: #fff;
  }
}

/* 海报容器：Grid 布局 */
.poster {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 40px;
  width: 90%;
  max-width: 1200px;
  justify-content: center;
  align-content: center;
  background: #fff;
  margin: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  padding: 40px;
  position: relative;
}

/* 中间标题 */
.poster-title {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  font-weight: bold;
  color: #2056ae;
}

/* 中间时间轴 */
.timeline {
  height: 1500px;
  background: #2056ae;
  color: #fff;
  padding: 40px 20px;
  margin-top: 100px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  writing-mode: vertical-rl;
}

.timeline .year {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0;
}

/* 左右内容列 */
.column {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.column.left {
  text-align: right;
}

.column.right {
  text-align: left;
}

/* 内容项样式 */
.item {
  margin: 10px 0;
}

.item h3 {
  font-size: 18px;
  font-weight: bold;
  color: #2056ae;
  line-height: 1.4;
  margin-bottom: 15px;
}

.item img {
  max-width: 50%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
}

.item p {
  font-size: 14px;
  color: #303030;
  line-height: 1.6;
}


.poster-title{
  padding-top: 40px;
}
.xiao{font-size: 12px;color: #666;}
.item1{padding-top: 150px;}
.item2{padding-top: 200px;}

/* 版尾样式 */
.banwei {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  color: #fff;
  font-size: 15px;
  
  width: 100%;
  height: 100px;
  background-color: #2056ae;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .box {
    width: 100%;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav a {
    font-size: 14px;
    padding: 0 10px;
  }

  .poster {
    grid-template-columns: 1fr;
  }

  .timeline {
    writing-mode: horizontal-tb;
    flex-direction: row;
    justify-content: space-around;
    padding: 20px;
  }

  .column.left,
  .column.right {
    text-align: center;
  }

  .item img {
    max-width: 80%;
  }
}