body {
    font-family: BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif;
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    /* width: 60%; */
    margin: 0 auto;
    /* max-width: 1100px; */
    /* background-color: #f4f4f4; */
}

header {
    /* background-color: #333; */
    /* color: white; */
    padding: 30px;
    padding-bottom: 0;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 40px;
    font-weight: 500;
    font-family: 'Google Sans', system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
    background-image: linear-gradient(
        to right,
        /* forward: green -> blue */
        #008C52 0%,
        #0A7A64 15%,
        #0F6B79 30%,
        #135C8E 45%,
        #01509D 50%,
        /* backward: blue -> green */
        #135C8E 55%,
        #0F6B79 70%,
        #0A7A64 85%,
        #008C52 100%);
        
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: titleShine 8s linear infinite;
}

@keyframes titleShine {
    0% { background-position: 0% center; }
    100% { background-position: -200% center; }
}
@font-face {
    font-family: 'Google Sans';
    src: url('font/GoogleSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'futura-pt';
    src: url('font/futura\ medium\ bt.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: normal;
    color: #4a4a4a;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
}

.tagline {
    font-size: 18px;
    color: #555;
    margin-top: 6px;
}

h3 {
    margin: 20px;
    margin-top: 40px;
    font-size: 32px;
    font-weight: bold;
    color: #363636;
    /* text-align: center; */
    font-family: 'Google Sans', system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
}

p {
    font-size: 1.1em;
    line-height: 1.4;
    color: #000000B3
}

.contrib-list {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 20px auto;
    padding: 0 40px;
}
.contrib-list li {
    margin: 8px 0;
}
.note {
    color: #777;
    font-style: italic;
    padding: 0 40px 20px 40px;
}
.name {
    color: #485fc7; /* 默认颜色 */
    text-decoration: none;
}
.name:hover {
    color: black; /* 悬浮时的颜色 */
    text-decoration: underline; /* 添加下划线 */
}

.citation-card { position: relative; display: inline-block; width: 100%; max-width: 800px; margin: 24px 0 16px 0; }
.copy-button { position: absolute; top: 10px; right: 10px; border: none; background: transparent; padding: 4px; cursor: pointer; color: #555; font-size: 18px; }
.copy-button:hover { color: #1c1c1c; }
.citation-text { font-family: 'Courier New', Courier, monospace; margin: 0; padding: 18px; white-space: pre-wrap; color: #333; text-align: left; border: 1px solid #ddd; border-radius: 5px; background-color: #fafafa; overflow-x: auto; }

.button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    margin: 5px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-size: 16px;
}
.button i {
    margin-right: 8px;
}

#accept{
    font-size: 20px;
    color:#999999;
    font-family: 'Google Sans', system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
}
#authors {
    justify-content: center;
    font-size: 20px;
    /* font-family: system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif; */
    font-family: 'Google Sans', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}


#abstract {
    text-align: center;
    background-color: #f5f5f5;
}
#abstract p {
    display: inline-block; /* 使段落成为行内块元素 */
    margin: 0 auto; /* 自动设置左右边距以居中 */
    text-align: justify;
}




#resources .icons {
    display: flex;
    justify-content: center;
    gap: 50px;
}

#resources .icon {
    text-align: center;
}

#resources .icon img {
    width: 35px;
    height: 35px;
}


.video-container1 {
    display: flex;
    justify-content: space-between;
    width: 60%;
    margin: 0 auto;
}

.video-item {
    flex: 1;
    margin: 0 5px;
}

video {
    width: 100%;
    height: auto;
}

.caption {
    text-align: center;
    margin-top: 5px;
}

.controls {
    text-align: center;
    margin-top: 20px;
}

#video-compare-container {
    display: inline-block;
    line-height: 0;
    position: relative;
    width: 80%;
    /* height: auto; */
    padding-top: 45%;
}

.video-container {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    overflow: hidden;
}

#video-container1 {
    clip-path: inset(0 0 0 0);
}

#video-container2 {
    clip-path: inset(0 0 0 40%);
}

#video-container3 {
    clip-path: inset(0 0 0 59%);
}

#video-compare-container video {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
}

.slider {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 7px; /* 增加宽度 */
    background-color: rgba(0, 0, 0, 0.3); /* 改变颜色 */
    cursor: ew-resize;
    z-index: 10;
    /* border: 2px solid #fff; 添加边框 */
}

.slider::before {
    content: '';
    position: absolute;
    top: 3%;
    left: -18px; /* 紧贴滑块右侧 */
    transform: translateY(-50%);
    width: 16px; /* 图标宽度 */
    height: 16px; /* 图标高度 */
    background: url('image/left.png') no-repeat center center;
    background-size: contain; /* 确保图标适应容器 */
}

.slider::after {
    content: '';
    position: absolute;
    top: 3%;
    left: 10px; /* 紧贴滑块右侧 */
    transform: translateY(-50%);
    width: 16px; /* 图标宽度 */
    height: 16px; /* 图标高度 */
    background: url('image/right.png') no-repeat center center;
    background-size: contain; /* 确保图标适应容器 */
}

#slider1 {
    left: 40%;
}

#slider2 {
    left: 59%;
}



#tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab-button {
    background-color: #4CAF50; /* 绿色背景 */
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 0 5px; /* 增加按钮之间的间距 */
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
    border-radius: 5px; /* 圆角 */
    font-size: 16px; /* 字体大小 */
    font-weight: bold; /* 字体加粗 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 阴影 */
}

.tab-button:hover {
    background-color: #45a049; /* 鼠标悬停时的背景颜色 */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* 鼠标悬停时的阴影 */
    transform: translateY(-2px); /* 鼠标悬停时的轻微上移效果 */
}

.tab-button.active {
    background-color: #3e8e41; /* 激活状态的背景颜色 */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* 激活状态的阴影 */
}

.captions {
    /* color: #333; */
    font-weight: bold;
    font-size: 1em;
}
.video-group {
    display: none;
}

.video-group.active {
    display: block;
}

#interactive-session {
    text-align: center;
    background-color: #ffffff;
}

.interactive-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 40px;
    flex-wrap: wrap;
}

.carousel-frame {
    position: relative;
    flex: 1 1 520px;
    max-width: 640px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f0f0f0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.carousel-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.carousel-image.active {
    display: block;
}

.carousel-control {
    background-color: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    color: #333;
}

.carousel-control:hover {
    background-color: #f5f5f5;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.carousel-control:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(1, 80, 157, 0.25);
}
