@import url(fontawesome-all.min.css);
@import 'https://fonts.googleapis.com/css?family=Source Code Pro';
@import 'https://fonts.googleapis.com/css?family=Open Sans';
@import "myriad_pro.css";

body {
    font-family: "Myriad-Pro", "Open Sans", sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial, sans-serif;
}

section {
    width: 100%;
    /* 可选：设置背景颜色以便于观察 */
    padding: 20px;
    /* 可选：设置内边距 */
    box-sizing: border-box;
    /* 可选：确保内边距和边框不会增加元素的宽度 */
}

h1 {
    text-align: center;
    font-size: large;
    font-weight: bold;
}

.header-img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    margin-bottom: 20px;
}

.video-section {
    width: 100%;
    display: flex;
    justify-content: space-around;
    /* margin-bottom: 20px;
    margin-right: 5px; */
}

.video-section video {
    /* width: 33%; *//*这是一行放3个视频*/
    width: 100%;
    margin: 5px;
}

.footer .icon-link {
    font-size: 25px;
    color: #000;
}

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

.dnerf {
    font-variant: small-caps;
}

.dcliport {
    font-variant: small-caps;
}

.dvima {
    /* TODO specific VIMA font */
    /* font-variant: small-caps; */
}


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

.teaser {
    font-family: "Myriad-Pro", "Open Sans", sans-serif;
}

.teaser video {
    object-fit: fill;

}

#glass {
    margin-left: -10px;
}

.publication-title {}

.publication-banner {
    max-height: parent;

}

.publication-banner video {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    object-fit: fit;
}

.publication-header .hero-body {}

.publication-title {
    font-family: "Myriad-Pro", "Open Sans", sans-serif;
}

.publication-authors {
    font-family: "Myriad-Pro", "Open Sans", sans-serif;
}

.publication-venue {
    color: #555;
    width: fit-content;
    font-weight: bold;
}

.publication-awards {
    color: #ff3860;
    width: fit-content;
    font-weight: bolder;
}

.publication-authors {}

.publication-authors a {
    color: hsl(121, 100%, 36%) !important;
}

.conference-authors a {
    color: hsl(0, 0%, 16%) !important;
}

.publication-authors a:hover {
    text-decoration: underline;
}

.author-block {
    display: inline-block;
    font-size: 22px;
}

.publication-banner img {}

.publication-authors {
    /*color: #4286f4;*/
}

.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%;
}

.publication-body img {}

.results-carousel {
    overflow: hidden;
}

.results-carousel .item {
    margin: 5px;
    overflow: hidden;
    border: 1px solid #bbb;
    border-radius: 10px;
    padding: 0;
    font-size: 0;
}

.results-carousel video {
    margin: 0;
}


.interpolation-panel {
    background: #f5f5f5;
    border-radius: 10px;
}

.interpolation-panel .interpolation-image {
    width: 100vh;
    background-size: cover;
    border-radius: 5px;
}

.interpolation-video-column {}

.interpolation-panel .slider {
    margin: 0 !important;
}

.interpolation-panel .slider {
    margin: 0 !important;
}

#interpolation-image-wrapper {
    width: 100%;
}

#interpolation-image-wrapper img {
    border-radius: 5px;
}

#interpolation-image img {
    padding: 0;
    display: block;
    margin: 0 auto;
    max-height: 100%;
    max-width: 100%;
}

.dropdown-item {
    white-space: pre-wrap;
}

.image-container {
    text-align: center;
    /* 居中对齐 */
    overflow: hidden;
    /* 清除浮动影响 */
}

.image-wrapper {
    display: inline-block;
    /* 使包裹图片的容器成为内联块元素 */
}

.image-wrapper img {
    float: left;
    margin: 0 10px;
    /* 图片间距 */
}

.video-container {
    display: grid;
    /* grid-template-columns: repeat(3, 1fr); */
    /* grid-template-columns: repeat(1, 1fr); */
    /* grid-template-rows: 1fr; */
    /* gap: 10px; */
    /* padding: 20px; */
}

.box {
    /* border: 1px solid black; */
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, background-color 0.3s ease;
    /* align-items: stretch; */
    height: max-content;
    /* border: 1px solid black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    align-items: stretch;
    background-color: #f5f5f5;
    transition: transform 0.3s ease, background-color 0.3s ease; */
}


.box:hover {
    transform: scale(1.05);
    /* 放大效果 */
    background-color: #f0f0f0;
    /* 改变背景颜色 */
}

/* Assigning specific grid areas */
.box .video1,
.box .video2,
.box .video3 {
    flex: none;
    width: 100%;
    /* height: 150px; */ /* 如果需要固定高度，可以考虑应用到下面的 video 元素上 */
    margin-bottom: 10px;
    /* border: 1px solid black; */
    /* box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5); */
    transition: box-shadow 0.3s ease;
    /* object-fit: cover; */ /* 从这里移除，应用到下面的 video 元素 */
}

.box .video1 video,
.box .video2 video,
.box .video3 video {
    display: block; /* 将视频设置为块级元素以应用 auto margins */
    margin-left: auto; /* 水平居中 */
    margin-right: auto; /* 水平居中 */
    /* max-width: 100%;    确保视频不会超出其容器宽度 */
    object-fit: cover;  /* 将 object-fit 应用于 video 元素 */
    /* 如果视频需要固定高度并配合 object-fit: cover 使用: */
    /* height: 150px; */
    width: 50%;
}

.box .text1,
.box .text2,
.box .text3 {
    flex: 1;
    width: 100%;
    text-align: center;
    padding: 20px;
}

/* Grid positions */
.box:nth-child(1) {
    grid-column: 1 / 2;
}

.box:nth-child(2) {
    grid-column: 2 / 3;
}

.box:nth-child(3) {
    grid-column: 3 / 4;
}