/* CSD custom changes to AI template CSS */
/* center logos in carousel */
.owl-carousel .owl-stage {
  display: flex;
  align-items: center;
}

.client-logo {
  max-height: 300px;
  max-width: 300px;
  aspect-ratio: auto;
}

.image-item {
  padding: 25px;
}

.image-carousel img {
  margin-bottom: 25px;
}

.lightbox img {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.logo-icon {
  margin-bottom: 10%;
}

.logo-carousel {
  margin-right: 0px;
}

.mern-carousel img {
  /* display: block;
  width: 100%;
  max-width: 500px;
  height: auto; */

  object-fit: contain;
  max-height: 500px;

  /* max-width: 500px;
  max-height: 600px; */
  
  /* max-width: auto;
  height: 100%;
  margin-bottom: 0px; */
  /* height: 400px;
  width: auto; */
  /* width: 100%; */
  /* height: 300px; */
  /* object-fit: cover;
  object-position: bottom; */
}

/*
Support for play button overlay
*/

/* Container needed to position the overlay */
.video-container {
  position: relative;
  width: 100%;
  /* max-width: 400px; */
}

/* Make image responsive */
.image {
  width: 100%;
  height: auto;
}

/* The overlay effect (full height and width) - lays on top of the container and over the image */
.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  transition: .3s ease;
}

/* The icon inside the overlay is positioned in the middle vertically and horizontally */
.icon {
  color: white;
  /* font-size: 100px; */
  opacity: 0.7;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

/* When you move the mouse over the icon, change color */
.fa-play-circle:hover {
  color: var(--light);
  opacity: 1.0;
}

/* adjust for navbar height when jumping to about link */
.nav-section {
  padding-top: 75px;
  margin-top: -75px;
}

/* restore pre-BS v5.3 button effect just for this button */
.back-to-top:focus {
  /* outline: 4px solid rgb(154, 188, 231); */
  border-radius: 50px;
  box-shadow: 0px 0px 0px 4px rgba(154, 188, 231, 0.5);  
}

.scroll-pos {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 30px;
  background-color: blueviolet;
  color: white;
  border: 1px solid red;
  z-index: 10000;
}

/* prevent cursor from changing on BS btn class used in hero titles */
.title-button {
  cursor: default;
}

.github-button {
  margin-left: 6%;
  margin-right: 6%;
  width: 100%;
}