/*----------modified stylesheet for slider drop down css-------------------*/
.carousel-caption {
  margin-bottom: 0px;
  margin-right: 0px;
}

.carousel .carousel-item {
  height: 450px;
}

.carousel-item img {
  position: absolute;
  object-fit: cover;
  top: 0;
  left: 0;
  min-height: 500px;
  height: 200px;
  filter: brightness(50%);

}

.carousel-caption {
  position: absolute;
  right: 15%;
  bottom: 11rem;
  left: 15%;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  color: #fff;
  text-align: center;
}

.carousel-caption h2 {
  font-size: 32px;
}

.carousel-caption h3 {
  position: absolute;
  right: 15%;
  bottom: 11rem;
  left: -10px;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  color: #fff;
  text-align: left;
  font-size: 32px;
}

.carousel-caption ul {
  position: absolute;
  top: -180px;
  left: -25px;

}

.customTitle {
  font-family: Microgme;
}

/* animated drop down */
.animatedrop {
  opacity: 0;
  margin-top: 10px;
  text-align: left;
  padding: 10px;
  width: 400px;
  background-color: #34495e;
}

.animatedrop:nth-child(1) {
  -webkit-animation-name: menu1;
  animation-name: menu1;
  -webkit-animation-duration: 500ms;
  animation-duration: 500ms;
  -webkit-animation-delay: 0ms;
  animation-delay: 0ms;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.animatedrop:nth-child(2) {
  -webkit-animation-name: menu1;
  animation-name: menu1;
  -webkit-animation-duration: 500ms;
  animation-duration: 500ms;
  -webkit-animation-delay: 1000ms;
  animation-delay: 1000ms;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.animatedrop:nth-child(3) {
  -webkit-animation-name: menu1;
  animation-name: menu1;
  -webkit-animation-duration: 500ms;
  animation-duration: 500ms;
  -webkit-animation-delay: 2000ms;
  animation-delay: 2000ms;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.animatedrop:nth-child(4) {
  -webkit-animation-name: menu1;
  animation-name: menu1;
  -webkit-animation-duration: 500ms;
  animation-duration: 500ms;
  -webkit-animation-delay: 3000ms;
  animation-delay: 3000ms;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.animatedrop:nth-child(5) {
  -webkit-animation-name: menu1;
  animation-name: menu1;
  -webkit-animation-duration: 500ms;
  animation-duration: 500ms;
  -webkit-animation-delay: 4000ms;
  animation-delay: 4000ms;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.animatedrop:nth-child(6) {
  -webkit-animation-name: menu1;
  animation-name: menu1;
  -webkit-animation-duration: 500ms;
  animation-duration: 500ms;
  -webkit-animation-delay: 5000ms;
  animation-delay: 5000ms;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

@-webkit-keyframes menu1 {
  0% {
      opacity: 0;
      transform: rotateX(-90deg) translateY(0px);
  }

  100% {
      opacity: 1;
      transform: rotateX(0deg) translateY(30px);
  }
}

@keyframes menu1 {
  0% {
      opacity: 0;
      transform: rotateX(-90deg) translateY(0px);
  }

  100% {
      opacity: 1;
      transform: rotateX(0deg) translateY(30px);
  }
}


@media (max-width:700px) {
  .carousel-caption ul {
    position: absolute;
    top: -180px;
    left: -35px;

  }

  .carousel-caption h2 {
    font-size: 20px;
    padding-left: 10px;
  }
}
