body {
    font-family: Arial, sans-serif;
    background-image: url('/static/images/注册背景.jpg'); /* 背景图片 */
    background-size: cover;  /* 背景图片覆盖整个容器并保持比例 */
    background-position: center center; /* 背景居中 */
    background-attachment: fixed; /* 背景固定，不随滚动条滚动 */
    margin: 0;
    padding: 0;
    height: 100vh; /* 确保背景图覆盖整个视口高度 */
    position: relative;
    overflow: hidden;
}




@media (max-width: 768px) {

body {
    font-family: Arial, sans-serif;
    background-image: url('/static/images/注册背景.jpg'); /* 背景图片 */
    background-size: cover;  /* 背景图片覆盖整个容器并保持比例 */
    background-position: center center; /* 背景居中 */
    background-attachment: fixed; /* 背景固定，不随滚动条滚动 */
    margin: 0;
    padding: 0;
    height: 100vh; /* 确保背景图覆盖整个视口高度 */
    position: relative;
    overflow: hidden;
}

html, body {
    height: 100%;
    overflow: hidden; /* 禁用滚动 */
}


.username {
    position: absolute;
    top: 44.2%; /* 距离顶部50% */
    left: 62%; /* 距离左侧50% */
    transform: translate(-50%, -50%); /* 调整元素的中心点，使其真正居中 */

}
.username input {
    border: none;         /* 去掉边框 */
    outline: none;        /* 去掉默认的聚焦时边框 */
    -webkit-appearance: none; /* 去掉 iOS 特有的默认样式 */
    outline: none; /* 去掉默认的输入框聚焦样式 */
    box-shadow: none;     /* 去掉聚焦时的阴影 */
    font-size: 16px; /* 增大字号 */
    color: #666; /* 调整字体颜色为灰色 */
    width: 67%; /* 调整输入框宽度为父容器的 80% */

}

.password1 {
    position: absolute;
    top: 50%; /* 距离顶部50% */
    left: 62%; /* 距离左侧50% */
    transform: translate(-50%, -50%); /* 调整元素的中心点，使其真正居中 */

}
.password1 input {
    border: none;         /* 去掉边框 */
    outline: none;        /* 去掉默认的聚焦时边框 */
    -webkit-appearance: none; /* 去掉 iOS 特有的默认样式 */
    outline: none; /* 去掉默认的输入框聚焦样式 */
    box-shadow: none;     /* 去掉聚焦时的阴影 */
    font-size: 16px; /* 增大字号 */
    color: #666; /* 调整字体颜色为灰色 */
    width: 67%; /* 调整输入框宽度为父容器的 80% */
    background-color: transparent;

}

.password2 {
    position: absolute;
    top: 56.7%; /* 距离顶部50% */
    left: 62%; /* 距离左侧50% */
    transform: translate(-50%, -50%); /* 调整元素的中心点，使其真正居中 */

}
.password2 input {
    border: none;         /* 去掉边框 */
    outline: none;        /* 去掉默认的聚焦时边框 */
    -webkit-appearance: none; /* 去掉 iOS 特有的默认样式 */
    outline: none; /* 去掉默认的输入框聚焦样式 */
    box-shadow: none;     /* 去掉聚焦时的阴影 */
    font-size: 16px; /* 增大字号 */
    color: #666; /* 调整字体颜色为灰色 */
    width: 67%; /* 调整输入框宽度为父容器的 80% */
    background-color: transparent;

}

.submit-btn {
    position: absolute;
    top: 63.5%;  /* 距离顶部百分比 */
    left: 49.7%; /* 距离左侧50% */
    transform: translate(-50%, -50%); /* 使元素真正居中 */
    border: none;  /* 去掉边框 */
    border-radius: 5px;  /* 圆角 */
    cursor: pointer;  /* 鼠标悬停时显示为可点击 */
    width: 50px;  /* 设置按钮的宽度 */
    height: 30px;  /* 设置按钮的高度 */
    opacity: 0;


}

.register {
    position: absolute;
    top: 72%; /* 距离顶部50% */
    left: 50%; /* 距离左侧50% */
    transform: translate(-50%, -50%); /* 调整元素的中心点，使其真正居中 */
    opacity: 0;


}


}