/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

@media (min-width: 991px) {

/* Carousel base class */
.carousel {
  height: 500px;
  margin-bottom: 0;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
  right: 0;
  left: 0;
  width: 90%;
  text-align: center;
  padding: 20px;
  bottom: 30%;
  margin: 0 auto;
}

.carousel-caption h1 {
  font-size: 36px;
  line-height: 38px;
  font-weight: 700;
}

.carousel-caption .btn {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 20px;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 500px;
  background-color: #777;
  background-size: cover; 
  background-position: center center;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 500px;
}

}

@media (max-width: 990px) and (min-width: 529px) {

/* Carousel base class */
.carousel {
  height: 350px;
  margin-bottom: 0;
}
.carousel-caption h1 {
  font-size: 36px;
  line-height: 38px;
  font-weight: 700;
}

.carousel-caption .btn {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 20px;
}



/* Declare heights because of positioning of img element */
.carousel .item {
  height: 350px;
  background-color: #777;
  background-size: cover; 
  background-position: center center;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 350px;
}

}


@media (max-width: 529px) {

/* Carousel base class */
.carousel {
  height: 200px;
  margin-bottom: 0;
}
/* Since positioning the image, we need to help out the caption */

.carousel-caption h1 {
  font-size: 28px;
  line-height: 30px;
  font-weight: 700;
}

.carousel-caption .btn {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 10px;
}
.carousel a {
  text-decoration: none;
}
/* Declare heights because of positioning of img element */
.carousel .item {
  height: 200px;
  background-color: #777;
  background-size: cover; 
  background-position: center center;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 200px;
}

}