/* Lightly modified version of https://nvlabs.github.io/stylegan3/ */

@font-face {
    font-family: "NVIDIA Sans";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("https://brand-assets.cne.ngc.nvidia.com/assets/fonts/nvidia-sans/2.0.0/NVIDIASans-Light.woff2") format("woff2");
  }
  @font-face {
    font-family: "NVIDIA Sans";
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url("https://brand-assets.cne.ngc.nvidia.com/assets/fonts/nvidia-sans/2.0.0/NVIDIASans-LightItalic.woff2") format("woff2");
  }
  @font-face {
    font-family: "NVIDIA Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("https://brand-assets.cne.ngc.nvidia.com/assets/fonts/nvidia-sans/2.0.0/NVIDIASans-Regular.woff2") format("woff2");
  }
  @font-face {
    font-family: "NVIDIA Sans";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("https://brand-assets.cne.ngc.nvidia.com/assets/fonts/nvidia-sans/2.0.0/NVIDIASans-Italic.woff2") format("woff2");
  }
  @font-face {
    font-family: "NVIDIA Sans";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("https://brand-assets.cne.ngc.nvidia.com/assets/fonts/nvidia-sans/2.0.0/NVIDIASans-Medium.woff2") format("woff2");
  }
  @font-face {
    font-family: "NVIDIA Sans";
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url("https://brand-assets.cne.ngc.nvidia.com/assets/fonts/nvidia-sans/2.0.0/NVIDIASans-MediumItalic.woff2") format("woff2");
  }
  @font-face {
    font-family: "NVIDIA Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("https://brand-assets.cne.ngc.nvidia.com/assets/fonts/nvidia-sans/2.0.0/NVIDIASans-Bold.woff2") format("woff2");
  }
  @font-face {
    font-family: "NVIDIA Sans";
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url("https://brand-assets.cne.ngc.nvidia.com/assets/fonts/nvidia-sans/2.0.0/NVIDIASans-BoldItalic.woff2") format("woff2");
  }
  @font-face {
    font-family: "NVIDIA Sans Fallback";
    font-style: normal;
    font-weight: 300;
    ascent-override: 93.59%;
    descent-override: 26.74%;
    line-gap-override: 0.00%;
    size-adjust: 104.71%;
    src: local("Arial");
  }
  @font-face {
    font-family: "NVIDIA Sans Fallback";
    font-style: italic;
    font-weight: 300;
    ascent-override: 97.18%;
    descent-override: 27.77%;
    line-gap-override: 0.00%;
    size-adjust: 100.84%;
    src: local("Arial Italic");
  }
  @font-face {
    font-family: "NVIDIA Sans Fallback";
    font-style: normal;
    font-weight: 400;
    ascent-override: 92.70%;
    descent-override: 26.49%;
    line-gap-override: 0.00%;
    size-adjust: 105.71%;
    src: local("Arial");
  }
  @font-face {
    font-family: "NVIDIA Sans Fallback";
    font-style: italic;
    font-weight: 400;
    ascent-override: 96.18%;
    descent-override: 27.48%;
    line-gap-override: 0.00%;
    size-adjust: 101.89%;
    src: local("Arial Italic");
  }
  @font-face {
    font-family: "NVIDIA Sans Fallback";
    font-style: normal;
    font-weight: 500;
    ascent-override: 91.53%;
    descent-override: 26.15%;
    line-gap-override: 0.00%;
    size-adjust: 107.07%;
    src: local("Arial");
  }
  @font-face {
    font-family: "NVIDIA Sans Fallback";
    font-style: italic;
    font-weight: 500;
    ascent-override: 94.81%;
    descent-override: 27.09%;
    line-gap-override: 0.00%;
    size-adjust: 103.36%;
    src: local("Arial Italic");
  }
  @font-face {
    font-family: "NVIDIA Sans Fallback";
    font-style: normal;
    font-weight: 700;
    ascent-override: 97.74%;
    descent-override: 27.93%;
    line-gap-override: 0.00%;
    size-adjust: 100.26%;
    src: local("Arial Bold");
  }
  @font-face {
    font-family: "NVIDIA Sans Fallback";
    font-style: italic;
    font-weight: 700;
    ascent-override: 101.13%;
    descent-override: 28.90%;
    line-gap-override: 0.00%;
    size-adjust: 96.90%;
    src: local("Arial Bold Italic");
  }

