#carousel {
  position: relative;
  height: 129px;
  top: 50%;
  transform: translateY(5%);
  overflow: hidden;
}
#carousel div {
  position: absolute;
  transition: transform 1s, left 1s, opacity 1s, z-index 0s;
  opacity: 1;
}
#carousel div img {
  width: 400px;
  transition: width 1s;
  border-radius: 5%;
}
#carousel div.hideLeft {
  left: 0%;
  opacity: 0;
  transform: translateY(50%) translateX(-50%);
}
#carousel div.hideLeft img {
  width: 200px;
}
#carousel div.hideRight {
  left: 100%;
  opacity: 0;
  transform: translateY(50%) translateX(-50%);
}
#carousel div.hideRight img {
  width: 200px;
}
#carousel div.prev {
  z-index: 5;
  left: 30%;
  transform: translateY(20px) translateX(-60%);
}
#carousel div.prev img {
  width: 150px;
  height:96px;
}
#carousel div.prevLeftSecond {
  z-index: 4;
  left: 15%;
  transform: translateY(40px) translateX(-15%);
  opacity: 0.7;
}
#carousel div.prevLeftSecond img {
  width: 125px;
  height:60px;
}
#carousel div.selected {
  z-index: 10;
  left: 50%;
  transform: translateY(0px) translateX(-50%);

}
#carousel div.selected img {
  width: 250px;
  height:128.5px;
}
#carousel div.next {
  z-index: 5;
  left: 70%;
  transform: translateY(20px) translateX(-40%);
}
#carousel div.next img {
  width: 150px;
  height:96px;
}
#carousel div.nextRightSecond {
  z-index: 4;
  left: 85%;
  transform: translateY(40px) translateX(-95%);
  opacity: 0.7;
}
#carousel div.nextRightSecond img {
  width: 125px;
  height:60px;
}


/* Child Text Container */
.selected div{
 position: absolute;
 bottom: 0;
 right: 0;
 background: black;
 color: white;
 margin-bottom: 5px;
 font-family: Impact;
 opacity: 0;
 visibility: hidden;
 -webkit-transition: visibility 0s, opacity 0.5s linear; 
 transition: visibility 0s, opacity 0.5s linear;
}

/* Hover on Parent Container */
.selected:hover{
 cursor: pointer;
}

.selected:hover div{
 width: 150px;
 padding: 8px 15px;
 visibility: visible;
 opacity: 0.7; 
}

.prev div{
  visibility: hidden;
}
.prevLeftSecond div{
  visibility: hidden;
}
.hideLeft div{
  visibility: hidden;
}
.next div{
  visibility: hidden;
}
.nextRightSecond div{
  visibility: hidden;
}