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

:root {
  --bg-color: white;
  --bg-color-hover: #f2f2f2;
  --text-color: black;
  --background-color: #0d6efd;
  --border-color: #0d6efd;
  --marketing-color: #5a5a5a;
  --border: 1px solid #f2f2f2;
  --box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  --box-mix-blend-mode: multiply;
}

@media screen and (prefers-color-scheme: dark) {
  :root {
      --bg-color: black;
      --bg-color-hover: #111;
      --text-color: white;
      --background-color: #ffc107;
      --border-color: #ffc107;
      --marketing-color: #afafaf;
      --border: 1px solid #111;
      --box-shadow: 0 2px 5px rgba(255, 255, 255, 0.2);
      --box-mix-blend-mode: difference;
  }
}

body {
  /* padding-top: 3rem; */
  padding-bottom: 3rem;
  color: var(--marketing-color);
}


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

/* Carousel base class */
.carousel {
  margin-bottom: 2rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 1rem;
  z-index: 10;
  color: white;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 32rem;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  /* height: 32rem; */

  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 50% 0%;
}
.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg,
          rgba(0, 0, 0, 0) 20%,
          rgba(0, 0, 0, 0.9) 80%);
}
/* Carousel customization for light and dark themes */
.marketing-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-top: .5rem;
  flex: 1;
  border: var(--border);
  transition: 250ms;
  cursor: pointer;
  user-select: none;
}
.marketing-box img {
  max-width: 165px;
  margin-bottom: 1rem;
}
.marketing-box-acp {
  border: var(--border);
}
.marketing-box-acp:hover {
  background-color: var(--bg-color-hover);
  box-shadow: var(--box-shadow);
}
.marketing-box-acp:hover .btn {
  color: var(--bg-color);
  background-color: var(--background-color);
  border-color: var(--border-color);
}
.marketing-box-acp img {
  mix-blend-mode: var(--box-mix-blend-mode);
}


/* 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;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */


/* 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;
  /* rtl:remove */
  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) {
  .marketing-box {
      flex: 1 0 100%;
  }
}
