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

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

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

/* Carousel base class */
.carousel {
    margin-bottom: 4rem;
    background-color: #333;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    position: absolute;
    right: 0;
    left: 0;
    padding: 0;
    width: 100%;
}

.carousel-caption.bottom {
    bottom: 45px;
}

.carousel-caption p {
    margin: 0;
    padding: 0;
}

/* Declare heights because of positioning of img element */
.carousel-item {
    position: relative;
    aspect-ratio: 1920 / 1080;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.carousel-item > .container {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.carousel-item > img {
    position: absolute;
    object-fit: contain;
    width: 100%;
    aspect-ratio: 1920 / 1080;
}

/* CAROUSEL FIX */
.carousel.carousel-fade .carousel-item {
    display: block;
    opacity: 0;
    transition: opacity ease-out 0.4s;
}

.carousel.carousel-fade .carousel-item.active {
    opacity: 1 !important;
}

/* 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 {
    margin-top: 1rem;
    font-weight: 400;
}

.marketing .col-lg-4 p {
    margin-right: 0.75rem;
    margin-left: 0.75rem;
}

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

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

/* Thin out the marketing headings */
.marketing h2.featurette-heading {
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.05rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

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

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

    .carousel-caption a {
        padding: 0.5rem 1rem;
        font-size: 1.125rem;
        line-height: 1.5;
        border-radius: 0.3rem;
    }

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

@media (min-width: 62em) {
    .featurette-heading {
        margin-top: 7rem;
    }
}

.cv-block {
    background: url(/images/top/cv_bg.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
