body { padding-top: 3rem; 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: 3rem; z-index: 10; background-color: rgba(0,0,0,.5); border-radius: 0.25rem; } /* Declare heights because of positioning of img element */ .carousel-item { height: 32rem; background-color: rgb(180,180,180); } .carousel-image { width: 100%; height:100%; background-position: center; background-repeat: no-repeat; } .carousel-element { margin: 1rem .5rem !important; } /* RESPONSIVE CSS -------------------------------------------------- */ @media (min-width: 40em) { .carousel-caption p { margin-bottom: 1.25rem; font-size: 1.25rem; line-height: 1.4; } }