/* DeformMaster project page — adapted from the Nerfies template. */

body {
    font-family: 'Noto Sans', 'Helvetica', sans-serif;
}

.publication-title {
    font-family: 'Google Sans', sans-serif;
    font-weight: 700;
    color: #363636;
}

.publication-title .title-main,
.publication-title .title-subtitle {
    display: block;
}

.publication-title .title-main {
    font-weight: 900;
    background: linear-gradient(90deg, #DEEBF7 0%, #5B9BD5 33%, #A78BFA 66%, #7030A0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.publication-title .title-subtitle {
    margin-top: 0.25rem;
    font-weight: 600;
}

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

.publication-banner {
    max-height: 100vh;
    overflow: hidden;
}

.publication-banner img,
.publication-banner video {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.publication-links {
    margin-top: 1.0rem;
}

.publication-links .external-link {
    margin: 0.2rem;
}

.button.is-grey {
    background-color: #363636;
    color: white;
    border-color: transparent;
}

.button.is-grey:hover {
    background-color: #4a4a4a;
    color: white;
}

.section .title {
    font-family: 'Google Sans', sans-serif;
}

.gif-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.gif-grid figure {
    margin: 0;
    text-align: center;
}

.gif-grid img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    background: #f5f5f5;
}

.gif-grid figcaption {
    margin-top: 0.4rem;
    font-size: 0.9rem;
    color: #666;
}

.bibtex-block pre {
    background-color: #f5f5f5;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 0.85rem;
}

.method-figure {
    text-align: center;
    margin: 1.5rem 0;
}

.method-figure img {
    max-width: 100%;
    height: auto;
}

.hero-body {
    padding: 3rem 1.5rem 4rem;
}

footer {
    background-color: #fafafa;
    color: #999;
    padding: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
}