:root {
    --small-thumb-border-radius: 2px;
    --larger-thumb-border-radius: 3px;
}

html {
    font-size: 14px;
    line-height: 1.6;
    font-family: "NVIDIA Sans", "NVIDIA Sans Fallback", sans-serif;
    text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

@media(min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'NVIDIA Sans', sans-serif;
    margin: 0px;
    padding: 0px;
}

.base-grid,
.n-header,
.n-byline,
.n-title,
.n-article,
.n-footer {
    display: grid;
    justify-items: stretch;
    grid-template-columns: [screen-start] 8px [page-start kicker-start text-start gutter-start middle-start] 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr [text-end page-end gutter-end kicker-end middle-end] 8px [screen-end];
    grid-column-gap: 8px;
}

.grid {
    display: grid;
    grid-column-gap: 8px;
}

@media(min-width: 768px) {
    .base-grid,
    .n-header,
    .n-byline,
    .n-title,
    .n-article,
    .n-footer {
        display: grid;
        justify-items: stretch;
        grid-template-columns: [screen-start] 1fr [page-start kicker-start middle-start text-start] 45px 45px 45px 45px 45px 45px 45px 45px [ kicker-end text-end gutter-start] 45px [middle-end] 45px [page-end gutter-end] 1fr [screen-end];
        grid-column-gap: 16px;
    }
    .grid {
        grid-column-gap: 16px;
    }
}

@media(min-width: 1000px) {
    .base-grid,
    .n-header,
    .n-byline,
    .n-title,
    .n-article,
    .n-footer {
        display: grid;
        justify-items: stretch;
        grid-template-columns: [screen-start] 1fr [page-start kicker-start] 50px [middle-start] 50px [text-start kicker-end] 50px 50px 50px 50px 50px 50px 50px 50px [text-end gutter-start] 50px [middle-end] 50px [page-end gutter-end] 1fr [screen-end];
        grid-column-gap: 16px;
    }
    .grid {
        grid-column-gap: 16px;
    }
}

@media (min-width: 1180px) {
    .base-grid,
    .n-header,
    .n-byline,
    .n-title,
    .n-article,
    .n-footer {
        display: grid;
        justify-items: stretch;
        grid-template-columns: [screen-start] 1fr [page-start kicker-start] 60px [middle-start] 60px [text-start kicker-end] 60px 60px 60px 60px 60px 60px 60px 60px [text-end gutter-start] 60px [middle-end] 60px [page-end gutter-end] 1fr [screen-end];
        grid-column-gap: 32px;
    }
    .grid {
        grid-column-gap: 32px;
    }
}

.base-grid {
    grid-column: screen;
}


/* default grid column assignments */

.n-title>* {
    grid-column: text;
}

.n-article>* {
    grid-column: middle;
}

.n-header {
    height: 0px;
}

.n-footer {
    height: 60px;
}

.n-title {
    padding: 4rem 0 .5rem;
}

.l-page {
    grid-column: page;
}

.l-article {
    grid-column: text;
}

p {
    margin-top: 0;
    margin-bottom: 1em;
}

.pixelated {
    image-rendering: pixelated;
}

strong {
    font-weight: 600;
}


/*------------------------------------------------------------------*/


/* title */

.n-title h1 {
    font-family: "NVIDIA Sans", Arial, sans-serif;
    color: #082333;
    grid-column: text;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1em;
    margin: 0 0 0.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .n-title h1 {
        font-size: 32px;
    }
}


/*------------------------------------------------------------------*/


/* article */

.n-article {
    color: rgb(33, 40, 53);
    padding-top: .5rem;
}

.n-article h2 {
    contain: layout style;
    font-family: "NVIDIA Sans", sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 1.25em;
    margin: 2rem 0 1.5rem 0;
    padding-bottom: 1rem;
}

@media (min-width: 768px) {
    .n-article {
        line-height: 1.7;
    }
    .n-article h2 {
        font-size: 28px;
        text-align: center; /* Center aligns the text in .n-article h2 */
    }
}


/*------------------------------------------------------------------*/


/* byline */

.n-byline {
    contain: style;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.8em;
    padding: 1rem 0;
    min-height: 1.8em;
}

.n-byline .byline {
    grid-column: text;
}

.byline {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.grid {
    display: grid;
    grid-column-gap: 8px;
}

@media (min-width: 768px) {
    .grid {
        grid-column-gap: 16px;
    }
}

.n-byline p {
    margin: 0;
}

.n-byline h3 {
    font-size: 0.6rem;
    font-weight: 400;
    color: rgba(200, 0, 0, 0.5);
    margin: 0;
    text-transform: uppercase;
}

.n-byline .authors-affiliations {
    grid-column-end: span 2;
    grid-template-columns: 1fr 1fr;
}


/*------------------------------------------------------------------*/


/* figures */

.figure {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

figcaption,
.figcaption {
    color: rgba(0, 0, 0, 0.6);
    font-size: 12px;
    line-height: 1.5em;
}

ul.authors {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

ul.authors li {
    padding: 0 0.5rem;
    display: inline-block;
}

ul.authors sup {
    color: rgb(126, 126, 126);
}

ul.authors.affiliations {
    margin-top: 0.0rem;
}

ul.authors.affiliations li {
    color: rgb(126, 126, 126);
}

.authors-affiliations-gap {
    width: 100%;
    height: 0%;
    margin: 0;
    border: 0;
    margin-bottom: .4rem;
}


/* Download section columns.  This switches between two layouts::after

    - two columns on larger viewport sizes: side-by-side paper thumb and links
    - single column: no thumb
     */

.download-section {
    display: grid;
    grid-template-areas: "links";
}

.download-section h4 {
    margin-left: 2.5rem;
    display: block;
}

.download-thumb {
    grid-area: thumb;
    display: none;
}

.download-links {
    grid-area: links;
}

.download-links > ul > li > a {
    color: #76B900;
}

.download-links > ul > li > a:hover {
    text-decoration: underline;
}


img.dropshadow {
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    height: 100%;
}

@media(min-width: 1180px) {
    .download-section {
        display: grid;
        grid-template-areas: "thumb links";
    }
    .download-thumb {
        display: block;
        height: 25rem;
        margin-left: 1rem;
    }
}


/* For BibTeX */

pre {
    font-size: 0.9em;
    padding-left: 7px;
    padding-right: 7px;
    padding-top: 3px;
    padding-bottom: 3px;
    border-radius: 3px;
    background-color: rgb(235, 235, 235);
    overflow-x: auto;
}


/* video caption */
.video-row {
    display: flex; /* Set the parent container as a flexbox */
    flex-direction: row; /* Ensure items are laid out horizontally */
    justify-content: center; /* Center items horizontally */
    align-items: flex-start; /* Align items to the top */
    gap: 20px; /* Add space between the videos */
    padding: 10px; /* Optional: Add padding around the container */
}

.col-md-8 {
    flex: 1; /* Allow both containers to have equal width */
    max-width: 45%; /* Optional: Limit the maximum width of each container */
}

.video {
    margin-top: 1.0rem;
    margin-bottom: .5rem;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.videocaption {
    display: flex;
    font-size: 16px;
    line-height: 1.5em;
    margin-bottom: 1rem;
    justify-content: center;
}

.disable-selection {
    user-select: none;
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer */
    -khtml-user-select: none;
    /* KHTML browsers (e.g. Konqueror) */
    -webkit-user-select: none;
    /* Chrome, Safari, and Opera */
    -webkit-touch-callout: none;
    /* Disable Android and iOS callouts*/
}

.hidden {
    display: none;
}

h3.figtitle {
    margin-top: 0;
    margin-bottom: 0;
}

.fig-title-line {
    grid-template-columns: 2fr 0.75fr;
}

.fig-thumb-image-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
}

.fig-thumb-image-row-item {
    width: 100%;
    min-height: auto;
    border-radius: var(--small-thumb-border-radius);
}

.fig-dataset-button {
    border-color: rgba(0, 0, 0, 0);
    border-width: 1px;
    border-style: solid;
    cursor: pointer;
    opacity: 0.6;
}

.fig-dataset-button.active {
    border-color: rgba(0, 0, 0, 0.7);
    border-width: 1px;
    border-style: solid;
    opacity: 1.0;
}

.grid {
    display: grid;
    grid-column-gap: 8px;
}

.fig-3-image-row {
    margin-top: 1em;
    grid-template-columns: 1fr 1.3fr 1fr;
    grid-template-rows: 1fr;
}

.fig-3-image-item {
    justify-self: center;
    align-self: center;
    width: 100%;
    border-radius: var(--larger-thumb-border-radius);
}


/*---------------------------------------------------------------------*/

.fig-slider {
    grid-template-columns: auto 2fr;
    grid-template-rows: 1fr;
    margin-top: 1em;
    align-items: start;
    justify-content: center;
}

.fig-slider img.play_button {
    margin-right: 8px;
    cursor: pointer;
    justify-self: center;
}

.fig-slider svg {
    touch-action: none;
}

.fig-preload {
    display: none;
}

.youtube-embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

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

a {
    color: inherit;
    text-decoration: inherit;
}

h3 {
    font-size: 1.35em;
    margin: 0;
    margin-bottom: -.5rem;
    text-align: center; /* Center aligns the text in .n-article h2 */
}

.play-pause {
    height: 1.3ex;
}


/* From Ref-NeRF */
.video-compare-container {
    width: 63%;
    margin: 0 auto;
    position: relative;
    display: block;
    line-height: 0;
  }

  /* Enhanced Links Section Styling */
.enhanced-links-list {
    list-style: none;
    padding: 0;
  }
  
  .enhanced-link-item {
    margin-bottom: 12px;
    padding: 8px;
    border-left: 4px solid #76B900;
    background: linear-gradient(90deg, rgba(118, 185, 0, 0.1) 0%, rgba(118, 185, 0, 0.05) 100%);
    border-radius: 4px;
  }
    
  .enhanced-link-item a {
    text-decoration: none;
    display: flex;
    align-items: center;
    font-weight: 500;
  }
  
  .enhanced-link-item .link-emoji {
    margin-right: 8px;
  }
  


  /* Enhanced visual improvements */
  
  .section-divider {
      height: 2px;
      background: #76B900;
      margin: 40px 0;
      border-radius: 1px;
  }
  
  .highlight-box {
      background: #f0f8f0;
      border-left: 4px solid #76B900;
      padding: 10px 15px;
      margin: 20px 0;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(118, 185, 0, 0.1);
  }
  
  .conference-badge {
      display: inline-block;
      background: linear-gradient(135deg, #76B900, #5a8f00);
      color: white;
      padding: 8px 20px;
      border-radius: 25px;
      font-weight: 600;
      font-size: 1.1em;
      box-shadow: 0 3px 10px rgba(118, 185, 0, 0.3);
      margin-top: 10px;
  }
  
  
  .links-section {
      background: white;
      padding: 30px;
      margin: 30px 0;
      border-radius: 15px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  }
  
  .approach-section {
      background: linear-gradient(135deg, #f8fff8 0%, #ffffff 100%);
      padding: 35px;
      margin: 30px 0;
      border-radius: 15px;
      border: 1px solid #e8f5e8;
      box-shadow: 0 4px 15px rgba(118, 185, 0, 0.1);
  }
  
  .citation-section {
      background: #f8f9fa;
      padding: 30px;
      margin: 30px 0;
      border-radius: 15px;
      border: 1px solid #dee2e6;
  }
  
  
  .links-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0 0 0;
    flex-wrap: wrap;
}

  /* Link Buttons */

.link-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #76B900;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    border: none;
    font-size: 14px;
}

.link-button:hover {
    background: #5a8f00;
    color: white;
    text-decoration: none;
}

.link-button .link-emoji {
    font-size: 16px;
    padding-right: 8px;
}

@media (max-width: 768px) {
    .links-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .link-button {
        width: 200px;
        justify-content: center;
    }
}


