.container {
  width: 75%; 
}

a {
  color: #df471c;
}

.spacer {
  height: 100px; 
}

hr {
  margin-top: -1.2rem;
  margin-bottom: 1rem;
  border: 0;
  border-top: 0.3rem solid #df471c;
}
  
p {
  text-align: justify;
  font-size: 1.2em;
}

h3 {
  padding-top: 3rem;
  padding-bottom: 1rem;
}

h1 {
  padding-top: 3rem;
}

.method-pill {
  background-color: white;
  color: #df471c;
  border-radius: 10px; 
  padding: 4px 10px;
  margin: 0 3px;
}

.method-pill.active {
  background-color: #4289c6;
  color: white;
  border-radius: 10px; 
  padding: 5px 10px;
}

.method-pill:hover {
  cursor: pointer;
  background-color: #d6d6d69c;
}

.method-pill.active:hover {
  background-color: #4289c6;
}

.pill:hover {
  cursor: pointer;
}

.card {
  margin-bottom: 5rem; 
}

.scene-pill {
  margin-right: 1rem;
}

.carousel-indicators {
  top:96%;
  filter: invert(1) sepia(1) saturate(5) hue-rotate(90deg);
}

.carousel-caption {
  top:83%;
  box-shadow: none;
  text-shadow: none;
  color: rgb(99, 96, 96); 
}

.carousel-caption h5 {
  font-size: 16px;
}

.carousel-control-prev-icon {
  filter: invert(1) sepia(1) saturate(5) hue-rotate(90deg);
  position: absolute;
  top: 95%;
  background-size: 2em 20em;
}

.carousel-control-next-icon {
  filter: invert(1) sepia(1) saturate(5) hue-rotate(90deg);
  position: absolute;
  top: 95%;
  background-size: 2em 20em;
}

.carousel-item {
  display: none;
}

.carousel-item.active.example1 {
  display: block;
}

.carousel-indicators button {
  display: none; 
}


/* Make the active item visible, but only if its example is active */
#carouselExampleChallenging.show-example-1-active .example1.active,
#carouselExampleChallenging.show-example-2-active .example2.active {
  display: block;
}

#carouselExampleChallenging.show-example-1-active .carousel-indicators button {
  /* Hide all when Example 1 is active, then show the ones we want */
  display: none !important;
}

#carouselExampleChallenging.show-example-1-active .carousel-indicators button[data-bs-slide-to="0"],
#carouselExampleChallenging.show-example-1-active .carousel-indicators button[data-bs-slide-to="1"] {
  display: inline-block !important; /* Show indicators for Example 1 */
}

#carouselExampleChallenging.show-example-2-active .carousel-indicators button {
  /* Hide all when Example 2 is active, then show the ones we want */
  display: none !important;
}

#carouselExampleChallenging.show-example-2-active .carousel-indicators button[data-bs-slide-to="2"],
#carouselExampleChallenging.show-example-2-active .carousel-indicators button[data-bs-slide-to="3"] {
  display: inline-block !important; /* Show indicators for Example 2 */
}

#carouselExampleCaptions.show-example-1-active .example1.active,
#carouselExampleCaptions.show-example-2-active .example2.active 
#carouselExampleCaptions.show-example-3-active .example3.active 
#carouselExampleCaptions.show-example-4-active .example4.active {
  display: block;
}

#carouselExampleCaptions.show-example-1-active .carousel-indicators button {
  /* Hide all when Example 1 is active, then show the ones we want */
  display: none !important;
}

#carouselExampleCaptions.show-example-1-active .carousel-indicators button[data-bs-slide-to="0"],
#carouselExampleCaptions.show-example-1-active .carousel-indicators button[data-bs-slide-to="1"] {
  display: inline-block !important; /* Show indicators for Example 1 */
}

#carouselExampleCaptions.show-example-2-active .carousel-indicators button {
  /* Hide all when Example 2 is active, then show the ones we want */
  display: none !important;
}

#carouselExampleCaptions.show-example-3-active .carousel-indicators button {
  /* Hide all when Example 2 is active, then show the ones we want */
  display: none !important;
}

#carouselExampleCaptions.show-example-4-active .carousel-indicators button {
  /* Hide all when Example 2 is active, then show the ones we want */
  display: none !important;
}

#carouselExampleCaptions.show-example-2-active .carousel-indicators button[data-bs-slide-to="2"],
#carouselExampleCaptions.show-example-2-active .carousel-indicators button[data-bs-slide-to="3"] {
  display: inline-block !important; /* Show indicators for Example 2 */
}

#carouselExampleCaptions.show-example-3-active .carousel-indicators button[data-bs-slide-to="4"],
#carouselExampleCaptions.show-example-3-active .carousel-indicators button[data-bs-slide-to="5"] {
  display: inline-block !important; /* Show indicators for Example 2 */
}

#carouselExampleCaptions.show-example-4-active .carousel-indicators button[data-bs-slide-to="6"],
#carouselExampleCaptions.show-example-4-active .carousel-indicators button[data-bs-slide-to="7"] {
  display: inline-block !important; /* Show indicators for Example 2 */
}

/* Ensure the initial active indicator is visible on load */
.carousel-indicators button[data-bs-slide-to="0"] {
  display: inline-block;
}

/* Default button style (gray) */
#example1Btn,
#DatasetBtn1,
#DatasetBtn2,
#DatasetBtn3,
#DatasetBtn4,
#example2Btn {
  background-color: #808080; /* Gray */
  color: white;
  border: none;
}

/* Active button style (orange) */
#example1Btn.active,
#DatasetBtn1.active,
#DatasetBtn2.active,
#DatasetBtn3.active,
#DatasetBtn4.active,
#example2Btn.active {
  background-color: #df471c; /* Orange */
  color: white;
  border: none;
}

/* Ensure Bootstrap's default active state doesn't interfere */
#example1Btn:focus,
#example1Btn:active,
#DatasetBtn1:focus,
#DatasetBtn1:active,
#DatasetBtn2:focus,
#DatasetBtn2:active,
#DatasetBtn3:focus,
#DatasetBtn3:active,
#DatasetBtn4:focus,
#DatasetBtn4:active,
#example2Btn:focus,
#example2Btn:active {
  outline: none !important;
  box-shadow: none !important;
}


.centered-video {
  max-width: 80%;
  max-height: 80%;
  margin: auto;
  display: block;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 40px;
}

.card-text {
  margin: 10px 0 10px 20px;; /* Adjust these values as needed */
}

.scaled-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
