/* Title & Logo */

.section-title {
    padding: 1.5rem;

}

.publication-title {
    text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2)
}

span.ours-title {
    font-size: 72px;
    font-weight: bold;
}

/* Interpolation Video */

em {
    color: #0065bd;
}

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

.videoMerge {
    width: 100%;
}
/* Results Carousel */


.carousel {
    overflow: hidden;
}

.carousel .item video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.carousel,
.slider,
.slider-container,
.slider-item,
.match-results-carousel .item {
    height: auto !important;
    align-items: center; /* Keeps items vertically centered if needed */
}

.match-results-carousel .item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.split-video-compare {
    position: relative;
    width: 100%;
    height: 512px;
    overflow: hidden;
    cursor: col-resize;
    background: #ffffff;
}

/* Make portrait results carousel shorter to match video aspect */
.match-results-carousel .split-video-compare {
    height: auto;
}

.split-video-left {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
}
.split-video-right {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.35);
    pointer-events: none;
    transform: translateX(-1px);
}

#results-container {
    max-width: 450px;
}

ol#method-overview-list {
    counter-reset: list;
}
ol#method-overview-list > li {
    list-style: none;
}

ol#method-overview-list > li:before {
    content: counter(list) ". ";
    font-weight: bold;
    counter-increment: list;
    position: absolute;
    margin-left: -25px;
}

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

a {
   color: #0065bd;
}

a:hover {
    color: #0065bd;
    text-decoration: underline;
}

.publication-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;

    overflow: hidden;
    border-radius: 10px !important;
}

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

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

#gghead-related-links ul {
    list-style: disc;
}

/**
 * Spark Viewer
 */

#spark-viewer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#loading-bar-container {
    width: 100%;
    height: 25px;
    background: #333;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
}

#loading-bar-container .loading-bar-text {
    position: absolute; left: 0; right: 0; text-align: center; color: #fff;
}

#loading-bar-container #loading-bar {
    width: 0%;
    height: 100%;
    background: #4caf50;
    transition: width 0.2s ease;
}

.avatar-img-button {
    font-size: 0;
    display: inline-block;
    padding: 5px;
    margin: 0px;
}

.avatar-img-button:hover img {
    transform: scale(1.2);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.avatar-img-button img {
    height: auto !important;

    border: 3px solid #ccc;
    border-radius: 10px;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#avatar-input-image-container {
    position: absolute;
    top: 30px;
    left: 50px;
    right: 50px;
    bottom: 70px;
}

#avatar-input-image-text {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 20px;

}