.carousel {
padding: 5px 20px;
    padding-top: 0;
    -webkit-perspective: 500px;
    perspective: 500px;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    z-index: 1;
}
.htmleaf-container>.carousel{
  background-position: center;
/*     background-image: url(../images/c_bg.png); */
    background-size: 100% 97%;
    background-repeat: no-repeat;
}
.carousel > * {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}
.carousel figure {
  margin: 0;
  width: 54%;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
}
.carousel figure img {
  width: 100%;
  box-sizing: border-box;
  padding: 0 0px;
}
.carousel figure img:not(:first-of-type) {
  position: absolute;
  left: 0;
  top: 0;
}
.carousel nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 20px 0 0;
}
.carousel nav button,.idol-link {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  margin: 0 5px;
  cursor: pointer;
  color: #6eb3e3;
  background: none;
  border: 2px solid;
  letter-spacing: 1px;
  padding: 5px 10px;
}
.idol-link{
  background-color: #6eb3e3;
  border: none;
  color: white;
  font-size: 1.5em;
}
a:hover, a:focus {
    color: #2a6496;
    text-decoration: none;
    font-weight: bold;
}




@media screen and (max-width: 360px){
  .carousel nav button, .idol-link {
      padding: 0px 2px;
      font-size: .8em;
  }
}