:root{
    --primary-color:#03045e;
}

.card{
    width: 350px;
    z-index: 12;
    border-radius: 16px;
    box-shadow: 0 0 16px rgba(0, 0, 0, .3);
    background-color: #fff;
    color:#000;
    font-weight: bold;
    margin-top: 100px;
}

.card-title{
    color:#000;
    font-weight: bold;
}

.login-area{
    display: flex;
    justify-content: start;
    align-items: center;
}

.bg-image{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh; /* 设置高度为视口高度 */
    object-fit: cover; /* 保持图片比例并覆盖整个屏幕 */
}

.bg-video{
    position: fixed;
    min-width: 100%;
    min-height: 100%;
    left: 50%;
    top: 20%;
    z-index: 0;
    transform: translate(-50%, -20%);
}

.bg-video-mask{
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9;
    background-color: rgba(0, 0, 0, .4);
}


#forgetPasswordLink{
    color:#00a6fb;
    font-weight: 400;
}

#forgetPasswordLink:hover{
    color:#0d21a1;
}

#submit{
    background-color: var(--primary-color);
    color:#fff;
}

@media screen and (max-width:900px) {
    .card{
        margin-top: 50%;
    }

    .login-area{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .bg-image{
        height: 100%;
        object-fit: cover; /* 覆盖整个容器，但保持图片的宽高比 */
        object-position: center top; /* 图片的位置：水平居中，顶部对齐 */
    }
}
