/*页面通用设置*/
:root {
    /*通用颜色*/
    --black:  rgb(0, 0, 0);
    --white:  rgb(255, 255, 255);
    /*文本样式*/
    --text_navagation: Calibri;
    --text_top_lab_name: Andale Mono;
    --text_people_intro: "Open Sans", sans-serif; /* 定义Open Sans字体变量 */
    --box_whole_height_px: 2900px;    /*整个盒子的高度*/
    --top_box_px: 50px;   /*顶部盒子的高度*/
    --bottom_box_height_px: 2850px;    /*底部盒子的距离顶部的高度  bottom_box_height_px = box_whole_height_px - 80px*/
 }

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

.box_whole {
    background-color: rgba(0, 0, 0, 0); 
    width: 100%;
    height: var(--box_whole_height_px); /* 固定高度为2000px */
    padding: 0px; /* 可选：设置内边距 */
    position: absolute; /* 设置定位属性为绝对定位 */
    top: 0px; /* 设置距离顶部的偏移量 */
    left: 0px; /* 设置距离左侧的偏移量 */
    margin: 0; /* 移除默认的外边距 */
}

/* --------------------------------1.顶部大盒子-------------------------------- */
.box_top {
    position: absolute; /* 绝对定位 */
    width: 100%; /* 宽度占满父容器的宽度 */
    height: var(--top_box_px); /* 高度占整个盒子的10% */
    background-color: rgba(0, 0, 0, 0); /* 背景颜色 */
    margin: 0; /* 移除默认的外边距 */
    padding: 0; /* 可选：设置内边距 */
}

.top_header {
    position: fixed; /* 固定定位 */
    top: 0px; /* 距离顶部0px */
    left: 50%; /* 距离左侧50% */
    transform: translate(-50%); /* 通过transform居中 */
    width: 1100px; /* 示例宽度 */
    height: 50px; /* 示例高度 */
    background-color: rgba(0, 0, 0, 0); /* 半透明背景颜色 */
    backdrop-filter: blur(10px); /* 玻璃模糊效果 */
    margin: 0; /* 移除默认的外边距 */
    padding: 0; /* 可选：设置内边距 */
    display: flex; /* 设置为flex容器 */
    justify-content: space-around; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    z-index: 1000; /* 确保导航栏在最上层 */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* 添加底部边框，增强玻璃效果 */
}

.header_text{
    text-decoration: none; /* 移除下划线 */
    color: rgb(0, 0, 0);
    font-family: var(--text_navagation); /*设置字体*/
    font-size: 30px; /*设置字体大小*/
}

/*鼠标悬停顶部导航栏变成橙色*/
.header_text:hover{
    color: rgb(255, 123, 0);
}

/* -----------------1.2顶部标题栏----------------- */


/* --------------------------------2.中间大盒子-------------------------------- */
.box_center {
    position: absolute; /* 绝对定位 */
    top: var(--top_box_px); /* 距离顶部的偏移量 */
    width: 100%; /* 宽度占满父容器的宽度 */
    height: 98%; /* 高度占整个盒子的80% */
    background-color: rgba(0, 0, 0, 0); /* 背景颜色 */
    margin: 0; /* 移除默认的外边距 */
    padding: 0; /* 可选：设置内边距 */
}

/* -----------------2.1居中的盒子----------------- */
.center_middle {
    position: absolute; /* 绝对定位 */
    top: 0px; /* 距离顶部0px */
    left: 50%; /* 距离左侧50% */
    transform: translateX(-50%); /* 通过transform居中 */
    width: 1100px; /* 示例宽度 */
    height: 100%; /* 示例高度 */
    background-color: rgba(0, 0, 0, 0); /* 示例背景颜色 */
    margin: 0; /* 移除默认的外边距 */
    padding: 0; /* 可选：设置内边距 */
    display: block; /* 移除 flex 布局 */
    text-align: left; /* 确保内容靠左 */
    overflow-y: auto; /* 允许内容滚动 */
}


.research_container {
    max-width: 1100px;
    top: 0px; /* 确保在顶部 */
    background-color: rgba(0, 0, 0, 0); /* 示例背景颜色 */
    margin: 0 auto;
    padding: 20px;
    text-align: left; /* 内容靠左对齐 */
}

.research_container h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #000000;
    text-align: left; /* 标题靠左对齐 */
}

/* 项目列表 */
.research_list {
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0);
    gap: 20px;
    text-align: left; /* 机器人列表内容靠左对齐 */
}

/* 项目容器 */
.research_item {
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0);
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);        每个项目的阴影效果框框 */    
    text-align: left; /* 内容靠左对齐 */
}

.research_titile{
    background-color: rgba(0, 0, 0, 0);
}

/* 项目标题样式 */
.research_titile h2{
    font-size: 28px;
    text-align: justify; /* 内容靠左对齐 */
}

/* 内容包装器 */
.content_wrapper {
    display: flex; /* 使用 flex 布局 */
    flex-direction: row; /* 默认方向，文字在左，图片在右 */
    background-color: rgba(0, 0, 0, 0);
    gap: 20px; /* 图片和文字之间的间距 */
    align-items: flex-start; /* 内容从顶部对齐 */
}


