body {
  font-family: 'Noto Sans', sans-serif;
}


.footer .icon-link {
    font-size: 25px;
    color: #000;
}

.link-block a {
    margin-top: 5px;
    margin-bottom: 5px;
}

.dnerf {
  font-variant: small-caps;
}

.teaser .hero-body {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.teaser {
  font-family: 'Google Sans', sans-serif;
}


.publication-title {
}

.publication-banner {
  max-height: parent;

}

.publication-banner video {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  object-fit: fit;
}

.publication-header .hero-body {
}

.publication-title {
    font-family: 'Google Sans', sans-serif;
}

.publication-authors {
    font-family: 'Google Sans', sans-serif;
}

.publication-venue {
    color: #555;
    width: fit-content;
    font-weight: bold;
}

.publication-awards {
    color: #ff3860;
    width: fit-content;
    font-weight: bolder;
}

.publication-authors {
}

.publication-authors a {
   color: hsl(204, 86%, 53%) !important;
}

.publication-authors a:hover {
    text-decoration: underline;
}

.author-block {
  display: inline-block;
}

.publication-banner img {
}

.publication-authors {
  /*color: #4286f4;*/
}

.publication-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;

    overflow: hidden;
    border-radius: 10px !important;
}

.publication-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.publication-body img {
}

.results-carousel {
  overflow: hidden;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 0;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}


.interpolation-panel {
  background: #f5f5f5;
  border-radius: 10px;
}

.interpolation-panel .interpolation-image {
  width: 100%;
  border-radius: 5px;
}

.interpolation-video-column {
}

.interpolation-panel .slider {
  margin: 0 !important;
}

.interpolation-panel .slider {
  margin: 0 !important;
}

#interpolation-image-wrapper {
  width: 100%;
}
#interpolation-image-wrapper img {
  border-radius: 5px;
}


/* Demo CSS */
.demo_img {
  align-items: center;
  text-align: center;
  vertical-align: middle;
  /*width: 800px;*/
  /*align-items: center;*/
  /*flex-basis: 40%*/
  /* margin-left: 25%;
  margin-right: 25%; */
  /*display: block;*/
  /* position: absolute; */
  max-height: 90vh;
}

.vir_demo_img {
  align-items: center;
  text-align: center;
  vertical-align: middle;
  max-height: 90vh;
}

.demo_slider_container {
  min-width: 75px;
  width: 10%; /* Adjust as needed */
  align-items: center;
  text-align: center;
  /*height: 60px; !* Adjust as needed *!*/
  display: none;
  position: absolute;
}

.vir_demo_slider_container {
  min-width: 75px;
  width: 10%; /* Adjust as needed */
  align-items: center;
  text-align: center;
  /*height: 60px; !* Adjust as needed *!*/
  position: absolute;
}


.slider_group {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  max-height: 90vh;
}

.vir_slider_group {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  max-height: 90vh;
}

.demo_slider {
  --SliderColor: hsl(50, 100%, 50%);
  -webkit-appearance: none;
  width: 20px;
  height: 5px;
  outline: none;
  opacity: 1; /* Initially hide the slider */
  transition: height,width .5s ease; /* Smooth transition */
  border-radius: 10px;
  background-image: linear-gradient(to right, #f06 0%, #f06 2%, #f4d 18%, #94f 34%, #09f 50%, #7c3 66%, #fe0 82%, #fb0 98%, #fb0 100%);
}

.demo_slider_container>input {
  width: 0px;
  border: 0px;
  transition: all .5s ease; /* Smooth transition */
  accent-color: var(--SliderColor);
}

.vir_demo_slider_container>input {
  width: 0px;
  border: 0px;
  transition: all .5s ease; /* Smooth transition */
  accent-color: yellow;
}

.demo_slider_container:hover>input{
  width: 100%;
  opacity: 1; /* Show the slider on hover */
  border: 2px solid white;
  transition: all .5s ease; /* Smooth transition */
  accent-color: var(--SliderColor);
}

.vir_demo_slider_container:hover>input{
  width: 100%;
  opacity: 1; /* Show the slider on hover */
  border: 2px solid white;
  transition: all .5s ease; /* Smooth transition */
  accent-color: yellow;
}

.demo_slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 17.5px;
  background: var(--SliderColor);
  cursor: pointer;
  /*border: 4px solid red; !* White border *!*/
  transition: all .5s ease; /* Smooth transition */
}

