.carousel-caption h2 {
  /* font-family: "Roboto", Arial, sans-serif; */
  position: relative;
  margin: 0;
  /* padding: 0 80px 0 0; */
  /* line-height: 1.1;
  letter-spacing: -0.5px;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  font-weight: bolder; */
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  /* margin-bottom: 1rem; */
  line-height: 1.1;
  letter-spacing: -0.5px;
  font-weight: 700;
}

.carousel-caption p {
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 22px;
}
.carousel-caption {
  text-align: left !important;
}

/* .carousel-caption h2 {
  font-size: 60px !important;
  } */
.carousel-caption p {
  font-size: 20px;
}
/* Smooth dissolve effect */
.carousel-fade .carousel-item {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  z-index: 1;
}

/* Optional image motion (Ken Burns-style) */
.carousel-fade .carousel-item img {
  animation: zoomPan 15s ease-in-out infinite;
  transform-origin: center center;
}

/* @keyframes zoomPan {
  0% {
    transform: scale(1.05) translateX(0);
    }
    50% {
      transform: scale(1.12) translateX(-12px);
      }
      100% {
        transform: scale(1.05) translateX(0);
        }
        } */

@media (min-width: 1440px) {
  .carousel-caption {
    top: 64% !important;
  }
  .carousel-caption h2 {
    /* font-size: clamp(32px, 100vw / 24, 64px); */
    /* font-size: 3.2vw; */
    font-size: clamp(2rem, 4vw, 4rem);
    /* margin-bottom: 8px; */
  }

  .carousel-caption p {
    font-size: 1.5vw !important;
    letter-spacing: 1px;
    margin: 30px 0px;
  }

  .carousel-caption .carousel-caption-button,
  .carousel-caption-button-1 {
    font-size: 14px !important;
    padding: 8px 46px !important;
  }
}

@media (max-width: 820px) {
  .carousel-caption {
    width: 91vw !important;
    top: 44% !important;
  }
}
@media (max-width: 768px) {
  .carousel-caption {
    width: 91vw !important;
    top: 44% !important;
  }
  .carousel-caption h2 {
    /* font-size: 28px !important; */
    left: 0 !important;
    font-size: clamp(32px, 100vw / 24, 64px);
  }

  .carousel-caption p {
    font-size: 16px !important;
  }

  .carousel-caption .carousel-caption-button,
  .carousel-caption-button-1 {
    font-size: 10px !important;
    padding: 4px 10px !important;
    right: auto !important;
  }

  .carousel-caption {
    left: 5%;
    right: 5%;
    padding-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .carousel-caption h2 {
    font-size: 22px !important;
  }

  .carousel-caption p {
    font-size: 14px !important;
  }

  .carousel-caption .carousel-caption-button,
  .carousel-caption-button-1 {
    font-size: 9px !important;
    padding: 3px 8px !important;
  }
}
.carousel-caption-button {
  position: relative;
  display: inline-block;
  /* padding: 8px 32px;
  font-size: 14px; */
  font-weight: bold;
  text-transform: uppercase;
  color: white !important;
  /* background-color: rgba(51, 51, 51, 0.7); */
  /* background-color: rgba(0, 112, 192, 0.7); */
  /* background-color: rgba(112, 111, 109, 0.9); */
  /* background-color: rgba(80, 80, 80, 0.7); */
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid white;
  border-radius: 5px;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s ease;
}

.carousel-caption-button-1 {
  position: relative;
  display: inline-block;
  font-weight: bold;
  /* text-transform: uppercase; */
  color: white !important;
  background-color: rgba(0, 112, 192, 0.7);
  /* border: 1px solid white; */
  border-radius: 5px;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s ease;
}
.carousel-caption-button,
.carousel-caption-button-1 {
  padding: 8px 32px;
  font-size: 14px;
}
.carousel-caption-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #ffd700;
  transition: left 0.3s ease;
  z-index: 0;
}

.carousel-caption-button-1::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #ffd700;
  transition: left 0.3s ease;
  z-index: 0;
}

.carousel-caption-button:hover::before,
.carousel-caption-button-1:hover::before {
  left: 0;
}

.carousel-caption-button span,
.carousel-caption-button-1 span {
  position: relative;
  z-index: 1;
}

/*  */
/* 
 */
