/* styles.css */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.navbar {
    width: 100%;
}

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: auto;
    object-fit: cover;
    z-index: -1;
}

.nav-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-height: 12vw;
    min-height: 12vw;
    height: auto;
    background: url('../mobile_images/Lead_BG.png') no-repeat center center;
    background-size: cover;
}

/* .head_img {
    width: 100%;
    max-height: 100px;
    min-height: 60px;
    height: auto;
} */

/* .nav-logo { */
    /* position: absolute; */
    /* margin-left: 4vw;
    width: 5vw;
    height: 2vw; */
/* } */

.nav-logo img{
    margin-left: 4vw;
    width: 40vw;
    height: auto;
}

.ios .nav-logo img{
    margin-top: 1vw;
    margin-left: 4vw;
    width: 40vw;
    height: auto;
}

.nav-dropdown {
    position: absolute;
    right: 0;
}

.ios .nav-dropdown {
    bottom: 0px !important;
    top: 0px !important;
    position: absolute;
    right: 0;
}

#dropdown-btn {
    /* width: 100%;
    max-height: 100px;
    min-height: 20px;
    height: auto; */
    /* right: 0; */
    background: none;
    border: none;
    cursor: pointer;
    position: relative; /* 确保相对定位 */
}

.ios #dropdown-btn {
    /* width: 100%;
    max-height: 100px;
    min-height: 20px;
    height: auto; */
    /* right: 0; */
    background: none;
    border: none;
    cursor: pointer;
    position: relative; /* 确保相对定位 */
    padding:0;
    margin:0;
}

#dropdown-btn img {
    width: 100%;
    max-height: 12.5vw;
    min-height: 12.5vw;
    height: auto;
}

.ios #dropdown-btn img {
    width: 50%;
    max-height: 12vw;
    min-height: 12vw;
    height: auto;
    float: right;
}

.dropdown-content {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.dropdown-content a {
    color: black;
    padding: 2vh 0;
    text-decoration: none;
    display: block;
    font-size: 2.4vh;
}

/* .dropdown-content a:hover {
    background-color: #575757;
} */

.dropdown-content a {
    width: 50vw;
    height: 4vw;
    margin-top: 7vw;
    margin-bottom: 7vw;
}

.dropdown-content img {
    width: 80vw;
    height: auto;
}

.dropdown-content a img {
    float: left;
    width: auto;
    height: 4vw;
}

.show {
    display: flex;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* min-height: calc(100vh - 6.7vh); */
    flex-grow: 1; /* 增加此行 */
    min-height: calc(100vh - 6.8vh);
}

#about-video {
    width: 100vw;
    height: 31vh;
    object-fit: cover;
}

/* 在较小屏幕上重新调整 main 的样式 */
/* @media (max-height: 1280) {
    main {
        min-height: calc(100vh - 5vh);
    }
} */

.center-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-image {
    max-width: 75vw;
    height: auto;
}

.contact-center-image {
    max-width: 55vw;
    height: auto;
}

.login_logo {
    max-width: 25vw;
    height: auto;
}

.login-error {
    max-width: 79vw;
    height: auto;
}

.ios .login-error {
    max-width: 78vw;
    height: auto;
}

.about_center-image {
    /* background: red; */
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 10vw 0vw 7vw 0vw;
}

.about_center-image img {
    display: block;
    max-width: 80vw;
    height: auto;
    margin: auto; /* 水平居中 */
}

.about_center-image-bottom {
    background: url(../mobile_about/Logo_green_BG.png) no-repeat center center;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 7vw 0vw 11vw 0vw;
    background-size: cover;
}

.about_center-image-bottom img {
    /* display: block; */
    max-width: 60vw;
    padding-right: 20vw;
    height: auto;
    margin: auto;
}

.team_center-image {
    /* background: red; */
    /* display: flex; */
    justify-content: center;
    width: 100%;
    padding: 8vw 0vw 9vw 0vw;
}

.team_center-image img {
    display: block;
    max-width: 80vw;
    height: auto;
    margin: auto; /* 水平居中 */
}

.team_center-image-bottom {
    /* background: red; */
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 9vw 0vw 12vw 0vw;
    background: url(../mobile_team/Grass_green_BG.png) no-repeat center center;
}

