.background-fluid {
  background-color: var(--grey);
  padding-top: 9em;
  padding-bottom: 16em;

  height: calc(100vh - 7em);

  background-image: url(../images/backgrounds/silver-round.jpg);

  /* Set a specific height */
  min-height: 910px;

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.main-header {
  color: var(--white);
  font-size: 2.8rem;
  text-align: center;
  padding-bottom: -2em;
}


/* Custom cards */
.custom-col {
  margin-top: 7em;
}

.card-custom {
  border-radius: 0;
  cursor: pointer;

  transition: 0.7s;
}

.card-custom:hover {
  transform: translate(0, -2em);
}

.card-img-float {
  max-width: 90%;
  height: 210px;
  margin: auto;
  margin-top: -2rem;
  object-fit: cover;

  -webkit-box-shadow: 0 10px 6px -6px #777;
  -moz-box-shadow: 0 10px 6px -6px #777;
  box-shadow: 0 10px 6px -6px #777; 

  transition: 1s;
}

.card-img, .card-img-top {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.card-custom:hover>.card-img-float {
  transform: translate(0, -1.5em);
}

.card-custom .card-body {
  max-width: 85%;
  margin: auto;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 3em;
  height: 240px;
}

.card-custom .card-title {
  font-size: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
  color: var(--blue);
}

.card-custom .card-body p {
  max-width: 60ch;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  /* text-align: justify;
  word-spacing: -2px; */

  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* .info-icon {
  text-align: center;
  margin-top: 2rem;
}

.info-icon i {
  font-size: 2rem;
  color: var(--blue);
}

.info-icon i:hover {
  color: var(--light-blue);  
} */


/* Custom Carousel */
.custom-carousel .carousel-indicators {
  margin-bottom: -1.8rem;
}

.custom-carousel .carousel-indicators .active {
  background-color: var(--blue);
}

.custom-carousel .carousel-indicators button {
  background-color: var(--white);
  opacity: 0.8;
}

.custom-carousel .carousel-indicators button:hover {
  background-color: var(--light-blue);
}

/* .custom-carousel .carousel-indicators button {
  width: 1rem;
  height: 1.1rem;
  border-radius: 100%;
  margin: 0.5rem
} */

@media only screen and (max-width: 992px) {
  .background-fluid {
    height: auto;
  }
}

@media only screen and (max-width: 400px) {
  .background-fluid {
    height: auto;
  }

  .container .main-header {
    margin-top: -25%;
    margin-bottom: -25%;
  }
}