:root {
  color-scheme: light;
  --text: #4a4a4a;
  --title: #363636;
  --link: #209cee;
  --paper: #ffffff;
  --code: #f5f5f5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  width: 75%;
  min-width: 0;
  margin: 20px auto 0;
  color: var(--text);
  font-family: "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(32, 156, 238, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 8px 12px;
  color: #ffffff;
  background: #363636;
  border-radius: 4px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero,
.section,
.bibtex-section,
.footer {
  display: block;
}

.hero-body {
  padding: 3rem 1.5rem;
  text-align: center;
}

.publication-title {
  margin: 0 0 1.5rem;
  color: var(--title);
  font-family: "Google Sans", "Noto Sans", sans-serif;
  font-size: 44.5px;
  font-weight: 600;
  line-height: 1.125;
  text-align: center;
}

.animated-name {
  white-space: nowrap;
}

.shakefont {
  display: inline-block;
  font-size: 56px;
  font-weight: 700;
}

.title-rest {
  color: #000000;
}

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

@keyframes bounce2 {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-30px); }
  60% { transform: translateY(-15px); }
}

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

.word1 { animation: bounce1 1s infinite; }
.word2 { animation: bounce2 2s infinite; }
.word3 { animation: bounce3 3s infinite; }
.word4 { animation: bounce1 1.5s infinite; }
.word5 { animation: bounce2 1s infinite; }
.word6 { animation: bounce3 1.75s infinite; }

.publication-authors,
.publication-affiliation {
  font-family: "Google Sans", "Noto Sans", sans-serif;
  font-size: 1.25rem;
}

.publication-authors {
  line-height: 1.65;
}

.author-block {
  display: inline-block;
  color: var(--link);
}

.publication-affiliation {
  margin-top: 0.35rem;
}

.publication-venue {
  margin-top: 0.25rem;
  color: #555555;
  font-weight: 600;
}

.publication-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 1.2rem;
}

.resource-button {
  display: inline-flex;
  gap: 0.55em;
  align-items: center;
  justify-content: center;
  min-height: 2.5em;
  padding: 0.45em 1.25em;
  margin-top: 5px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  background: #363636;
  border-radius: 999px;
}

.resource-button:hover {
  color: #ffffff;
  background: #292929;
  text-decoration: none;
}

.resource-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2em;
  font-size: 1.05em;
  line-height: 1;
}

.code-icon {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82em;
  font-weight: 700;
}

.section {
  padding: 3rem 1.5rem;
}

.container {
  width: 100%;
  margin: 0 auto;
}

.is-max-desktop {
  max-width: 960px;
}

.is-max-widescreen {
  max-width: 1152px;
}

.is-fullhd {
  max-width: 1344px;
}

.my-block {
  margin-bottom: 50px;
}

.my-block:last-child {
  margin-bottom: 0;
}

.abstract-column {
  width: 80%;
  margin: 0 auto;
}

.section-title {
  margin: 0 0 1.5rem;
  color: var(--title);
  font-family: "Noto Sans", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.125;
}

.has-text-centered {
  text-align: center;
}

.has-text-justified,
.content,
figcaption {
  text-align: justify;
}

.content p {
  margin: 0 0 1em;
}

.content p:last-child {
  margin-bottom: 0;
}

figure {
  margin: 0;
}

figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.figure-link {
  display: block;
  color: inherit;
}

.figure-link:hover {
  text-decoration: none;
}

figcaption {
  margin-top: 1rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
}

#experiments .content {
  margin-bottom: 1.25rem;
}

.figure-comparison > img {
  width: 64%;
}

.figure-pipeline .figure-link {
  width: 72%;
  margin: 0 auto;
}

.figure-confidence .figure-link {
  width: 90%;
  margin: 0 auto;
}

.figure-experiments .figure-link {
  width: 72%;
  margin: 0 auto;
}

.figure-acceleration .figure-link {
  width: 36%;
  margin: 0 auto;
}

.bibtex-section {
  padding: 0 1.5rem 3rem;
}

pre {
  max-width: 100%;
  padding: 1.25em 1.5em;
  margin: 0;
  overflow-x: auto;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875em;
  line-height: 1.5;
  white-space: pre;
  background: var(--code);
  border-radius: 0;
  -webkit-overflow-scrolling: touch;
}

code {
  color: inherit;
  font-family: inherit;
}

.footer {
  padding: 2em;
  color: #777777;
  font-size: 0.9rem;
  text-align: center;
}

.footer p {
  margin: 0;
}

@media screen and (max-width: 768px) {
  body {
    width: 100%;
    margin-top: 0;
  }

  .hero-body {
    padding: 2.5rem 1rem 2rem;
  }

  .publication-title {
    font-size: 30px;
    line-height: 1.18;
  }

  .shakefont {
    font-size: 36px;
  }

  .title-rest {
    display: block;
    margin-top: 0.35rem;
  }

  .publication-authors,
  .publication-affiliation {
    font-size: 1.05rem;
  }

  .section {
    padding: 2rem 1rem;
  }

  .my-block {
    margin-bottom: 42px;
  }

  .abstract-column {
    width: 100%;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .has-text-justified,
  .content,
  figcaption {
    text-align: left;
  }

  .figure-comparison > img,
  .figure-pipeline .figure-link,
  .figure-confidence .figure-link,
  .figure-experiments .figure-link,
  .figure-acceleration .figure-link {
    width: 100%;
  }

  .bibtex-section {
    padding: 0 1rem 2rem;
  }

  pre {
    padding: 1em;
    font-size: 0.78em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shakefont {
    animation: none !important;
  }
}
