@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
    font-weight: 400;
}

body {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* gap: 45px; */
    background-color: rgb(231, 231, 231);
}

.heading {
    padding-top: 30px;
    display: flex;
    justify-content: center;
}
.header-fs {
    color: rgb(0, 0, 0);
    font-weight: 400;
    font-size: 25px;
}

.container {
    height: 380px;
    width: 380px;
    background-color: white;
    box-shadow: 8px 8px 20px rgb(128, 128, 128);
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.form-section {
    width: 1000px;
    /* padding-top: 10px; */
    display: flex;
    position: relative;
    transition: all 0.5s ease-in-out;
    left: 0px;
}
.form-section-move {
    left: -450px;
}

.login-box {
    position: relative;
}
.login-box,
.function-box {
    height: 100%;
    width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 50px 0px 0px;
}

/* .input-email,
.input-code {
    height: 60px;
    width: 300px;
    outline: none;
    border: none;
    color: rgb(77, 77, 77);
    background-color: rgb(240, 240, 240);
    border-radius: 1rem;
    padding: 0 20px;
    font-size: 18px;
    margin-bottom: 30px;
}
.input-code {
    padding: 0 125px 0 20px;
} */
.input-item {
    display: block;
    width: 100%;
    border: 0;
    padding: 10px;
    border-bottom: 1px solid rgb(128, 125, 125);
    font-size: 15px;
    outline: none;
    margin-bottom: 45px;
}

.pr-xl { /* padding-right */
    padding-right: 125px;
}

.login-btn {
    height: 60px;
    width: 300px;
    border-radius: 0.5rem;
    background-image: linear-gradient(to right,#d7e4e4,#c9def7);
    font-size: 21px;
    border: none;
    cursor: pointer;
}
.login-btn-captcha {
    position: absolute;
    top: 140px;
    right: 100px;
    width: 120px;
    font-size: 15px;
    height: 40px;
}
.login-btn-submit {
    background-image: linear-gradient(to right, #fbc2eb, #a6c1ee);
    margin-top: 30px;
}

.func-btn {
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    /* margin-bottom: 10px; */
    /* 为每个按钮增加底部外边距，实现间距 */
    width: 300px;
    font-size: 22px;
    /* color: black; */
}

.footer {
    width: 50%;
    text-align: center;
    position: absolute;
    bottom: 0;
}
/* 设置input的占位符字体 */
::-webkit-input-placeholder{/*Webkit browsers*/
	color:#999;
	font-size:16px;
}
:-moz-placeholder{/*Mozilla Firefox 4 to 8*/
	color:#999;
	font-size:16px;
}
::moz-placeholder{/*Mozilla Firefox 19+*/
	color:#999;
	font-size:16px;
}
:-ms-input-placeholder{/*Internet Explorer 10+*/
    color:#999;
    font-size:16px;
}

/* For Responsiveness of the page */
/* 15plus 430 */
/* mi12s 400 */
/* 13pro 390 */
@media screen and (max-width: 450px) {
    body {
        justify-content: center;
    }
    .header-fs {
        font-weight: 900;
        font-size: 20px;
    }

    .container {
        height: 300px;
        width: 300px;
    }

    .form-section {
        width: 600px;
    }
    .form-section-move {
        left: -300px;
    }

    .login-box,
    .function-box {
        height: 100%;
        width: 300px;
        padding: 30px 0 30px 0;
    }

    .input-item {
        margin-bottom: 30px;
        width: 210px;
        padding-left: 5px;
    }
    .pr-xl { /* padding-right */
        padding-right: 95px;
    }

    .login-btn-captcha {
        position: absolute;
        top: 100px;
        right: 45px;
        width: 80px;
        font-size: 12px;
        height: 35px;
    }

    .login-btn-submit {
        margin-top: 30px;
        /* margin: 30px 0 0 25px; */
        width: 100%;
        height: 40px;
        font-size: 17px;
    }

    .func-btn {
        width: 250px;
        font-size: 18px;
    }

    /* 设置input的占位符字体 */
    ::-webkit-input-placeholder{/*Webkit browsers*/
        color:#999;
        font-size:14px;
    }
    :-moz-placeholder{/*Mozilla Firefox 4 to 8*/
        color:#999;
        font-size:14px;
    }
    ::moz-placeholder{/*Mozilla Firefox 19+*/
        color:#999;
        font-size:14px;
    }
    :-ms-input-placeholder{/*Internet Explorer 10+*/
        color:#999;
        font-size:14px;
    }
    .footer {
        width: 75%;
    }
}
