body {
  overflow: overlay;
}

/* Colors */
:root {
  --color-default: #2b180d;
  --color-primary: #56b8e6;
  --color-secondary: #1b2f45;
}

:root {
  scrollbar-color: #666 #383838 !important;
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 6px;
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(102, 102, 102, 1);
  border-radius: 2px;
}

.bg-present-card {
  background-color: rgb(204, 204, 204);
}

.bg-former-card {
  background-color: rgb(255, 255, 255);
}

.bg-present {
  background-color: rgb(255, 255, 255);
}


.bg-former {
  background-color: rgb(219, 219, 219);
}

.text-email {
  color: rgb(83, 91, 94);
  /* color: rgb(26, 66, 80); */
}



.bg-intro {
  content: "";
  background: linear-gradient(rgba(10, 20, 23, 0.6), rgba(10, 20, 23, 0.7)), url("../assets/img/backgrounds/bg1.png") no-repeat center center/cover;
}

.bg-navbar {
  content: "";
  background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(10, 20, 23, 0.9)), url("../assets/img/backgrounds/bg1.png") no-repeat center center/cover;
}

.bg-intro-topics {
  content: "";
  background-color: #c9cdd2;
  /*   background-color: #ffffff; */
  /* background: linear-gradient(rgba(10, 20, 23, 0.6), rgba(10, 20, 23, 0.7)), url("../assets/img/backgrounds/bg2.png") no-repeat center center/cover; */
}

.bg-group {
  content: "";
  background-color: #c9cdd2;
  /*   background-color: #ffffff; */
  /* background: linear-gradient(rgba(10, 20, 23, 0.6), rgba(10, 20, 23, 0.7)), url("../assets/img/backgrounds/bg2.png") no-repeat center center/cover; */
}

.topics-info {
  content: "";
  background: linear-gradient(rgba(105, 113, 116, 0.6), rgba(10, 20, 23, 0.6));
  border-radius: 20px
}


/* Fixed aspect ratio container for carousel */
.carousel-container {
  position: relative;
  width: 100%;
  padding-bottom: 38%;
  /* 16:9 aspect ratio */
  background-color: #f5f5f5;
  overflow: hidden;
}

.carousel-container .carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.carousel-container .carousel-inner {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-container .carousel-item {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.carousel-container .carousel-item.active {
  opacity: 1;
  position: relative;
}

/* Fade transitions */
.carousel-container .carousel-item-prev,
.carousel-container .carousel-item-next,
.carousel-container .carousel-item.active.carousel-item-start,
.carousel-container .carousel-item.active.carousel-item-end {
  opacity: 0;
}

.carousel-container .carousel-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Ensure carousel controls are visible and clickable */
.carousel-container .carousel-control-prev,
.carousel-container .carousel-control-next {
  z-index: 15;
  height: 100%;
  width: 10%;
  opacity: 0.8;
}

.carousel-container .carousel-control-prev:hover,
.carousel-container .carousel-control-next:hover {
  opacity: 1;
}

/* Style the arrow icons */
.carousel-container .carousel-control-prev-icon,
.carousel-container .carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.carousel-container .carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-container .carousel-control-next:hover .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.8);
  border-color: #fff;
}

/* Custom styles for carousel indicators */
#recenthl .carousel-indicators {
  bottom: 10px;
  z-index: 15;
}

#recenthl .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.8);
  margin: 0 5px;
  cursor: pointer;
}

#recenthl .carousel-indicators button.active {
  background-color: rgba(0, 0, 0, 0.9);
  border: 2px solid rgba(255, 255, 255, 1);
  width: 14px;
  height: 14px;
}





/* @media (min-width: 1034px) {
    .bg-intro:after {
      position: absolute;
      content: "";
      width: 100%;
      background: var(--color-secondary);
      opacity: 0.40;
      top: 0;
      bottom: 0;
    }
  } */

/* .bg-intro:before {
    position: absolute;
    content: "";
    background: rgba(27, 47, 69, 0.6);
    inset: 0;
  } */

/* @media (max-width: 1034px) {
    .bg-intro:before {
      background: rgba(27, 47, 69, 0.7);
    }
  } */

/* .bg-intro .container {
    z-index: 1;
  } */

/* @media (min-width: 1365px) {
    .bg-intro {
      background-attachment: fixed;
    }
  } */