html,
body {
  margin: 0;
  overflow-x: hidden;
}

body {
  /* font-family: 'Noto Sans', sans-serif; */
  font-family: 'Raleway';
  background-color: #fdfeff;

}

.hero-splash {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

#bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
  transition: opacity 1s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  z-index: 1;
  pointer-events: none;
}

.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 0 24px 40px;
  box-sizing: border-box;
  z-index: 2;
  pointer-events: none;
}

.hero-title {
  margin: 0;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
}

.hero-subtitle {
  display: block;
  margin-top: 0.35em;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 500;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 3;
  border: none;
  background: none;
  color: #fff;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  animation: hero-bounce 2s infinite;
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
  opacity: 1;
}

@keyframes hero-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.page-content {
  position: relative;
  z-index: 2;
}

.publication-meta {
  margin-top: 2.5rem;
}

@media screen and (max-width: 768px) {
  .hero-bottom {
    padding: 0 16px 56px;
  }

  .scroll-indicator {
    right: 16px;
    bottom: 16px;
    font-size: 2.25rem;
  }
}

a:hover {
  color: #7289ff  !important;
}

/* .footer .icon-link {
    font-size: 25px;
    color: #000;
} */

.footer {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
  text-align: center;
}

.bibtex {
  border-radius: 10px;
  padding: 5px;
}

.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; */
  font-family: 'Raleway';
}


.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; */
    font-family: 'Raleway';
    color:#000;
    line-height: 1;
    margin-top: 50px;
}

.button {
  color: rgba(0, 47, 167, 0.7) !important;
  background-color: #f3f8ff !important;
  border-color: #fdfeff !important;
}
.button:hover {
  text-decoration: none !important;
  color: #7289ff !important;
  background-color: #fdfeff !important;
  border-color: #7289ff !important;
}

.publication-authors {
    /* font-family: 'Google Sans', sans-serif; */
    font-family: 'Raleway';
    line-height: 2;
    color: #808080
}

.publication-venue {
    color: #555;
    /* width: fit-content; */
    font-weight: bold;
    margin-bottom: 25px;
}

.publication-awards {
    color: #ff3860;
    width: fit-content;
    font-weight: bolder;
}

.publication-authors {
}

.publication-authors a {
    color: rgba(0, 47, 167, 0.7) !important;
    font-weight: 600;
    /* color: #002FA7 !important; */
    /* color: #7288f8 !important; */
}

.publication-authors a:hover {
    color: #7289ff;
    text-decoration: underline;
}

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

.institution-logo {
  vertical-align: -6px;
  margin-right: 5px;
}

.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: 0px;
  /* font-size: 0; */
  text-align: center;
}

.results-carousel video {
  margin: 0;
}


.interpolation-panel {
  background: #f3f8ff;
  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;
}

.column {
  margin-top: 10px;
  margin-bottom: 10px;
}

.highlight-video-container {
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
}

.video-carousel {
  position: relative;
  padding: 0 3rem;
  margin: 1rem 0 2rem;
}

.carousel-stage {
  position: relative;
}

.generalization-section {
  padding-bottom: 5rem;
}

.carousel-viewport {
  position: relative;
  width: 100%;
  height: min(460px, 58vw);
  overflow: visible;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(68%, 560px);
  transform: translateX(-50%);
  z-index: 1;
  transition: transform 0.45s ease, width 0.45s ease;
  cursor: pointer;
}

.carousel-slide-inner {
  opacity: 0.5;
  transform: scale(0.72);
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.carousel-slide.active {
  width: min(70%, 720px);
  z-index: 3;
  cursor: default;
}

.carousel-slide.active .carousel-slide-inner {
  opacity: 1;
  transform: scale(1);
}

.carousel-slide.prev {
  transform: translateX(calc(-50% - min(26vw, 240px)));
  z-index: 2;
}

.carousel-slide.next {
  transform: translateX(calc(-50% + min(26vw, 240px)));
  z-index: 2;
}

.carousel-slide video {
  display: block;
  width: 100%;
  border-radius: 10px;
}

.carousel-caption {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.5rem;
  margin: 1rem 0 0;
}

.carousel-task {
  font-size: 1.15rem;
  font-weight: 600;
  color: #333;
}

.carousel-hand {
  font-size: 1rem;
  color: #808080;
}

.carousel-hand::before {
  content: "·";
  margin-right: 0.5rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 47, 167, 0.12);
  color: rgba(0, 47, 167, 0.85);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.carousel-btn::before {
  content: "";
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  border-bottom: 2px solid currentColor;
}

.carousel-prev::before {
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.15rem;
}

.carousel-next::before {
  border-right: 2px solid currentColor;
  transform: rotate(-45deg);
  margin-right: 0.15rem;
}

.carousel-btn:hover {
  background: rgba(114, 137, 255, 0.2);
  color: #7289ff;
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.carousel-dot {
  width: 0.65rem;
  height: 0.65rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 47, 167, 0.25);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-dot.active {
  background: rgba(0, 47, 167, 0.75);
  transform: scale(1.15);
}

@media screen and (max-width: 768px) {
  .video-carousel {
    padding: 0 2.25rem;
  }

  .carousel-viewport {
    height: min(280px, 64vw);
  }

  .carousel-slide.prev {
    transform: translateX(calc(-50% - min(22vw, 120px))) scale(0.65);
  }

  .carousel-slide.next {
    transform: translateX(calc(-50% + min(22vw, 120px))) scale(0.65);
  }
}

.video-caption {
  color: white !important; 
  text-align: justify;  
  margin-top: 8px;
  margin-left: 8px;
  margin-right: 8px;
}

/* table */
.table-container {
  max-height: 500px;
  overflow-y: auto;
  border: 2px solid #ddd;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center !important;/* Center-align text */
  vertical-align: middle !important; /* Center-align vertically */
}
th {
  background-color: #f9f9f9;
  position: sticky;
  top: 0;
  z-index: 1;
}
/* tr:nth-child(even) {
  background-color: #f2f2f2;
} */
tr {
  transition: background-color 1s ease;  /* Smooth transition over 1 second */
}

/* Make the first column wider */
th:first-child, td:first-child {
  width: 20%;  /* Adjust the width as needed */
}

/* Styling for the input and button */
.jump-container {
  margin-bottom: 15px;
}
.jump-container input {
  padding: 5px;
  width: 120px;
}
/* Enlarge a video on hover */
.video-zoom {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-zoom:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 5;
}

.jump-container button {
  padding: 6px 10px;
  margin-left: 5px;
  cursor: pointer;
}