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

/* Prism dispersion effect for PRISM title */
.publication-title .prism-text {
    background: linear-gradient(
      90deg,
      #ff0000 0%,   /* Red */
      #ff7f00 14%,  /* Orange */
      #ffff00 28%,  /* Yellow */
      #00ff00 43%,  /* Green */
      #0000ff 57%,  /* Blue */
      #4b0082 71%,  /* Indigo */
      #9400d3 86%,  /* Violet */
      #ff0000 100%   /* Red */
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: prism-shift 3s ease-in-out infinite alternate;
    display: inline-block;
    font-weight: 700;
}

@keyframes prism-shift {
    0% {
      background-position: 0% center;
    }
    100% {
      background-position: 200% center;
    }
}

/* Alternative: Individual rainbow letters for better effect */
.publication-title .prism-dispersion {
    display: inline-block;
}

.publication-title .prism-dispersion span {
    display: inline-block;
    animation: prism-glow 2s ease-in-out infinite alternate;
}

.publication-title .prism-dispersion span:nth-child(1) { color: #ff0000; animation-delay: 0.0s; text-shadow: 0 0 20px rgba(255, 0, 0, 0.5); }
.publication-title .prism-dispersion span:nth-child(2) { color: #ff7f00; animation-delay: 0.2s; text-shadow: 0 0 20px rgba(255, 127, 0, 0.5); }
.publication-title .prism-dispersion span:nth-child(3) { color: #ffff00; animation-delay: 0.4s; text-shadow: 0 0 20px rgba(255, 255, 0, 0.5); }
.publication-title .prism-dispersion span:nth-child(4) { color: #00ff00; animation-delay: 0.6s; text-shadow: 0 0 20px rgba(0, 255, 0, 0.5); }
.publication-title .prism-dispersion span:nth-child(5) { color: #0000ff; animation-delay: 0.8s; text-shadow: 0 0 20px rgba(0, 0, 255, 0.5); }

@keyframes prism-glow {
    0% {
      opacity: 1;
      transform: scale(1);
      filter: brightness(1);
    }
    100% {
      opacity: 0.8;
      transform: scale(1.05);
      filter: brightness(1.3);
    }
}

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

div#comparison {
  width: 60vw;
  height: 60vw;
  max-width: 600px;
  max-height: 600px;
  overflow: hidden;
}

div#comparison figure {
  background-image: url("static/images/a_dog_input.png");
  background-size: cover;
  position: relative;
  font-size: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

div#comparison figure>img {
  position: relative;
  width: 100%;
}

div#comparison figure div {
  background-image: url("static/images/a_dog_output.png");
  background-size: cover;
  position: absolute;
  width: 50%;
  box-shadow: 0 5px 10px -2px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  bottom: 0;
  height: 100%;
}