.vir_demo_slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 17.5px;
  background: var(--SliderColor);
  cursor: pointer;
  /*border: 4px solid red; !* White border *!*/
  transition: all .5s ease; /* Smooth transition */
}

.demo_slider_container:hover .demo_slider::-webkit-slider-thumb {
  width: 30px;
  height: 30px;
  border-radius: 12.5px;
  /*border: 4px solid white; !* White border *!*/
}

.vir_demo_slider_container:hover .vir_demo_slider::-webkit-slider-thumb {
  width: 30px;
  height: 30px;
  border-radius: 12.5px;
  /*border: 4px solid white; !* White border *!*/
}

.content{
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  /*padding: 5px 5px;*/
  /*margin: 5px auto;*/
}

.my_carousel-control {
  width: 60px;
  height: 30%;
  top: 50%;
  transform: translateY(-50%);
}

.white_carousel-control {
  filter: invert(0) brightness(100%);
}

.demo_carousel_item {
  overflow: hidden;
}

.inner-div{
  float:left;
   left:50%;
   position: relative;
}

.centered-div{
   position: relative;
   float:left;
   left: -50% ;
   width: auto;
}

/* Multiple items carousel */

.multi-carousel-inner {
 
  display: flex;
}

.multi-carousel-item {
  margin-right: 0;
  flex: 0 0 33.2%;
  display: block;
  margin: 0 .5em;
}

.img-wrapper {
  max-width: 100%;
  height: 50vh;
}

.img-wrapper>img {
  max-width: 100%;
  max-height: 100%;
}

/* Gemini carousel overlay */
.carousel-overlay {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Removed background, color, etc.  We're just positioning now. */
  display: none;  /*  Initially hidden; now using display instead of opacity */
  pointer-events: none; /* Starts with no pointer events */
}

.carousel-overlay img{ /* Overlay image styling */
 display: block; /*  Remove extra space. */
 width: 100%;
 height: 100%;
 /* border-radius: 8px; */
}

.carousel-overlay.active {
  display: block; /*  Show on active */
  pointer-events: auto;  /*Allow interaction once shown.*/
}

.inactive {
  display: none; /*  Hide on inactive */
  pointer-events: none; /* No interaction when hidden */
}

.note {
  display: flex;
  justify-content: center; 
  align-items: center;
  position: relative;
  width: fit-content;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin-top: 28px; 
  font-size: 1rem; 
  line-height: 1.5; 
  font-weight: 500;
  background-color: rgb(229, 246, 253);
  transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 4px;
  padding: 6px 16px;

}

.svg-icon {
  height: 3vh;
  margin-left: 8px; 
  margin-right: 8px; 
  vertical-align: bottom;
}

.centered-text {
  text-align: center;
}


/* Gemini Pointlight */

.mainImage {
  /* width: 100%;
  height: 100%; */
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover; /* Important: similar to background-size: cover */
  object-position: center; /* Important: similar to background-position: center */
}


.overlay-button {
  position: absolute;
  z-index: 10;
  width: 4%;
  height: 4%;
  border-radius: 50%;
  background-color: rgba(229, 246, 253, 0.5);
  border: 2px solid rgba(0, 0, 0, 0.7);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
  /* Prevent text selection on mobile */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */
}

.overlay-button:hover {
  background-color: rgba(229, 246, 253, 0.7);
  border-color: rgba(0, 0, 0, 0.9);
}

.hidden {
  display: none; /* Hide the element */
}

.approach-img {
  padding-bottom: 5px;
  margin-bottom: 15px;
}

#replay-video {
  width: 100%;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.header-container>h5 {
  width: 33.333%;
}

.demo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Grey overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer; /* Indicate it's clickable */
  z-index: 10; /* Ensure overlay is on top */
}

.demo-overlay.hidden {
  display: none;
}

.touch-icon {
  filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
  height: 4%;
  width: 4%;
  position: absolute;
}

.virtual-container {
  display: inline-block;
}

/* Make training / inference images smaller and responsive */
.training-img {
  max-width: 65%;     /* shrink to 60% of container — change to 40% / 300px etc. as needed */
  height: auto;
  display: block;
  margin: 0.8rem auto; /* center and add spacing */
}

.inference-img {
  max-width: 80%;     /* shrink to 60% of container — change to 40% / 300px etc. as needed */
  height: auto;
  display: block;
  margin: 0.8rem auto; /* center and add spacing */
}

/* Tighter layout on small screens */
@media (max-width: 900px) {
  .training-img,
  .inference-img {
    max-width: 90%;
  }
}