

.hidden {
  transition: all 200ms ease;
  opacity: 0;
  pointer-events: none;
}

.carousel {
  width:1070px;
  height:800px;
  position: relative;
}
.carousel .btn {
  position: absolute;
  height: calc(100% - 15%);
  width: calc(100% - 90%);
  margin: 35px 0;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 400ms ease;
  overflow: hidden;
}
.carousel .btn:before {
  content: '';
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  transition: all 300ms ease;
}
.carousel .btn i {
  font-size: 1.6rem;
  color: #000;
  transition: all 400ms ease;
  opacity: 0;
}
.carousel .btn-back {
  top: 0;
  left: 0px;
}
.carousel .btn-back:before {
  border-radius: 100% 0 0 100%;
  transform: translateX(100px);
}
.carousel .btn-back .fa-arrow-left {
  transform: translateX(100px);
}
.carousel .btn-next {
  top: 0;
  right: 0px;
}
.carousel .btn-next:before {
  border-radius: 0 100% 100% 0;
  transform: translate(-100px);
}
.carousel .btn-next .fa-arrow-right {
  transform: translateX(-100px);
}
.carousel .btn .right-indicator, .carousel .btn .left-indicator {
  opacity: 1;
  color: rgba(255, 255, 255, 0.9);
}
.carousel .btn .right-indicator {
  transform: translateX(-20px);
}
.carousel .btn .left-indicator {
  transform: translateX(-5px);
}
.carousel .btn:hover:before {
  border-radius: 0;
  background: rgba(255, 255, 255, 0.6);
  transform: translateX(0);
}
.carousel .btn:hover .fa-arrow-left, .carousel .btn:hover .fa-arrow-right {
  opacity: 1;
}
.carousel .btn:hover .fa-arrow-left {
  transform: translateX(8px);
}
.carousel .btn:hover .fa-arrow-right {
  transform: translateX(8px);
}
.carousel .btn:hover .right-indicator {
  transform: translateX(100px);
  opacity: 0;
}
.carousel .btn:hover .left-indicator {
  transform: translateX(-100px);
  opacity: 0;
}
.carousel .viewbox {
  width: 1070px;
  height: 800px;
  position: relative;
  margin: 25px auto;
  z-index: 2;
  overflow: hidden;
}
.carousel .viewbox .track {
  width: 100%;
  height: 100%;
  position: relative;
  transition: all 500ms ease;
  z-index: 2;
}
.carousel .viewbox .track .slide {
  width: 100%;
  height: 100%;
  position: absolute;
}
.carousel .viewbox .track .slide .images {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel .nav-indicator {
  position: absolute;
  bottom: -2vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}
.carousel .nav-indicator .dot {
  margin: 0 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 300ms ease;
}
.carousel .nav-indicator .dot.active {
  background: #76421f;
}
