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

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

/* Space between main content and the footer on every page */
main > footer.container {
  margin-top: 4rem;
  padding-top: 2rem;
}

.navbar-brand-logo {
  height: 2.25rem;
  width: auto;
  max-width: 9rem;
  object-fit: contain;
}


/* 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;
  padding: 1rem 1.25rem;
  border-radius: 0.25rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 32rem;
  background-color: #777;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* 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 h2 .marketing-heading-link {
  color: inherit;
  text-decoration: none;
}

.marketing h2 .marketing-heading-link:hover,
.marketing h2 .marketing-heading-link:focus {
  color: inherit;
  text-decoration: underline;
}
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}

.marketing .marketing-circle-img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  object-position: center;
  background-color: #f0f0f0;
}

/* Whole-card links: match body copy; avoid default / visited link colors */
.marketing-card-block,
.marketing-card-block:link,
.marketing-card-block:visited,
.marketing-card-block:hover,
.marketing-card-block:active {
  color: #5a5a5a;
  text-decoration: none;
}
.marketing-card-block h2,
.marketing-card-block p {
  color: #5a5a5a;
}
.marketing-card-block {
  padding: 0.75rem 0.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.15s ease;
}
.marketing-card-block:hover,
.marketing-card-block:focus {
  background-color: rgba(0, 0, 0, 0.04);
  color: #5a5a5a;
  text-decoration: none;
}
.marketing-card-block:focus {
  outline: 2px solid rgba(0, 123, 255, 0.45);
  outline-offset: 2px;
}


/* 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-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}


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