.carousel {
  position: relative;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-item {
  position: relative;
  display: none;
  align-items: center;
  height: 82vh;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;  
 /* width: 100%; */
  transition: transform 0.6s ease;
  backface-visibility: hidden;
  perspective: 1000px;
}



.carousel-item.active, .carousel-item-next, .carousel-item-prev {
  display: block;
}

.carousel-control-prev, .carousel-control-next {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
 /* display: flex;*/
  align-items: center;
  justify-content: center;
  width: 15%;
  color: #fff;
  text-align: center;
  opacity: 0.5;
}

.carousel-control-prev:focus, .carousel-control-prev:hover, .carousel-control-next:focus, .carousel-control-next:hover {
  color: #fff;
  text-decoration: none;
  outline: 0;
  opacity: .9;
}

.carousel-control-prev {
  left: 0;
}

.carousel-control-next {
  right: 0;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: transparent no-repeat center center;
  background-size: 100% 100%;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M4 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}

.carousel-indicators {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  z-index: 15;
  display: flex;
  justify-content: center;
  padding-left: 0;
  margin-right: 15%;
  margin-left: 15%;
  list-style: none;
}

.carousel-indicators li {
  position: relative;
  flex: 0 1 auto;
  width: 30px;
  height: 3px;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  background-color: rgba(255, 255, 255, 0.5);
}

.carousel-indicators .active {
  background-color: #fff;
}

.carousel-caption h3 {
  text-transform: uppercase;
  font-size: 1rem;
}

.carousel-caption h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.carousel-caption {
  position: absolute;
  right: 15%;
  top: 20%;
  left: 35%;
  max-width: 30%;

  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
  text-align: center;
  display: block;
}

.carousel-caption h1 h3 p {
    display: block;
}

.carousel-caption1 {
  position: absolute;
  
  right: 35%;
  max-width: 30%;
  bottom: 40%;
  left: 35%;


  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
  text-align: center;
}

.carousel-caption2 {
  position: fixed;
  bottom: 4% !important;
  z-index: 15;
}
.carousel-caption1 .btn {
  font-size: 0.8rem;
  bottom: 20%;
}

@media screen and (min-width:1800px) {
  .carousel-caption {
    right: 20%;
    max-width: 60%;
    top: 5%;
    left: 20%;
    bottom: 5%;
  } 



  #lbuy1, #lsell1 {
    font-size: 1.5rem;
  }

  .carousel-caption h1 {
    font-size: 6.2rem;
  }

/*  .carousel-caption2 {
    position: fixed;
    bottom: 3%;
    z-index: 15;
  }*/
}
@media screen and (max-width:1799px) {
  .carousel-caption {
    right: 20%;
    max-width: 60%;
    top: 5%;
    left: 20%;
    bottom: 5%;
  } 



  #lbuy1, #lsell1 {
    font-size: 1.5rem;
  }

  .carousel-caption h1 {
    font-size: 4.2rem;
  }

/*  .carousel-caption2 {
    position: fixed;
    bottom: 3%;
    z-index: 15;
  }*/
}

@media screen and (max-width:1399px) {
  .carousel-item {
     height: 75vh;
  }  
  
  .carousel-caption {
    right: 20%;
    max-width: 60%;
    top: 5%;
    left: 20%;
    bottom: 5%;
  }  


  #lbuy1, #lsell1 {
    font-size: 1.2rem;
  }
  .carousel-caption h1 {
    font-size: 3.5rem;
  }



}

@media screen and (max-width:992px) {
  .carousel-caption {
    right: 20%;
    max-width: 60%;
    top: 5%;
    left: 20%;
    bottom: 5%;
  }


  #lbuy1, #lsell1 {
    font-size: 1rem;
  }
  .carousel-caption h3 {
   font-size: 0.6rem;
  }

  .carousel-caption h1 {
    font-size: 2.5rem;
  }

/*  .carousel-caption2 {
    position: absolute;
    bottom: 15%;
    z-index: 15;
  }  */
}


@media screen and (max-width:768px) {
  .carousel-caption {
    right: 10%;
    max-width: 80%;
    top: 5%;
    left: 10%;
    bottom: 5%;    
  }

  #lbuy1, #lsell1 {
    font-size: 0.8 rem;
  }
  .carousel-caption h1 {
    font-size: 1.5rem;
  }
/*  .carousel-caption2 {
    position: absolute;
    bottom: 5%;
    z-index: 15;
  }*/

}

@media  screen and (max-width:576px) {

  .carousel-item {
     height: 40vh;
  }

  .carousel-caption {
    right: 20%;
    max-width: 60%;
    top: 0%;
    left: 20%;
    bottom: 0%;      
  }

  #lbuy1, #lsell1 {
    font-size: 0.5rem;
  }
.carousel-caption h3 {
  text-transform: uppercase;
  font-size: 0.5rem;
}

  .carousel-caption h1 {
    font-size: 1.2rem;
  }

  .carousel-caption img {
    display: none;
    width: 50% !important; 
  }  


  .carousel-caption2 {
    position: absolute;
    bottom: 5%;
    z-index: 15;
  }


}


