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


#copyButton {

  margin-top: 0px;
  margin-right: 10px;
  border-radius: 5px;
  border: 0px solid #ccc;
  background-color: #fff;
  padding: 5px;
  font-size: 12px;
  cursor: pointer;
}

#copyButton:hover {
  background-color: #eee;
}

#bibtexTitle {
  margin-bottom: 0px;
}

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

.slider-block {
  display: none;
  /* Hide all divs initially */
  opacity: 0;
}

.slider-block.show {
  display: block;
  opacity: 1;
}

.sliders-container {
  display: flex;
  justify-content: space-between;
  /* Or 'space-around' for more spacing */
  gap: 0px;
  /* Adds space between the sliders */
  flex-wrap: unset;
  /* Prevents the sliders from wrapping */
}

.slider-wrapper {
  width: 48%;
  /* Make each slider 48% of the container width for side-by-side */
}

#trans_depth,
#trans_normal,
#trans_rgb,
#trans_object,
#transparent_9_depth,
#transparent_9_normal,
#transparent_9_rgb,
#transparent_9_gt,
#transparent_9_depth,
#transparent_9_normal,
#transparent_9_rgb,
#transparent_9_gt,
#black_9_depth,
#black_9_normal,
#black_9_rgb,
#black_9_gt,
#black_5_depth,
#black_5_normal,
#black_5_rgb,
#black_5_gt,
#reflective_9_depth,
#reflective_9_normal,
#reflective_9_rgb,
#reflective_9_gt,
#reflective_5_depth,
#reflective_5_normal,
#reflective_5_rgb,
#reflective_5_gt,
#coke_9_depth,
#coke_9_normal,
#coke_9_rgb,
#coke_9_gt,
#coke_5_depth,
#coke_5_normal,
#coke_5_rgb,
#coke_5_gt {
  width: 100%;
  /* General width for all sliders */
}

.btn {
  background-color: #8b00e1cb !important;
  /* Green background */
  color: white;
  /* White text */
  padding: 10px 20px;
  /* Padding around the button */
  border: none;
  /* Remove border */
  border-radius: 5px;
  /* Rounded corners */
  cursor: pointer;
  /* Pointer cursor on hover */
  font-size: 16px;
  /* Font size */
  margin: 10px;
  /* Space between buttons */
  transition: background-color 0.3s ease;
  /* Smooth background color transition */
}

.btn:hover {
  background-color: #8b00e178 !important;
  /* Darker green on hover */
}

.btn.active {
  background-color: #8b00e178 !important;
}

.btn.inactive {
  background-color: #8b00e1cb !important;
}

/* this is for text and image block */
.hidden {
  display: none;
}

.navbar-item.center {
  flex-grow: 0;
  flex-direction: column;
  justify-content: center;
}


.tldr {
  font-size: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 8px;
  background: linear-gradient(135deg, #60a0ff33, #fd8eff2c);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#Architecture-figure {
  display: flex;
  align-items: center;
  /* top-align image and caption */
  justify-content: center;
  gap: 2rem;
  /* space between image and caption */
  margin-top: 1.5rem;
}

#Architecture-figure img {
  max-width: 50%;
  /* ↓ smaller figure */
  height: auto;
}

#Architecture-figure figcaption {
  max-width: 400px;
  text-align: left;
  font-size: 1rem;
}

.navbar-item img {
  max-height: none !important;
  /* override Bulma */
}

.navbar-logo {
  height: 40px;
  /* adjust as needed */
  margin-right: 1rem;
  padding: 0;
}

/* Affiliation Logos */
.affiliation-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
}

.affiliation-link {
  padding: 0;
  display: flex;
  align-items: center;
}

.kaist-link {
  margin-right: 0.8rem;
  /* Extra space between KAIST and NYU */
}

.affiliation-logo {
  height: 1.8rem;
  /* Slightly larger base size */
  width: auto;
  transition: all 0.3s ease;
}

.affiliation-logo:hover {
  transform: scale(1.1);
}

.berkeley-logo {
  margin-top: 5px;
  /* Push down slightly */
}

.kaist-logo {
  height: 1.7rem;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {

  /* Layout Padding */
  .section,
  .container,
  .hero-body {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  /* Navbar & Logos */
  /* Force navbar menu to be visible on mobile */
  .navbar-menu {
    display: block !important;
    box-shadow: none !important;
    padding: 0 !important;
    background-color: transparent !important;
  }

  .affiliation-container {
    flex-wrap: wrap;
    justify-content: center;
    /* Center on mobile for better balance */
    gap: 0.5rem;
  }

  .kaist-link {
    margin-right: 0;
    /* Remove extra margin on mobile */
  }

  .affiliation-logo {
    height: 1.5rem;
    /* Adaptive size for mobile */
  }

  .kaist-logo {
    height: 1.4rem;
    /* Adaptive size for mobile */
  }

  /* Architecture Figure */
  #Architecture-figure {
    flex-direction: column;
    gap: 1rem;
  }

  #Architecture-figure img {
    max-width: 100%;
  }

  #Architecture-figure figcaption {
    max-width: 100%;
    text-align: center;
    /* Center text on mobile */
  }

  /* Typography */
  html,
  body {
    font-size: 14px;
    /* Base font size reduction */
  }

  .publication-title {
    font-size: 1.5rem !important;
    /* Smaller title on mobile */
  }

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

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

  .title.is-4 {
    font-size: 1.25rem !important;
  }

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

  .content {
    font-size: 0.95rem !important;
  }

  .content p {
    font-size: 0.95rem !important;
  }

  .tldr {
    font-size: 0.9rem !important;
    padding: 15px !important;
    /* Ensure padding inside the box */
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Hide Navbar completely on mobile */
  .navbar {
    display: none !important;
  }

  /* Fix Abstract Text Size */
  #Abstract p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }

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

.bold-text {
  font-weight: 800;
}

/* Table Styles adapted */
.table-container {
  margin: 2rem 0;
  padding: 1rem;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.1), 0 5px 20px 0px rgba(0, 0, 0, 0.05);
  background-color: white;
  overflow-x: auto;
}

.advantages-table {
  width: 100%;
  border-collapse: collapse;
  position: relative;
  font-size: 0.8rem;
  line-height: 1.4;
  margin: 0 auto;
}

.advantages-table th,
.advantages-table td {
  padding: 0.3rem 0.2rem;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}

.advantages-table th {
  background-color: #f7fafc;
  color: #2d3748;
  font-weight: bold;
  border-bottom: 2px solid #cbd5e0;
}

.advantages-table .model-col {
  text-align: left;
  font-weight: 500;
  padding-left: 0.5rem;
  min-width: 140px;
}

.advantages-table .section-header {
  background-color: #edf2f7;
  font-weight: bold;
  text-align: center;
  color: #4a5568;
  padding: 0.4rem;
}

.advantages-table .highlight-row {
  background-color: #ebf8ff;
  /* Light blue highlight */
}

.advantages-table .gray-row {
  background-color: #f7fafc;
  color: #718096;
}

.advantages-table .border-left {
  border-left: 2px solid #e2e8f0;
}

.advantages-table .best-val {
  font-weight: bold;
}

.advantages-table .second-best-val {
  text-decoration: underline;
}