/*-----------------------------------------------------------------------------------------------------------------------------------
    CUSTOMIZE THE CAROUSEL
-----------------------------------------------------------------------------------------------------------------------------------*/

/* ---------- Since positioning the image, we need to help out the caption ---------- */

.carousel {
    z-index: 1020;
}

.carousel-caption {
    bottom: 3rem;
    z-index: 10;
    text-align: left;
}

/* ---------- Declare heights because of positioning of img element ---------- */

.carousel-item {
    height: 100vh;
}

    .carousel-item > img, .carousel-item > video {
        position: absolute;
        top: 0;
        right: 0;
    }

@media (max-width: 768px) {
    .carousel-item > img {
        max-height: 100%;
        margin-top: 8%;
        width: 100%;
    }

    .carousel-item > video {
        /*max-height: 60%;*/
        top: -25%;
        width: 100%;
    }
}

@media screen and (min-width: 769px) {
    .carousel-item > img {
        height: 100% !important;
        width: 50%;
    }

    .carousel-item > video {
        height: auto;
        width: 60%;
    }
}

@media screen and (min-width: 769px) and (max-width: 1460px) {
    .carousel-item > video {
        width: 100% !important;
    }
}

.carousel-control-next, .carousel-control-prev {
    z-index: 1030;
}

/*-----------------------------------------------------------------------------------------------------------------------------------
    MARKETING CONTENT
-----------------------------------------------------------------------------------------------------------------------------------*/

/* ---------- Center align the text within the three columns below the carousel ---------- */

.marketing .col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.marketing h2 {
    font-weight: 400;
}

.marketing .col-lg-4 p {
    margin-right: .75rem;
    margin-left: .75rem;
}

/*-----------------------------------------------------------------------------------------------------------------------------------
    FEATURETTES
-----------------------------------------------------------------------------------------------------------------------------------*/

.featurette-divider {
    margin: 4rem 0 3rem 0;
}

/* ---------- Thin out the marketing headings ---------- */

.featurette-heading {
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.05rem;
}

/*-----------------------------------------------------------------------------------------------------------------------------------
    RESPONSIVE CSS
-----------------------------------------------------------------------------------------------------------------------------------*/

@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;
    }
}

@media (min-width: 62em) {
    .featurette-heading {
        margin-top: 7rem;
    }
}

@media (max-width: 768px) {
    .carousel-caption {
        bottom: 3%;
    }

    .container h1 {
        font-size: 2rem;
        margin-bottom: 20px;
        z-index: 1010;
    }

    .container h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
        z-index: 1010;
    }
}

@media (min-width: 769px) {
    .carousel-caption {
        left: 12%;
        text-align: left;
        width: 38%;
        padding-right: 5%;
        bottom: 15%
    }

    .container h1 {
        font-size: 4.8rem;
        margin-bottom: 60px;
    }

    .container h2 {
        font-size: 2.3rem;
        margin-bottom: 60px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .carousel-caption {
        bottom: 4% !important;
        width: 80% !important;
    }

    .container h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .container h2 {
        font-size: 1.2rem;
        margin-bottom: 40px;
    }
}

@media (min-width: 1025px) and (max-width: 1460px) {
    .carousel-caption {
        left: 12%;
        text-align: left;
        width: 70%;
        padding-right: 5%;
        bottom: 5%
    }
}
