
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  background-color: hsl(0, 0%, 100%);  
  border-bottom: 1px solid rgb(199, 199, 199);
  position: fixed; /* Fix the position of the header */
  top: 0; /* Position it at the top of the viewport */
  left: 0; /* Align it to the left */
  right: 0; /* Stretch it to the right side of the viewport */
  z-index: 1000; /* High z-index value to ensure it stays on top of other content */

}

.logo {
  margin: 0 20px; /* Add some space between the logos */
  height: 60px;   /* Set the height for all logos, they'll scale proportionally */
}
body {
  font-family: 'Noto Sans', sans-serif;
  margin: 0; /* Remove default margin */
  padding-top: 40px; /* Add padding to the top of the body to prevent content from being overlapped by the fixed header. Adjust this value based on the height of your header */
}


.footer .icon-link {
    font-size: 25px;
    color: #000;
}
.footer .lisence-link {
  font-size: 15px;
  color: #888888;
}
.link-block a {
    margin-top: 5px;
    margin-bottom: 5px;
}

.publication-links .link-block {
  margin: 0 0.35rem;
}

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


.hero-body {
  width: 80%; 
  margin-left: auto;
  margin-right: auto;
  padding-top: 0; 
  padding-bottom: 3rem;
}

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

.teaser .hero-body {
  width: 95%; 
  margin-left: auto;
  margin-right: auto;
  padding-top: 0; 
  padding-bottom: 3rem;
}

.hero-body1 {
  display: flex;
  justify-content: center; /* Center content horizontally */
}

.side-by-side {
  display: flex;
}

.image-container {
  flex: 1; /* Equal width for both image containers */
}

.image-container img {
  width: 100%; /* Make images fill the container */
}

.video-container {
  flex: 1; /* Take remaining space */
  display: flex;
  flex-direction: column;
}

.video-container video {
  width: 100%; /* Make video fill the container */
}

.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-title .title-line-1 {
  white-space: nowrap;
}

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

.publication-authors a.cvpr-link,
.publication-authors a.cvpr-link:hover {
  color: #000 !important;
}

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

.publication-banner img {
}

.publication-authors {
  font-size: 2.0rem;
  /*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;
}

/* Method figure: wider than default content width, centered and responsive */
.method-figure {
  width: 100%;
  max-width: 1500px;
  margin: 0.5rem auto;
}

.method-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.quantitative-figure {
  max-width: 600px;
}

.quantitative-figure-new {
  max-width: 1500px;
}

.quantitative-figure-new-new {
  max-width: 1000px;
}

.abstract-text {
  font-size: 1.2rem;
  line-height: 1.7;
}
/* 
#teaser {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

@media (max-width: 768px) {
  #teaser {
    height: 320px;
  }
} */

#teaser {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: transparent;
}

/* .teaser-frame {
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 8px;
  width: 100%;
  aspect-ratio: 1920 / 740;
} */

/* @media (max-width: 768px) {
  #teaser {
    height: 320px;
  }
} */

/* Mobile/tablet responsiveness */
img,
video {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1024px) {
  .header {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 8px 10px;
    position: static;
  }

  body {
    padding-top: 0;
  }

  .logo {
    height: 44px;
    margin: 0 6px;
  }

  .hero-body {
    width: 92%;
    padding-bottom: 2rem;
  }

  .publication-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .publication-title {
    font-size: clamp(1.35rem, 6.2vw, 1.9rem) !important;
    line-height: 1.2;
  }

  .publication-title .title-line-1 {
    white-space: normal;
  }

  .publication-title .title-line-1,
  .publication-title .title-line-2 {
    display: block;
  }

  .publication-authors {
    font-size: 1rem !important;
  }

  .abstract-text {
    font-size: 1rem;
    line-height: 1.6;
  }

  .title.is-2 {
    font-size: 1.7rem !important;
  }

  .title.is-3 {
    font-size: 1.4rem !important;
  }

  .teaser-frame {
    aspect-ratio: 2520 / 1080;
  }

  .publication-links .button.is-medium {
    font-size: 0.95rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .footer .lisence-link {
    font-size: 13px;
  }

  .hero-body {
    width: 100%;
  }
}
