html {
    position: relative;
    min-height: 100%;
}

body {
    padding-top: 3rem;
    padding-bottom: 6rem;
    color: #5a5a5a;
}

.my-navbar-brand {
    margin: -2rem 1rem -2rem -0.8rem;
}

/* 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;
}

/* Declare heights because of positioning of img element */

.carousel-item {
    height: 42.3vw;
    background-color: #777;
}

.carousel-item>img {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 6rem;
    /* Set the fixed height of the footer here */
    line-height: 5rem;
    /* Vertically center the text there */
    background-color: #f5f5f5;
}

.footer .nav .nav-item {
    margin-right: 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;
    }
    .marketing .row img {
        width: 10rem;
        height: 10rem;
    }
}