
/*** Carousel ***/
.carousel {
  width: 100%;
  /* Hieght of navbar */
  margin-top: 112px;
}
.carousel-item {
  position: relative;
  height: 500px;
  overflow: hidden;
}
.carousel-image {
  position: relative;
  width: 108%;
  height: 520px;
  margin: -20px -20px -20px -20px;
  object-fit: cover;
  animation: blur 1s;
  animation-delay: 1s;
  animation-fill-mode: forwards;
}
.carousel-caption {
  position: absolute;
  width: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  margin:auto;
}
.carousel-caption h1 {
  margin-bottom: 0.75em;
}
.carousel-caption h3 {
  margin-bottom: 0.75em;
}
.carousel-button {
  background-color: Transparent;
  border-color: #fff;
}
.carousel-button:hover {
  background-color: #fff;
  border-color: #fff;
  color: rgba(0, 0, 0, 0.4);
}
li::marker {
  content: "";
}

/*** Container ***/
.large-line-height {
  line-height: 175%;
}

.row-no-margin {
  margin-bottom: 0;
}
.info-col, .img-col {
  height: 400px;
}

#colImg {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1500px) {
  .carousel {
    margin-top: 102px;
  }
}
@media (max-width: 1200px){
  .carousel {
    margin-top: 102px;
  }
  .carousel-caption {
    width: 70%;
  }
  .nav-item {
    text-align: left;
  }
}

/****** Phone Resizing ******/
@media (max-width: 992px){
  h1 {
    font-size: 34px;
  }
  h3 {
    font-size: 24px;
  }

  .carousel-item {
    height: auto;
  }

  .img-col, .info-col {
    height: 300px;
  }
}

/*** Phone Resizing **/
@media (max-width: 768px){
  /* all.css hides these images normally, so that they disappear for other pages  */
  .img-col {
    display: initial;
  }
  .info-col {
    height: auto;
  }
  .carousel-item {
    height: 300px;
  }
   
  .carousel-caption{
    top: 25%;
    transform: translate(-50%, -25%);
  }
}

/*** Phone Resizing **/
@media (max-width: 576px){
  .carousel-button {
    font-size: 16px;
  }
  .carousel {
    margin-top: 76px;
  }
}
