/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-bottom: 3rem;
  color: #5a5a5a;
}


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

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

.carousel-caption {
  bottom: 5rem;
  /*z-index: 10;*/
  background-color: #39b54a;
  opacity: 0.8;
  border-radius: 25px;
}



/* Declare heights because of positioning of img element */
.carousel-item {
  height: 50rem;
}

/*
#myCarousel .carousel-item img {
  object-fit: cover;  
  object-position: center;
  height: 100vh;
  overflow: hidden;
}
*/
/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
/* rtl:begin:remove */
.featurette-heading {
  letter-spacing: -.05rem;
}

.featurette-heading span{
font-weight: 400;
}

/* rtl:end:remove */

/* RESPONSIVE CSS
-------------------------------------------------- */

/* Medium devices such as tablets (768px and up) */
@media only screen and (min-width: 48em) {
  .carousel-item {
    margin-top: 5rem;
    height: auto; 
  }

}

@media (max-width: 767px) {
  .carousel-item {
    margin-top: 5rem;
    height: auto; 
  }

  .carousel-caption {
    bottom: 1rem;
  }
}

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}
