.slider__section {
  position: relative;
}

/*.slider__section::after {*/
/*	position: absolute;*/
/*	content: '';*/
/*	right: 0;*/
/*	left: 0;*/
/*  bottom: 0;*/
/*	background: url(../assets/images/banner__vector.png) no-repeat; */
/*	width: 100%;*/
/*	height: 91px;*/
/*	z-index: 1;*/
/*}*/

.overlay_slider {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 45%, rgba(0, 0, 0, 0.9));
  position: absolute;
  top: 0;
  left: 0;
  z-index:9;
}

.kb-carousel {
  overflow: hidden;
  max-height: 800px;
}

.kb-carousel .carousel-item {
  transition: transform .6s ease-in-out 0s, opacity ease-in-out .6s;
}

.kb-carousel .carousel-item.active {
  transition: transform .6s ease-in-out 0s, opacity ease-in-out .6s;
}

.kb-carousel>.carousel-inner>.carousel-item>img,
.kb-carousel>.carousel-inner>.carousel-item>a>img {
  animation: kenburns 20000ms linear 0s infinite alternate;
  height: 100vh;
  
}

.kb-carousel .carousel-item-next.carousel-item-start .carousel-caption,
.kb-carousel .carousel-item-prev.carousel-item-end .carousel-caption {
  z-index: 0;
  opacity: 0;
}

.kb-caption {
  right: 0 !important;
  left: 0 !important;
  bottom: 20%;
  padding: 0;
  margin: 0 auto;
  text-align: center;
  z-index: 9;
}

.kb-caption-center {
  margin: auto;
}

.kb-caption h5 {
  padding: 0.5rem 0;
  margin-bottom: 0;
  text-align: center;
}

.kb-caption h5 {
  animation-delay: 1s;
  color: #fff;
  display: block;
  font-size: 40px;
  font-weight: 700;
  line-height: 50px;
  text-shadow: 1px 2px 3px #00000070;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.kb-caption h6 {
  animation-delay: 1s;
  color: #fff;
  display: block;
  font-size: 30px;
  font-weight: 500;
  text-shadow: 1px 2px 3px #00000070;
  margin-bottom: 14px;
}

@media (min-width: 768px) {
  .kb-caption {
    bottom: 37%;
  }
}

@media (min-width: 1200px) {
  .kb-caption {
    bottom: 30%;
  }
}



/* Controls */
.kb-control-prev,
.kb-control-next {
  width: 3rem;
  height: 3rem;
  margin: auto 0;
  opacity: 0;
  color: #fff;
  background: rgba(0 0 0 / 0.5);
  border-radius: 3px;
}

.kb-carousel:hover .kb-control-prev,
.kb-carousel:hover .kb-control-next {
  opacity: 1;
}

.kb-control-prev {
  left: 1%;
}

.kb-control-next {
  right: 1%;
}

.kb-control-prev:hover,
.kb-control-prev:focus,
.kb-control-next:hover,
.kb-control-next:focus {
  color: #fff;
  background: rgba(0 0 0 / 1);
}

/* Support for dark mode */
[data-bs-theme="dark"] .carousel .carousel-control-next-icon,
[data-bs-theme="dark"] .carousel .carousel-control-prev-icon {
  filter: none;
}

.rotating-text-wrapper {
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.rotating-text-wrapper h2 {
  font-size: 88px;
  font-weight: 600;
  animation-delay: 1.5s;
  text-shadow: 1px 2px 10px #00000061;
  margin: 0;
  color: #fff;
  /* box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2); */
  animation-duration: 6s;
  animation-iteration-count: infinite;
  opacity: 0;
}

.rotating-text-wrapper h2:nth-child(1) {
  /* background-color: lightseagreen; */
  animation-name: rotating-text-1;
}

@keyframes rotating-text-1 {
  0% {
    transform: translateY(200%);
  }

  33% {
    transform: translateY(100%);
    opacity: 1;
  }

  34% {
    opacity: 0;
  }
}

.rotating-text-wrapper h2:nth-child(2) {
  /* background-color: tomato; */
  animation-name: rotating-text-2;
}

@keyframes rotating-text-2 {
  33% {
    transform: translateY(100%);
    opacity: 0;
  }

  66% {
    transform: translateY(0);
    opacity: 1;
  }

  67% {
    opacity: 0;
  }
}

.rotating-text-wrapper h2:nth-child(3) {
  /* background-color: cornflowerblue; */
  animation-name: rotating-text-3;
}

@keyframes rotating-text-3 {
  66% {
    transform: translateY(0);
    opacity: 0;
  }

  99% {
    transform: translateY(-100%);
    opacity: 1;
  }

  100% {
    transform: translateY(-100%);
    opacity: 0;
  }
}

@media screen and (max-width: 576px) {
  .rotating-text-wrapper {
    font-size: 0.7rem;
  }
}