.carousel {
  overflow: hidden;
}
.carousel .carousel-inner {
  height: 100vh;
}
.carousel .carousel-inner .item {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-transition: opacity 1s, transform 5s linear 0s;
  -moz-transition: opacity 1s, transform 5s linear 0s;
  -ms-transition: opacity 1s, transform 5s linear 0s;
  -o-transition: opacity 1s, transform 5s linear 0s;
  transition: opacity 1s, transform 5s linear 0s;
}
.carousel .carousel-inner .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.carousel .carousel-inner .item,
.carousel .carousel-inner .active.left,
.carousel .carousel-inner .active.right {
  opacity: 0;
}
.carousel .carousel-inner .active,
.carousel .carousel-inner .next.left,
.carousel .carousel-inner .prev.right {
  opacity: 1;
}
.carousel .carousel-inner .next,
.carousel .carousel-inner .prev,
.carousel .carousel-inner .active.left,
.carousel .carousel-inner .active.right {
  left: 0;
  bottom: 0;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.carousel .carousel-inner:before {
  position: absolute;
  display: block;
  top: 50%;
  left: 50%;
  content: "";
  margin-top: 0px;
  margin-left: -20px;
  width: 40px;
  height: 40px;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  border-right: 2px solid transparent;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -o-border-radius: 20px;
  border-radius: 20px;
  -webkit-animation: spinner 1.6s linear infinite;
  -moz-animation: spinner 1.6s linear infinite;
  animation: spinner 1.6s linear infinite;
  z-index: 0;
}
@-moz-keyframes spinner {
  100% {
    -moz-transform: rotate(360deg);
  }
}
@-webkit-keyframes spinner {
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes spinner {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.carousel .carousel-control.left .fa,
.carousel .carousel-control.right .fa {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  text-align: center;
}
.carousel .carousel-indicators li {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 6px;
  padding-left: 3px;
  padding-right: 3px;
  background: #ffffff;
  border: 1px solid #ffffff;
  margin-top: 1px;
  margin-bottom: 1px;
  margin-left: 6px;
  margin-right: 6px;
}
.carousel .carousel-indicators li + li {
  margin-left: 6px;
  margin-right: 6px;
}
.carousel .carousel-indicators li.active {
  width: 44px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
  margin-left: 6px;
  margin-right: 6px;
}
.carousel .carousel-indicators li.active::before {
  position: absolute;
  display: inline-block;
  height: 6px;
  background: #ffffff;
  content: "";
  top: 0;
  left: 0;
  right: 100%;
  bottom: 0;
  -webkit-animation: progress 5s linear 0s;
  -moz-animation: progress 5s linear 0s;
  -ms-animation: progress 5s linear 0s;
  -o-animation: progress 5s linear 0s;
  animation: progress 5s linear 0s;
}
.carousel .carousel-indicators li.active ~ li {
  background: none;
}
@-moz-keyframes progress {
  100% {
    right: 0px;
  }
}
@-webkit-keyframes progress {
  100% {
    right: 0px;
  }
}
@-ms-keyframes progress {
  100% {
    right: 0px;
  }
}
@-o-keyframes progress {
  100% {
    right: 0px;
  }
}
@keyframes progress {
  100% {
    right: 0px;
  }
}
@media (max-width: 768px) {
  .carousel-inner {
    height: auto !important;
  }
  .item {
    height: auto !important;
  }
  .item img {
    width: 100%;
    height: auto !important;
    object-fit: contain;
  }
  .carousel-indicators li {
    width: 7px !important;
    border-radius: 50% !important;
    transition: width ease 0.2s;
  }
  .carousel-indicators .active {
    width: 14px !important;
    border-radius: 50px !important;
  }
}
