body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: auto; /* 确保平滑滚动 */
    font-family: Arial, sans-serif;
}

header {
    position: fixed; /* 改为固定定位 */
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px; /* 调整左右边距 */
    background: rgb(253, 253, 253,0.9); /* 完全透明背景 */
    z-index: 1000;
    transition: color 0.3s, display 0.3s; /* 添加显示隐藏过渡效果 */
    height: 80px;
}

.logo {
    margin-left: -10px; /* 调整logo左边距 */
    margin-top: -5px;
}

.logo img {
    max-height: 75px;
    height: 100%;
}

.nav-container {
    margin-right: 60px; /* 调整导航栏右边距 */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px; /* 增加标签间距 */
    margin: 0;
    padding: 0;
     position: relative;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: #1f1d1d; /* 导航栏文字为白色 */
    font-weight: bold;
    font-size: 1.2em; /* 调整字体大小 */
    transition: color 0.3s;
}

nav ul li a:hover {
    color: gray; /* 悬停时变成灰色 */
}

nav ul li .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(82, 82, 82, 0.8); /* 浅色透明背景 */
    list-style: none;
    padding: 20px;
    margin: 0;
    white-space: nowrap;
    border-radius: 5px;
}

nav ul li:hover .dropdown-menu {
    display: block;
}

nav ul li .dropdown-menu li {
    padding: 10px 10px; /* 增加子选项上下间隔 */
    position: relative;
}

nav ul li .dropdown-menu li a {
    color: white; /* 将子选项文字颜色设为白色 */
    font-size: 1em; /* 调整子选项字体大小 */
}

nav ul li .dropdown-menu li a:hover {
    color: gray;
}

nav ul li .dropdown-menu li img {
    display: none;
    position: absolute;
    top: 50%;
    left: -250px; /* 将图片显示在标签左边 */
    width: 200px; /* 增加图片宽度 */
    height: 200px; /* 增加图片高度 */
    transform: translateY(-50%); /* 垂直居中 */
    background-size: cover;
    background-position: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav ul li .dropdown-menu li a:hover img {
    display: block;
}

.page {
    height: 100vh; /* 每一页铺满整个屏幕 */
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center; /* 确保内容水平居中 */
    align-items: center; /* 确保内容垂直居中 */
    overflow: hidden; /* 确保内容不超出页面 */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-foreground {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
}

.video-foreground iframe {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
}

.content h1 {
    font-size: 3em;
    margin: 0;
}

.content p {
    font-size: 1.5em;
    margin: 10px 0 0;
}

.steps-container {
    display: grid;
    grid-template-rows: calc(50% + 40px) calc(50% - 40px);
    height: 100%;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;

    background-image: url('../images/line.svg'); /* 替换 'path/to/your/image.jpg' 为你的图片路径 */
    background-position: center calc(50% + 40px);
    background-size: contain;
    background-repeat: no-repeat;


}

.steps-top,
.steps-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;

    height: 100%;
    padding: 0;
}

.steps-top {
    grid-template-rows:calc(100% - 50px) 50px;
    align-items: end; /* 使上方的卡片靠近下方 */
}

.steps-bottom {
    grid-template-rows: 50px calc(100% - 50px);
    align-items: start; /* 使下方的卡片靠近上方 */
}

.steps-top .step-card {

    justify-self: start; /* 使 step-1 和 step-3 靠左 */

}

.steps-bottom .step-card {
    justify-self: end; /* 使 step-2 和 step-4 靠右 */
}

.vertical-line {
    justify-self: center;
    align-self: center;
    width: 100%;
    min-height: 2px;

    background: transparent;

}

.step-card,
.vedio-card{
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0px;
    text-align: center;
    position: relative;
    transition: box-shadow 0.3s, transform 0.3s; /* 添加平滑过渡效果 */
    cursor: pointer; /* 鼠标悬停时变成小手指 */
    min-width: 580px;
    min-height: 490px;
}

.vedio-card iframe{
    width: 100%;
    height: 100%;
     border-radius: 10px;
}
.step-card:hover {
    box-shadow: 0 0 15px rgba(0, 0, 255, 0.5); /* 发光效果 */
    transform: translateY(-5px); /* 鼠标悬停时卡片稍微向上移动 */
}


.steps-top .step-card{
    margin-left: 10%;
    max-width: 90%;
    max-height: calc(100% - 180px);
    height: calc(100% - 180px);
    width: 100%;
}



.steps-bottom .step-card {
    margin-right: 10%;
    max-width: 90%;
    max-height: calc(100% - 100px);
    height: calc(100% - 100px);
    width: 100%;


}

.steps-top .vedio-card{

    max-width: 90%;
    max-height: calc(100% - 180px);
    height: calc(100% - 180px);
    width: 100%;
}



.steps-bottom .vedio-card {
    margin-left: 10%;
    max-width: 90%;
    max-height: calc(100% - 100px);
    height: calc(100% - 100px);
    width: 100%;


}

.step-card img {
    width: 100%;
    min-height: 80%; /* 高度为卡片的80% */
    max-height: 80%; /* 高度为卡片的80% */
    object-fit: fill; /* 强制图像拉伸变形以适应容器 */
    border-radius: 10px;
    margin-bottom: 15px;
}

.step-card p {
    font-size: 1em;
    color: #333;
    margin: 0;
    margin-left: 5%;
    width: 80%;
    text-align: left; /* 将文字靠左对齐 */
}



.register-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    width: 100%;
    position: relative;
    margin-top: 180px;
}

.card {
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/

    align-items: center;
    width: 60%;
    height: 80%;
    margin-right: 35%; /* 与日历对称 */
    margin-top: 10%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0;
}

.card .register-vedio{
    padding-top: 10px;
    width: 90%;
    padding-left: 3%;
    height: 30%;


}

.register-vedio iframe {
    width: 100%;
    height: 100%;

}

.register-form {
    display: flex;
    flex-direction: column;
    width: 90%; /* 调整宽度以适应卡片内边距 */
    padding: 20px; /* 增加内边距来改善布局 */
    padding-left: 5%;
    box-sizing: border-box; /* 包括内边距和边框在内的计算 */
    height: 60%;
     overflow-y: auto;


}

.register-form h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5em;
    color: #333;
}

.register-form label {
    margin: 10px 0 5px;
    font-size: 1em;
    color: #666;
}

.register-form input {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.register-form button {
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 10px;
    align-self: center; /* 居中对齐按钮 */
}

.register-form button:hover {
    background-color: #45a049;
}


/*Schedule.html*/

.video-section {
    display: flex;
    justify-content: space-around;
    /*align-items: center;*/

     min-height: 90%;
}

.video-card {

    width: 30%;
    height: 50%;
    min-height: 50%;
    text-align: center;
    background: #f9f9f9;
    padding: 10px;
    margin-top: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.video-card div {
    width: 100%;
    min-height: 300px;
    border-radius: 10px;
    margin-bottom: 10px;
    background-color: #1f1d1d;
}

.video-card h3 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
}

.footer {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    font-size: 0.8em;
    color: #333;
}

