body {
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
}
.login-box {
    width: 400px;
    margin: auto;
    margin-top: 100px;
    padding: 40px 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    opacity: 0.8 !important;
}
.bj{
    background-image: url("../images/bj.png");
    background-size: 100% 100%;
    background-attachment: fixed;
}
@media screen and (max-width: 768px) {
    .bj {
        background-image: url("../images/63.jpg");         /* 在屏幕宽度小于等于 768px 时，替换为手机端背景图片 */
        background-repeat: no-repeat; /* 不平铺背景图像 */
        background-position: center center; /* 将背景图像定位到容器的中心位置 */
        object-fit: cover; /* 使用 cover 值，将背景图片等比例缩放并充满整个容器 */
        margin: 0; /* 去掉 body 元素的 margin 和 padding */
        padding: 0;
    }
}
h2 {
    text-align: center;
    color: #333;
    font-size: 28px;
    margin-bottom: 30px;
}
input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px 6px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    background-color: #f5f5f5;
    font-size: 16px;
    color: #666;
}
button[type="submit"] {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    border: none;
    border-radius: 5px;
    background-color: violet;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}
button[type="submit"]:hover {
    background-color: violet;
}
p {
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    color: #666;
}
a {
    color: #4caf50;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}