/* General Styles */
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: url('/images/1.jpg') no-repeat center center fixed;
    background-size: cover;
}

.logo-header-container {
    display: flex; /* 使用 flex 布局 */
    flex-direction: column; /* 将内容垂直排列 */
    align-items: flex-start; /* 将内容左对齐 */
    padding-top: 50px;
    padding-left: 8%; /* 左侧间距，可以根据需要调整 */
    color: white;
}

.logo-header-container img {
    padding-left: 85px;
    margin: 0 ; 
    width: 170px; /* 适当调整logo大小 */
}

.header-text {
    font-size: 35px;
    text-align: left; /* 居中文字 */
    margin-top: 10px; /* 调整图片和文字之间的间距 */
}


.slogan-container {
    width: 40%; /* 控制宽度 */
    color: white;
    margin: 100px 0 0 8%; /* 向下和向右移动 */
    padding-left: 20px;
    padding-top: 150px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.main-slogan {
    color: white;
    font-size: 30px; /* 调整大小 */
    font-weight: bold;
    margin-bottom: 20px;
}

.sub-slogan {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; /* 调整每对词语之间的间距 */
    position: relative;
    padding-left: 60px;
}

.sub-slogan::before {
    content: "";
    position: absolute;
    left: -20px; /* 根据需要调整横线与文字的距离 */
    top: 50%;
    width: 20px; /* 控制横线的长度 */
    height: 1px; /* 控制横线的粗细 */
    background-color: white; /* 横线的颜色 */
    transform: translateY(-50%); /* 使横线垂直居中 */
    padding-left: 60px;
}

.word-pair {
    display: flex;
    flex-direction: column; /* 垂直排列 */
    align-items: center; /* 居中对齐 */
}

.chinese {
    font-size: 18px;
    color: white;
}

.english {
    font-size: 12px; /* 英文小字 */
    color: #cccccc; /* 使用浅灰色表示翻译 */
    margin-top: 5px; /* 与中文之间的间距 */
}





/* Form Container */
.form-container {
    background: rgba(255, 255, 255, 0.9);
    width: 300px; /* 控制表单的宽度 */
    padding: 20px 40px;
    border-radius: 8px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    margin: 120px auto 0 auto; /* 水平居中 */
    text-align: center;
    position: absolute; /* 使用绝对定位 */
    right: 10%; /* 距离右侧的距离，根据需要调整 */
    top: 15%; /* 距离顶部的距离，减小以使其上移 */
}

h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #1b9af4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #006ec7;
}

a {
    display: block;
    margin-top: 10px;
    color: #1b9af4;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Login Message */
#login-message {
    color: red;
    font-size: 14px;
    margin-top: 10px;
}
