body, html {
    width: 100%;
    height: 91.1%;
    margin: 0;
    font-family: Arial, sans-serif;
}

/*logobar*/
.logobar {
    height: 80px;
    background: whitesmoke;

}

.logobar img {
    margin-left: 15px;
    margin-top: 25px;
    align-self: center;
    height: 30px;
}

/*navbar*/
.navbar {
    overflow: hidden;
    background-color: #1d4578;
}

.navbar a {
    float: left;
    font-size: 17.5px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit; /* Important for vertical align on mobile phones */
    margin: 0; /* Important for vertical align on mobile phones */
}

.navbar a:hover, .dropdown:hover .dropbtn {
    background-color: #007bff;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(11, 61, 175, 0.56);
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: rgb(0, 0, 0);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}


/*内容*/
.background-image {
    background-color: cadetblue;
    background-image: url('images/bg.jpg'); /* 替换为你的背景图路径 */
    width: 100%; /* 覆盖整个视口 */
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    object-fit: contain; /*  拉伸填满（可能变形）*/
    /* filter: blur(8px); 可选：为背景添加模糊效果 */
    /*position: fixed;  使背景图固定 */
    z-index: -1; /* 确保背景在内容之下 */
}


.login-container {
    position: absolute; /* 相对于浏览器窗口定位 */
    top: 40%; /* 垂直居中 */
    left: 80%; /* 水平居中 */
    transform: translate(-50%, -50%); /* 调整位置 */
    background-color: rgba(255, 255, 255, 0.8); /* 半透明白色背景 */
    padding: 20px;
    border-radius: 8px; /* 圆角边框 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 阴影效果 */
    width: 260px; /* 表单宽度 */
}

.login-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    margin-bottom: 5px;
    display: block; /* 使标签在新行显示 */
}

.form-group input {
    width: 100%; /* 输入框宽度 */
    padding: 10px; /* 内边距 */
    box-sizing: border-box; /* 包括padding和border在内的宽度 */
}

.login-form button {
    width: 100%;
    padding: 12px;
    background: #0846ee;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.login-form button:hover {
    background: #073587;
}

.intro {
    position: absolute; /* 相对于浏览器窗口定位 */
    top: 66%; /* 垂直居中 */
    left: 78%; /* 水平居中 */
    transform: translate(-50%, -50%); /* 调整位置 */
    padding: 20px;
    width: 500px; /* 表单宽度 */
}

.intro p {
    color: white;
    text-align: center;
    text-shadow:3px 3px 6px #000000;
}


/*fergetten-password*/

.fergetten-password {
    margin-top: 20px;
    text-align: center;
}

.fergetten-password a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.fergetten-password a:hover {
    color: #3498db;
}