.team_center-image-bottom img {
    max-width: 75vw;
    padding-right: 5vw;
    height: auto;
    margin: auto;
}

.center-login {
    max-width: 80vw;
    width: 100%; /* 让其宽度为100%，以保持居中 */
    height: 100vw;
    /* background: yellow; */
    text-align: center;
}

/* .error-message {
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 16px;
    color: red;
    padding: 5px 10px;
    border-radius: 5px;
    display: none;
} */

.footer-nav {
    width: 100vw;
    background: url(../mobile_footer/ubg.png) no-repeat center center;
    cursor: pointer;
    color: white;
    text-align: center;
    background-size: cover;
}

.footer-nav img {
    padding: 0;
    margin: 0;
}

.footer-nav a {
    color: white;
    padding: 1vh 3.4vw;
    text-decoration: none;
    display: inline-block;
    font-size: 2vh;
}

.ios .footer-nav a {
    color: white;
    padding: 1vh 2.9vw;
    text-decoration: none;
    display: inline-block;
    font-size: 2vh;
}

/* .footer-nav a:hover {
    background-color: #575757;
} */

.footer_top {
    width: 100vw;
    height: 11vw;
}

.footer_top a {
    margin-top: 5vw;
}

.footer_center {
    width: 100vw;
    height: 8vw;
}

.footer_center a {
    margin-top: 1.8vw;
}

.ios .footer_center a {
    margin-top: 1vw;
}

.footer_bottom {
    width: 100vw;
    height: 12.5vw;

}

.footer_bottom img {
    width: 74vw;
    margin-top: 3vw;
}

.ios .footer_bottom img {
    width: 74vw;
    margin-top: 3vw;
}

.line {
    width: 100vw;
    padding: 0;
    margin: 0vw 0vw;
}

.ios .line {
    width: 100vw;
    padding: 0;
    margin: 0vw 0vw;
}

.line img{
    width: 80vw;
}

.input_container {
    /* margin-top: 20px; */
    /* display: flex; */
    flex-direction: column; /* 垂直排列 */
    align-items: center; /* 水平居中对齐 */
}

.account, .password{
    width: 78vw;
    height: 10.5vw;
    margin: 0 auto;
    background: url(../mobile_login/LOGIN_input.png) no-repeat center center; 
    /* background-repeat: no-repeat; */
    /* background-size: contain; */
    margin-top: 20px;
    text-align: center;
    /* cursor: pointer;
    color: white;
    text-align: center; */
    background-size: cover;
}

input::placeholder {
    color:rgb(215, 223, 223);
}

.input_container input {
    margin-top: 0.5vw;
    width: 65vw;
    height: 9vw;
    font-size: 4vw;
    border: none;
    outline: none;
}

.ios .input_container input {
    margin-top: 0.5vw;
    width: 65vw;
    height: 7.5vw;
    font-size: 4vw;
    border: none;
    outline: none;
}

.login_container {
    display: flex;
    justify-content: center; /* 水平居中对齐 */
    align-items: center; /* 垂直居中对齐 */
}

.login {
    margin-top: 5.8vw;
    width: 27vw;
    height: 10vw;
    /* background: url(../new_images/login-in/LOGIN_button.png) no-repeat center center; */
    background-color: #1e5155;
    border: none; /* 移除按钮边框 */
    cursor: pointer; /* 显示指针 */
    font-size: 4vw;
    color: white;
}

/* 对话框样式 */
#customDialog {
    position: fixed;
    width: 75vw;
    height: 30vw;
    background: url(../new_images/login-in/CLIENTLOGIN_ifwrong_BG.png) no-repeat center center;
}

.input_container {
    position: relative;
}

.error-message {
    position: absolute;
    top: -20px;
    left: 0;
    /* background-color: #ffdddd; */
    /* color: #ff0000; */
    font-size: 16px;
    color: red;
    padding: 5px 10px;
    border-radius: 5px;
    display: none;
}

#confirmButton {
    width: 110px;
    height: 55px;
    right: 55px;
    top:135px;
    background: url(../new_images/login-in/LOGIN_ifwrong_OK.png) no-repeat center center;
}

/* 全屏锁定背景样式 */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none; /* 初始隐藏 */
}
