@import url(https://fonts.googleapis.com/icon?family=Material+Icons);

* {
  margin: 0;
  padding: 0;
}

.slide-box {
  position: relative;
  margin: 30px auto;
  height: 300px;
  width: 1080px;
  max-width: 70%;
  /* background-color: antiquewhite; */
}

.banner-box {
  position: relative;
  height: 100%;
  width: 100%;
}

.banner-item {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 90%;
  background-color: rgba(0, 0, 0, 1);
  box-sizing: border-box;
  border-radius: 10px;
  /* overflow:hidden; */
  transition: all 0.5s;
  z-index: 0;
  color:rgba(255,0,0,0);
  font-size:20px;
}

.banner-item>img {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  transform: opacity 0.5s;
  object-fit:fill;
  border-radius: 10px;
}

.banner-item.left {
  left: 0;
  transform: translateX(0);
  z-index: 50;
  border-radius: 10px;
  color:rgba(0,0,0,0.0);
}

.banner-item.left>p {
  color:rgba(0,0,0,0.0);
}

.banner-item.right {
  left: 100%;
  transform: translateX(-100%);
  z-index: 50;
  border-radius: 10px;
  color:rgba(0,0,0,0.0);
}
.banner-item.right>p {
  color:rgba(0,0,0,0.0);
}

.banner-item.middle {
  width: 550px;
  height: 100%;
  z-index: 100;
  color:rgba(0,0,0,1);
}

.banner-item.middle>img {
  opacity: 1;
}

.slide-left-btn, .slide-right-btn {
  position: absolute;
  top: 50%;
  z-index: 200;
  width: 40px;
  height: 40px;
  font-size: 30px;
  font-weight: 900;
  color: #b4b4b4;
  border: none;
  background: none;
}

.slide-left-btn:hover, .slide-right-btn:hover {
  color: #fff;
}

.slide-left-btn {
  left: 1%;
}

.slide-right-btn {
  right: 1%;
}

.pagination-box {
  margin-top: 50px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.pagination-box>span {
  width: 20px;
  height: 6px;
  border-radius: 3px;
  margin: 0 4px;
  background-color: #b4b4b4;
}

.pagination-box>span.chose {
  background-color: #ff4444;
}