/* banner */
.banner_box {
  position: relative;
  width: 100%;
  transition: transform 1s ease-in-out, opacity 1s ease-in-out;
  /* 不让图片超出容器 */
  overflow: hidden;
}

.banner {
  display: block;
  width: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 1s ease-in-out;
}

.banner_box:hover .banner {
  transform: scale(1);
}

.banner-text {
  position: absolute;
  width: 85%;
  top: 128px;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  font-size: 64px;
  opacity: 1;
  /* 添加过渡效果 */
  transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}



.banner_box:hover .banner-text {
  opacity: 0;
}


/* 左进场动画 */
.slide-in-left {
  width: 300px;
  margin: 50px auto;
  animation: slide-in-left 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@-webkit-keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-1000px);
    transform: translateX(-1000px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-1000px);
    transform: translateX(-1000px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

/* 右进场动画 */
.slide-in-right {
  color: #FFF;
  text-align: center;
  font-family: -apple-system, Source Han Sans CN;
  font-style: normal;
  font-weight: 900;
  font-size: 23.437px;
  line-height: 24.609px;
  letter-spacing: 2.344px;
  animation: slide-in-right 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@-webkit-keyframes slide-in-right {
  0% {
    -webkit-transform: translateX(1000px);
    transform: translateX(1000px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-in-right {
  0% {
    -webkit-transform: translateX(1000px);
    transform: translateX(1000px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

/* 选择地区 */
.area_container {
  box-sizing: border-box;
  padding: 20px 15px;

}

.area_container h1 {
  color: #000;
  text-align: center;
  font-family: -apple-system, Source Han Sans CN;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 3px;
  margin: 100px auto;
  font-size: 48px;


}

.select_container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.area_item {
  width: 75%;
  margin-bottom: 80px;
}

.area_item_title {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.select_container select {
  padding: 0 10px;
  width: 100%;
  height: 69.643px;
  font-size: 36.654px;
}

.area_title {
  display: flex;
  justify-content: space-between;
  font-size: 36.654px;
  font-weight: bold;
  color: rgba(216, 12, 36, 1);
  margin-left: 10px;
}


.label {
  display: block;
  width: 6px;
  height: 30px;
  border-radius: 11px;
  background: rgba(216, 12, 36, 1);
}

.more {
  background-color: rgba(216, 12, 36, 1);
  display: block;
  font-weight: bold;
  color: #ffffff;
  border: 1px solid rgba(216, 12, 36, 1);
  text-align: center;
  transition: all 0.6s;
  cursor: pointer;
  border-radius: 5px;
  margin: 0px auto 40px auto;
  width: 160.112px;
  height: 52.036px;
  line-height: 52px;
  font-size: 14px;
}

.modal {
  top: 32%;
  padding: 6px;
  border-radius: 5px;
  animation: fadeInOut 1.6s ease-in-out forwards;
  position: fixed;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  animation: fadeInOut 1.6s ease-in-out forwards;
}


/* 弹出动画 */
@keyframes fadeInOut {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 1;
  }
}