/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
body {
    padding-top: 3rem;
    padding-bottom: 3rem;
    color: #5a5a5a;
}

.custom-bg-dark {
    background-color: #2c2c2c;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
/* Carousel base class */
.carousel {
    margin-bottom: 4rem;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    z-index: 10;
    bottom: 3rem;
}

.carousel-caption p {
}

/* Declare heights because of positioning of img element */
.carousel-item {
    height: 32rem;
    background-color: #777;
}

.carousel-item > img {
    width: 100%;
    object-fit: cover;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    height: 100%;
}

.carousel-overlay {
    position: absolute;
    width: 100%;
}

.carousel-overlay-bg {
    z-index: 5;
    opacity: 0.5;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 15;
}

/* Project content
-------------------------------------------------- */
/* Center align the text within the three columns below the carousel */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-template-rows: auto;
    grid-template-areas: 'Project';
    grid-gap: 20px;
}

.project-item {
    margin: 10px;
}

.project-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.projects h2 {
    font-weight: normal;
}

/* Featurettes
------------------------- */
.featurette-divider {
    margin: 5rem 0;

    /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.05rem;
}

.featurette li {
    font-size: 0.9rem;
    margin-bottom: 1.1rem;
}

/* 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: 35px;
    }
}

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

.embed-video {
    height: 100%;
    width: 100%;
    object-fit: contain;
}