.carousel-item {
  height: 100vh;
  min-height: 300px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.carousel-caption {
  bottom: 270px;
}

.carousel-caption h5 {
  font-size: 45px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 25px;
}

.carousel-caption p {
  width: 75%;
  margin: auto;
  font-size: 18px;
  line-height: 1.9;
}

.img {
  margin: 5px 0;
  position: relative;
}

.img2 {
  position: absolute;
  left: 0;
  opacity: 0;
}

.img img {
  width: 100%;
}

@keyframes hide {
  /*设置内容由显示变为隐藏*/

  0% {
    opacity: 1;
  }

  10% {
    opacity: 0.9;
  }

  20% {
    opacity: 0.8;
  }

  30% {
    opacity: 0.7;
  }

  40% {
    opacity: 0.6;
  }

  50% {
    opacity: 0.5;
  }

  60% {
    opacity: 0.4;
  }

  70% {
    opacity: 0.3;
  }

  80% {
    opacity: 0.2;
  }

  90% {
    opacity: 0.1;
  }

  100% {
    opacity: 0;
  }

}

@keyframes show {
  /*设置内容由显示变为隐藏*/

  0% {
    opacity: 0;
  }

  10% {
    opacity: 0.1;
  }

  20% {
    opacity: 0.2;
  }

  30% {
    opacity: 0.3;
  }

  40% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.5;
  }

  60% {
    opacity: 0.6;
  }

  70% {
    opacity: 0.7;
  }

  80% {
    opacity: 0.8;
  }

  90% {
    opacity: 0.9;
  }

  100% {
    opacity: 1;
  }

}

.carousel-inner{
  margin-top: 58px;
  height: 350px;
}

@media (max-width:768px) {
  .content{
      padding: 5px;
  }
  .carousel-inner{
    height: 11vh;
  }
  .w-100{
    height: auto;
  }
  .carousel-indicators{
      bottom: -15px;
  }
  .carousel-indicators li{
      width: 15px;
      height: 1px;
  }
  .carousel-control-prev-icon, .carousel-control-next-icon{
      width: 10px;
      height: 10px;
  }
}