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

.chapter-sections > .chapter-section:nth-child(odd) {
  background: #f7f7f7;
}

.chapter-sections > .chapter-section:nth-child(even) {
  background: #fff;
}


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

.stop-motion {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
  box-shadow: 0 12px 30px rgba(10, 10, 10, 0.12);
}

.stop-motion-frame {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  animation: stop-motion-cycle 12s infinite;
  opacity: 0;
}

.stop-motion-frame:not(:first-child) {
  position: absolute;
  inset: 0;
}

.stop-motion-frame-1 {
  animation-delay: 0s;
}

.stop-motion-frame-2 {
  animation-delay: 3s;
}

.stop-motion-frame-3 {
  animation-delay: 6s;
}

.stop-motion-frame-4 {
  animation-delay: 9s;
}

@keyframes stop-motion-cycle {
  0%,
  20% {
    opacity: 1;
  }

  25%,
  95% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stop-motion-frame {
    animation: none;
  }

  .stop-motion-frame-1 {
    opacity: 1;
  }
}

.experiment-visualization-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(10, 10, 10, 0.12);
}


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

.image-compare-panel {
  margin-top: 1rem;
}

.image-compare-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.image-compare-tab {
  border: 1px solid #d6d6d6;
  border-radius: 999px;
  background: #fff;
  color: #363636;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.65rem 1rem;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.image-compare-tab.is-active {
  border-color: #363636;
  background: #363636;
  color: #fff;
}

.image-compare {
  --position: 50%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
  box-shadow: 0 12px 30px rgba(10, 10, 10, 0.12);
}

.image-compare img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
}

.image-compare-overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
  transition: opacity 160ms ease;
}

.image-compare-overlay img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.image-compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.image-compare-label {
  position: absolute;
  top: 0.75rem;
  z-index: 1;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.45rem 0.7rem;
  pointer-events: none;
}

.image-compare-label-base {
  right: 0.75rem;
}

.image-compare-label-overlay {
  left: 0.75rem;
}

.image-compare-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
}

.image-compare-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

@media screen and (max-width: 640px) {
  .image-compare-tabs {
    justify-content: stretch;
  }

  .image-compare-tab {
    flex: 1;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
}
