#loginpage {
    background-color: #000048;
    background-image: url('../files/login_background.png');
    background-size: 50vw;
    background-position: right 0;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #444;
}

.loginbloc {
    width: calc(40% - 180px);
    margin: 40px;
    background-color: #fafafa;
    padding: 50px;
    box-shadow: 0 0 30px #0005;
    max-width: 600px;
    border-radius: 3px;
}

#login_logo {
    height: 50px;
    margin-right: 20px;
    float: left;
    padding-top: 20px;
}

#titlelogin {
    line-height: 40px;
    font-size: 40px;
}

.indice {
    border-radius: 5px;
    padding: 15px;
    background: #eee;
}

input {
    width: calc(70% - 60px);
    padding: 15px 20px;
    border: none;
    background: #eee;
    border-radius: 5px;
    outline: none;
    margin-right: 20px;
    float: left;
}

input:focus {
    outline: 1px solid #626CE2;
}

button {
    padding: 15px 0;
    width: 30%;
    color: #fff;
    border: none;
    background: #7D6BDA;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background: #626CE2;
    transition: 0.2s;
}

.error {
    color: #fff;
    background: #f23737;
    padding: 10px;
    border-radius: 5px;
    font-size: 13px;
}

.success {
    color: #fff;
    background: #37f242;
    padding: 10px;
    border-radius: 5px;
    font-size: 13px;
}

#passwordindice {
    width: 100%;
    height: 20px;
    background-color: #eee;
    border-radius: 10px;
    margin-top: 20px;
}

#passwordindicebar {
    width: 0;
    height: 20px;
    background-color: #000048;
    border-radius: 10px;
    transition: 0.2s;
}

@media (max-width: 1100px) {
    .loginbloc {
        width: calc(100% - 180px);
        max-width: none;
    }
    
    button {
        width: 100%;
        margin-top: 20px;
    }
    
    input {
        width: calc(100% - 40px);
    }
}



