.carousel-cont{
    margin: 0 auto;
}

/* Control Pagination */
.control-pagination{
    margin: 30px 0;
  }
  .prev, .next{
    color: #fff;
    padding: 5px;
    cursor: pointer;
  }
  .prev:hover, .next:hover{
    color: #ccc;
  }
  
  .prev2, .next2{
    color: #fff;
    padding: 5px;
    cursor: pointer;
  }
  .prev2:hover, .next2:hover{
    color: #ccc;
  }
  
  .item-1 {
    background-color: #3498db;
  }
  
  .item-2 {
    background-color: #B22222;
  }
  
  .item-3 {
    background-color: #006400;
  }
  
  .item-4 {
    background-color: #FFD700;
  }
  
  .item-5 {
    background-color: #FF4500;
  }
  
  /* Carousel */
  
  .container-carousel {
    margin: 0 auto;
  }
  
  .carousel-item > div {
    height: 400px;
    line-height: 500px;
    font-size: 1.5em;
    text-align: center;
    color: #fff;
  }
  
  .carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
  }
  
  .carousel-container {
    list-style: none;
    overflow: hidden;
    padding: 0;
    margin: 0;
    width: 800%;
    transition: transform 0.3s cubic-bezier(.694, .0482, .335, 1);
  }
  
  .carousel-item {
    position: relative;
    float: left;
    width: 12.5%;
  }
  
  /* Next / Prev Buttons */
  
  .carousel-prev,
  .carousel-next {
    position: absolute;
    top: 50%;
    background-color: #222;
    opacity: 0.7;
    border-radius: 50%;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    width: 40px;
    height: 40px;
    line-height: 40px;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    text-align: center;
    z-index: 10;
    transition: opacity 0.3s ease;
  }
  
  .carousel-prev {
    left: 2%;
    padding-right: 3px;
  }
  
  .carousel-prev::before {
    content: '\f053';
    font-family: "FontAwesome";
  }
  
  .carousel-next {
    right: 2%;
    padding-left: 3px;
  }
  
  .carousel-next::before {
    content: '\f054';
    font-family: "FontAwesome";
  }
  
  .carousel-prev:hover,
  .carousel-next:hover {
    opacity: 1;
  }
  
  /* Pagination */
  
  .carousel-pagination {
    list-style: none;
    position: absolute;
    bottom: 3%;
    left: 0;
    right: 0;
    width: 50%;
    padding: 0;
    margin: 0 auto;
    text-align: center;
    z-index: 10;
  }
  
  .carousel-bullet {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #000;
    cursor: pointer;
    margin: 0 7px;
    border-radius: 50%;
    opacity: 0.5;
    transition-property: transform, opacity, background-color;
    transition-duration: 0.3s;
  }
  
  .carousel-bullet:hover {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
  }
  
  .carousel-bullet.active-bullet, 
  .carousel-bullet.active-bullet:hover {
    opacity: 1;
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
    background-color: #fff;
    cursor: default;
  }