/* 去除浏览器默认的内外边距 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Pixel'; /* 自定义字体名称，你可以根据需要修改 */
    src: url('Pixel.ttf') format('truetype'); /* 兼容旧版浏览器 */
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Pixel', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    background-color: #f4f4f4;
    /* 防止页面在移动端出现滚动条 */
    overflow-x: hidden;
}

/* 左上角返回箭头样式 */
.back-arrow {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 50px;
    color: #425a83;
    text-decoration: none;
}

/* 页面上方的小图片 */
.register-image {
    width: 100px;
    height: 100px;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* 注册框容器样式 */
.register-container {
    width: 90%;
    max-width: 400px;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.register-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.register-container form input {
    font-family: 'Pixel', sans-serif;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.register-container form button {
    font-family: 'Pixel', sans-serif;
    width: 100%;
    padding: 10px;
    background-color: #425a83;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}