/* Based on the Nerfies project page (https://github.com/nerfies/nerfies.github.io, CC BY-SA 4.0). */
body {
  font-family: 'Noto Sans', sans-serif;
}

.publication-title,
.publication-authors,
.teaser {
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
}

.publication-venue {
  color: #555;
  font-weight: bold;
  margin-top: 0.5rem;
}

.venue-note {
  font-weight: normal;
}

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

.link-block a {
  margin-top: 5px;
  margin-bottom: 5px;
}

.teaser .hero-body {
  padding-top: 0;
  padding-bottom: 3rem;
}

.publication-video {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 10px;
}

.publication-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

img.figure {
  display: block;
  width: 100%;
  height: auto;
  margin: 0.5rem 0 1rem;
}

.caption {
  text-align: center;
  color: #4a4a4a;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.section h3.title {
  margin-top: 2rem;
}

/* Rows of equally sized images with a label under each. */
.compare-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 1.5rem;
}
.compare-row.three { grid-template-columns: repeat(3, 1fr); }
.compare-row.four { grid-template-columns: repeat(4, 1fr); }
.compare-row.six { grid-template-columns: repeat(6, 1fr); }

.compare-row figure {
  margin: 0;
}
.compare-row img {
  display: block;
  width: 100%;
  height: auto;
}
.compare-row figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: #4a4a4a;
  margin-top: 2px;
}

@media screen and (max-width: 768px) {
  .compare-row { grid-template-columns: repeat(2, 1fr); }
  .compare-row.six { grid-template-columns: repeat(3, 1fr); }
}
