@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

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

.title-container {
  text-align: center;
  padding: 25px 0;
  font-family: 'Roboto', sans-serif;
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
}

.title.is-3 {
  text-align: center;
}

.publication-title {
  font-family: 'Google Sans', sans-serif;
  font-weight: bold;
}

.section.is-light {
  background-color: #f4f4f4;
}
.section.is-light .container {
  max-width: 1440px !important;
  width: 100%;
  margin: 0 auto;
}
.section.is-light .hero-body {
  padding: 2rem 1.5rem;
}

.hero.is-light {
  background: #f4f4f4;
  padding: 40px 0;
}
.hero .container.is-max-desktop {
  max-width: 960px;
  margin: 0 auto;
}
.hero .hero-body {
  padding: 2rem 1.5rem;
}
.hero .video-container {
  position: relative;
  overflow: hidden;
}
.hero #video {
  width: 100%;
  display: block;
}

.container.is-widescreen {
  max-width: 1440px !important;
  width: 100%;
  margin: 0 auto;
}
.container.is-middlewidescreen {
  max-width: 1200px !important;
  width: 100%;
  margin: 0 auto;
}

.video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.video-container video {
  width: 100%;
  height: auto;
  border-radius: 20px;
  /* border: 3px solid #bbbbbb7e; */
}
.video-container-nr {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.video-container-nr video {
  width: 100%;
  height: auto;
  border: 0px solid #bbbbbb7e;
}
.video-overlay-container {
  position: relative;
  display: inline-block;
}
.video-overlay-container video {
  display: block;
}

.img-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.column.is-narrow {
  padding: 0 10px;
}
.field {
  text-align: center;
}
.label {
  margin-bottom: 5px;
}


/* Carousel */
.results-carousel {
  width: 100%;
  height: auto;
  padding: 0px 8px;
  overflow: hidden;
}

.results-carousel .item {
  width: 100%;
  height: auto;
  margin: 0px;
  overflow: hidden;
  padding: 0px 60px;
  font-size: 0;
}

.results-carousel video {
  position: relative;
  width: 100%;
  height: auto;
  border: 0px solid #bbb;
  border-radius: 20px;
  margin: 0;
}

/* Bar */
.bal-container-small {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 300px;
  cursor: grab;
  overflow: hidden;
  border-radius: 20px;
  margin: 0px;
}

.bal-container-big {
  position: relative;
  width: 100%;
  height: 400px;
  cursor: grab;
  overflow: hidden;
}

.bal-after {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bal-before {
  display: block;
  position: absolute;
  top: 0;
  /* right: 0; */
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 15;
  overflow: hidden;
}

.bal-before-inset {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

.bal-after img,
.bal-before img {
  object-fit: cover;
  position: absolute;
  width: 100%;
  height: 100%;
  object-position: 50% 50%;
  top: 0;
  bottom: 0;
  left: 0;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.bal-beforePosition {
  background: #121212;
  color: #fff;
  left: 0;
  pointer-events: none;
  border-radius: 0.2rem;
  padding: 2px 10px;
}

.bal-afterPosition {
  background: #121212;
  color: #fff;
  right: 0;
  pointer-events: none;
  border-radius: 0.2rem;
  padding: 2px 10px;
}

.beforeLabel {
  position: absolute;
  bottom: 0;
  margin: 1rem;
  font-size: 1em;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.afterLabel {
  position: absolute;
  bottom: 0;
  margin: 1rem;
  font-size: 1em;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.bal-handle {
  height: 41px;
  width: 41px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -20px;
  margin-top: -21px;
  border: 2px solid #fff;
  border-radius: 1000px;
  z-index: 20;
  pointer-events: none;
  box-shadow: 0 0 10px rgb(12, 12, 12);
}

.handle-left-arrow,
.handle-right-arrow {
  width: 0;
  height: 0;
  border: 6px inset transparent;
  position: absolute;
  top: 50%;
  margin-top: -6px;
}

.handle-left-arrow {
  border-right: 6px solid #fff;
  left: 50%;
  margin-left: -17px;
}

.handle-right-arrow {
  border-left: 6px solid #fff;
  right: 50%;
  margin-right: -17px;
}

.bal-handle::before {
  bottom: 50%;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgb(12, 12, 12);
}

.bal-handle::after {
  top: 50%;
  margin-top: 20.5px;
  box-shadow: 0 0 5px rgb(12, 12, 12);
}

.bal-handle::before,
.bal-handle::after {
  content: " ";
  display: block;
  width: 2px;
  background: #fff;
  height: 9999px;
  position: absolute;
  left: 50%;
  margin-left: -1.5px;
}

/* Body */
.section {
  width: 100%;
}

.text-columns {
  display: flex;
}

.text-column {
  display: block;
  flex-basis: 0;
  flex-grow: 1;
  flex-shrink: 1;
  text-align: center;
  /* font-weight: bold; */
}

/* Links */
.publication-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.highlighted-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.highlighted-link-black {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.highlighted-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}
.highlighted-link-black:hover {
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.highlighted-link .icon {
  margin-right: 8px;
  font-size: 20px;
}
.highlighted-link-black .icon { 
  margin-right: 8px;
  font-size: 20px;
}

.paper-link {
  background: linear-gradient(45deg, #1281a7, #0b5067);
}
.arxiv-link {
  background: linear-gradient(45deg, #ffd900, #ff8800);
}
.github-link {
  background: linear-gradient(45deg, #5dc0a3, #2c7b64);
}
.data-link {
  background: linear-gradient(45deg, #7d8081, #414343);
}

.pulse-y:hover {
  animation: pulse-y 2s infinite;
}
.pulse-b:hover {
  animation: pulse-b 2s infinite;
}
.pulse-gn:hover {
  animation: pulse-gn 2s infinite;
}
.pulse-gr:hover {
  animation: pulse-gr 2s infinite;
}

@keyframes pulse-y {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 184, 77, 0.621);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 184, 77, 0.255);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 183, 77, 0);
  }
}
@keyframes pulse-b {
  0% {
    box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(33, 150, 243, 0.2);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(33, 150, 243, 0);
  }
}
@keyframes pulse-gn {
  0% {
    box-shadow: 0 0 0 0 rgba(44, 123, 100, 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(44, 123, 100, 0.2);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(44, 123, 100, 0);
  }
}
@keyframes pulse-gr {
  0% {
    box-shadow: 0 0 0 0 rgba(89, 95, 97, 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(89, 95, 97, 0.2);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(89, 95, 97, 0);
  }
}

/* Button */
.dataset-btn {
  background-color: #4a4a4a;
  color: white;
  transition: all 0.3s ease;
}

.dataset-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.dataset-btn.active {
  background-color: #00d1b2;
}

.overlay-text {
  position: absolute;
  top: 6px;
  right: 7px;
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 3px 10px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: bold;
  pointer-events: none;
  border-radius: 10px;
}


@media (max-width: 768px) {
  .title-container {
    flex-direction: column;
    align-items: center;
  }
  .main-title {
    font-size: 2rem;
    margin-right: 0;
    margin-bottom: 5px;
  }
  .subtitle {
    font-size: 2rem;
  }
  .hero .hero-body {
    padding: 2rem 12px;
  }
  .hero.is-light {
    padding: 30px 12px;
  }
  .hero .video-container {
    border-radius: 10px;
  }
  .video-container video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    /* border: 3px solid #bbbbbb7e; */
  }
  .highlighted-link {
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
  }
  .highlighted-link-black {
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
  }
  .results-carousel {
    width: 100%;
    height: auto;
    padding: 0px 0px;
    overflow: hidden;
  }
  .results-carousel .item {
    width: 100%;
    height: auto;
    margin: 0px;
    overflow: hidden;
    padding: 0px 0px;
    font-size: 0;
  }
  .slider-navigation-previous {
    display: none;
  }
  .slider-navigation-next {
    display: none;
  }

  .results-carousel video {
    position: relative;
    width: 100%;
    height: auto;
    border: 0px solid #bbb;
    border-radius: 10px;
    margin: 0;
  }
  .bal-container-small {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 300px;
    cursor: grab;
    overflow: hidden;
    border-radius: 10px;
    margin: 0px;
  }
  .beforeLabel {
    position: absolute;
    bottom: 0;
    margin: 0.5rem;
    font-size: 0.5em;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
  }  
  .afterLabel {
    position: absolute;
    bottom: 0;
    margin: 0.5rem;
    font-size: 0.5em;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
  }
}