/* 图片展示框 */
.image_box {
    width: 600px; /* 固定宽度 */
    height: 300px; /* 固定高度 */
    margin: 20px 0; /* 上下边距 */
    border-radius: 10px; /* 圆角 */
    overflow: hidden; /* 防止图片溢出 */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 阴影效果 */
}

.image_box img {
    width: 100%; /* 图片宽度占满容器 */
    height: 100%; /* 图片高度占满容器 */
    object-fit: cover; /* 确保图片填充整个框，保持比例 */
    display: block; /* 防止图片下方出现空白 */
}

/* 视频展示框 */
/* 视频容器 */
.video_container {
    display: flex;
    width: 600px; /* 单个视频的宽度 */
    height: 300px; /* 单个视频的高度 */
    transform: translateX(0); /* 初始状态不应用视频X轴水平轮播 */
    transition: transform 0.5s ease-in-out; /* 视频轮播过渡效果0.5秒 */
}

/* 视频样式 */
.video_container iframe {
    width: 100%; /* 视频宽度占满父容器 */
    height: 100%; /* 视频高度占满父容器 */
    border: none; /* 移除 iframe 的边框 */
}


/* 文字内容部分 */
.text_content {
    flex: 1; /* 文字部分占据剩余空间 */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 确保标题在顶部 */
}

.text_content h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
    align-self: flex-start; /* 标题在顶部 */
}

/* 项目内容样式 */
.text_content .description {
    font-size: 18px;
    color: #000000;
    margin-bottom: 10px;
    line-height: 1.4; /* 增加行高，提升可读性 */
    font-family: "Helvetica Neue", Arial, sans-serif; /* 使用更现代的英文字体 */
    text-align: justify ; /* 左对齐 */
}

/* 标签部分 */
.tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tags .tag {
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
}

/* 链接部分 */
.links {
    display: flex;
    gap: 10px;
    margin-left: auto; /* 将链接推到右侧 */
}

.links a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    padding: 2px 6px;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s;
}

.links a:hover {
    background: #00000000;
    color: #567699;
    text-decoration: underline;
}

/* 相关链接，比如项目的github和论文paper */
.relevant_links{
    width: 420px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
}

.github_link {
    width: 100px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    border-radius: 5px;
    text-decoration: none; /* 移除下划线 */
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    transition: background-color 0.2s; /* 添加过渡效果 */
}

.github_link:hover {
    background-color: rgba(97, 95, 95, 0.5); /* 悬停背景色 */
}

.github_icon {
    width: 30px; /* 图标宽度 */
    height: 30px; /* 图标高度 */
    object-fit: contain; /* 保持图标比例 */
    background-color: rgba(0, 0, 0, 0);
}

.github_text {
    line-height: 30px;
    text-align: center;
    width: 60px;
    font-size: 14px;
    color: #000000;
    font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif; /* 使用更现代的英文字体 */
    background-color: rgba(0, 0, 0, 0);
}

.paper_link{
    width: 100px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    border-radius: 5px;
    text-decoration: none; /* 移除下划线 */
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    transition: background-color 0.2s; /* 添加过渡效果 */
}

.paper_link:hover{
    background-color: rgba(97, 95, 95, 0.5);
}

.paper_icon {
    width: 30px; /* 图标宽度 */
    height: 30px; /* 图标高度 */
    object-fit: contain; /* 保持图标比例 */
    background-color: rgba(0, 0, 0, 0);
}

.paper_text {
    line-height: 30px;
    text-align: center;
    width: 60px;
    font-size: 14px;
    color: #000000;
    font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif; /* 使用更现代的英文字体 */
    background-color: rgba(0, 0, 0, 0);
}

.learn_more_link{
    width: 135px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0);
    line-height: 25px;
    text-align: center;
}

/* 其他设施部分 */
.other_facilities {
    margin-top: 40px;
}

.other_facilities h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.other_facilities p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

/* --------------------------------3.底部大盒子-------------------------------- */
.box_bottom {
    position: absolute; /* 绝对定位 */
    top: var(--bottom_box_height_px); /* 距离顶部的偏移量为90% */
    width: 100%; /* 宽度占满父容器的宽度 */
    height: 80px; /* 高度占整个盒子的10% */
    background-color: rgb(54, 54, 54); /* 背景颜色 */
    margin: 0; /* 移除默认的外边距 */
    padding: 0; /* 可选：设置内边距 */
}

/* -----------------3.1居中的盒子----------------- */
.bottom_middle {
    position: absolute; /* 绝对定位 */
    top: 0px; /* 距离顶部0px */
    left: 50%; /* 距离左侧50% */
    transform: translate(-50%); /* 通过transform居中 */
    width: 1100px; /* 示例宽度 */
    height: 100%; /* 示例高度 */
    background-color: rgba(255, 255, 255, 0); /* 示例背景颜色 */
    margin: 0; /* 移除默认的外边距 */
    padding: 0; /* 可选：设置内边距 */
    display: flex; /* 设置为flex容器 */
    justify-content: space-around; /* 水平居中 */
    align-items: center; /* 垂直居中 */
}


.bottom_text_1{
    color: rgb(255, 255, 255);
    text-align: center;
    top: 0px; /*距离div高10px*/
    font-size: 18px; /*设置字体大小*/
    font-family: STfangsong; /*设置字体*/
    line-height: 1.5; /*行高*/
    font-weight: bold;
}