body{
  margin:0
}
.body {
    padding-top:132px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background-image: url("./img/beijing.png");
  background-size: 100% 100%;
}

.flex {
  display: flex;
  padding: 10px 0;
  width: 100%;
}

.flex a {
  flex: 1;
  padding:10px;
  display: block;
  align-self: center;
  text-align: center;
}

.flex img {
  max-width: 100%;
}

.top {
  position: fixed ;
  background-color: #fff;
  width:100%;
  max-width: 480px;
  top: 0;
  z-index: 999
}

.carousel-container {
  position: relative;
  overflow: hidden;
  height: 180px;
}

.carousel-inner {
  display: flex;
  height: 100%;
}

.slide {
  position: relative;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.slide.active {
  z-index: 1;
}

.prev-btn,
.next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  font-size: 30px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.3);
  text-align: center;
  line-height: 50px;
  cursor: pointer;
}

.prev-btn {
  left: 0;
  z-index: 10;
}

.next-btn {
  right: 0;
  z-index: 10;
}

.slide {
  position: relative;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.slide.active {
  z-index: 1;
}

@media screen and (max-width: 480px) {
  .carousel-container {
    height: 40vw;
    background-color: lightblue;
  }
.body {
  padding-top:33vw;
}

}