﻿@charset "utf-8";

body, html {
    margin: 0;
    padding: 0;
    /*font-family: "Microsoft YaHei", sans-serif;*/
    background: url('../loginImg/background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    height: 100%;
}

.container {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.branding {
    position: absolute;
    top: 200px;
    left: 150px;
}

.logo {
    margin-bottom: 10px;
}

    .logo img {
        max-width: 150px;
        height: auto;
    }

.title p {
    margin: 8px 0;
    font-size: 30px;
    font-weight: 300;
    color: #fff;
}

.login-box {
    position: absolute;
    right: 150px;
    top: 200px;
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 5px;
    width: 320px;
}

    .login-box h2 {
        margin-bottom: 25px;
        font-size: 20px;
        text-align: right;
        font-weight: normal;
        color: #fff;
    }

    .login-box label {
        color: #fff;
        display: block;
        margin: 10px 0 5px;
    }

    .login-box input {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: none;
        border-radius: 3px;
        box-sizing: border-box;
    }

.captcha-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .captcha-box input {
        width: 60%;
    }

    .captcha-box img {
        height: 38px;
        margin-left: 10px;
        margin-bottom: 15px;
        border-radius: 3px;
    }

.send-email {
    width: 100%;
    padding: 10px;
    background-color: #333;
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin-top:0px;
}
.login-btn {
    width: 100%;
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 5px;
}

    .login-btn:hover {
        background-color: #333;
    }

footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #ccc;
}

    footer a {
        color: #ccc;
        text-decoration: none;
        margin: 0 5px;
        font-size:12px;
    }

        footer a:hover {
            text-decoration: underline;
        }
    footer span {
        color:#ccc;
    }

/* 响应式设计 */
@media only screen and (min-width: 1201px) and (max-width: 1366px) {
    .branding {
        top: 100px;
		left: 100px;
    }

    .login-box{
		top: 100px;
		width: 280px;
	}
	.login-box input{
		margin-bottom: 5px;
		padding: 7px;
	}
}
@media (max-width: 1200px) {
    .branding {
        left: 100px;
    }

    .login-box {
        right: 100px;
    }
}


@media (max-width: 992px) {
    .branding {
        left: 50px;
    }

    .login-box {
        right: 50px;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .branding {
        position: relative;
        top: 100px;
        left: 0;
        text-align: center;
        margin-bottom: 30px;
    }

    .login-box {
        position: relative;
        top: 120px;
        right: 0;
        margin-bottom: 50px;
    }
}

@media (max-width: 480px) {
    .logo img {
        max-width: 100px;
    }

    .title p {
        font-size: 18px;
    }

    .login-box {
        width: 280px;
        padding: 20px;
    }
}
