.carousel-item img {
  height: 650px;
  object-fit: cover;
  object-position: center;
}
.carousel-caption {
  position: absolute;
  right: 15%;
  /* bottom: 5.25rem; */
  left: 15%;
  /* padding-top: 50%; */
  /* padding-bottom: 5% !important; */
  color: #fff;
  text-align: left;
  z-index: 0;
  display: flex !important;
  align-items: flex-start;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}
.carousel-item {
  transition: opacity 1s ease;
}
.carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.carousel-item.active {
  opacity: 1;
}
.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
  display: flex !important;
  align-items: flex-start;
  flex-direction: column;
}
.carousel-inner {
  overflow: hidden;
}
.carousel-indicators {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-pack: center;
  -webkit-box-pack: center;
  justify-content: center;
  padding-left: 0;
  margin-right: 15%;
  margin-left: 15%;
  list-style: none;
}
.carousel-indicators li {
  box-sizing: content-box;
  -ms-flex: 0 1 auto;
  -webkit-box-flex: 0;
  flex: 0 1 auto;
  width: 30px;
  height: 3px;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: #fff;
  background-clip: padding-box;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.carousel-caption h1 {
  line-height: 40px;
}
.carousel-caption p {
  font-size: 20px;
  line-height: 25px;
}
.carousel-caption h1 {
  margin-bottom: 15px !important;
}
@media (max-width: 767px) {
  .carousel-caption {
    position: absolute !important;
    right: 15% !important;
    bottom: 1.25rem !important;
    left: 15% !important;
    padding-bottom: 65% !important;
    color: #fff !important;
    text-align: center !important;
  }
}
