.blue {
    color: #1F88E5 !important;
}

.yellow {
    color: #FFC010 !important;
}

.purple {
    color: #9b10ff !important;
}

.slideshow-container {
    height: 300px; /* Adjust as needed */
    margin: auto;
}

.slideshow-container img {
    position: absolute;
    width: 100%;
    opacity: 0;
    animation: fadeLoop 16s infinite;
}

.slideshow-container img:nth-child(1) { animation-delay: 0s; }
.slideshow-container img:nth-child(2) { animation-delay: 4s; }
.slideshow-container img:nth-child(3) { animation-delay: 8s; }
.slideshow-container img:nth-child(4) { animation-delay: 12s; }

@keyframes fadeLoop {
    0% { opacity: 0; }
    6.25% { opacity: 1; }  /* Fade in */
    25% { opacity: 1; }    /* Stay visible */
    31.25% { opacity: 0; } /* Fade out */
    100% { opacity: 0; }
}

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: 0;
  padding-bottom: 3rem;
}

.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;
}


/* New */

.fig-container {
  width: min(20vw, 1500px);
  margin: 2rem auto;
  display: flex;
  justify-content: center;  /* horizontal center */
  align-items: center; 
}

/* Main interactive figures */
.fig-container iframe {
  display: block;
  width: 100%;
  aspect-ratio: 12 / 10;
  height: auto;
  min-height: 500px;
  max-height: 95vh;
  border: 0;
}

/* Optional: second figure can be shorter */
#interactive_fig {
  min-height: 3%;
  aspect-ratio: 12 / 10;
  max-height: 70vh;
  min-width: 100vh;
  max-width: 110vh;
}

#framework_fig {
  min-height: 3%;
  max-height: 25vh;
  min-width: 20px;
  max-width: 90vh;
}
