
section#login-panel{
    max-width: 750px;
    width: 90%;
    margin: 150px auto;
    background: #fff;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}
section#login-panel h2{
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}
section#login-panel div.logo{
    width: 100%;
    background-repeat: no-repeat;
}
section#login-panel div.logo:before{
    left: 100px;
}
.txtb{
    border-bottom: 2px solid #adadad;
    position: relative;
    width: 75%;
    margin: 50px auto;
}
.txtb input{
    height: 40px;
    width: 100%;
    border: 0px;
    outline: none;
    color: #424858;
    background: none;
    box-sizing: border-box;
    padding: 5px;
}
.txtb span:before{
    content: attr(data-placeholder);
    position: absolute;
    top: 50%;
    left: 5px;
    color: #adadad;
    transform: translateY(-50%);
    z-index: -1;
    transition: all 0.5s;
}
.txtb span:after{
    width: 0%;
    height: 2px;
    content: '';
    transition: 0.5s;
    background: #5985ee;
    position: absolute;
    left: 0;
    bottom: -2px;
}
.focus + span:before{
    top: -5px;
}
.focus + span:after{
    width: 100%;
}
button{
    display: block;
    width: 75%;
    margin: auto;
    padding: 20px 0px;
    position: relative;
    outline: 0;
    overflow: hidden;
    text-transform: uppercase;
    transition: all 0.5s;
}
button:hover{
    background: #015293;
    color: white;
    cursor: pointer;
    transition: all 0.5s;
}
li{
    list-style: none;
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0px
}
li a{
    text-align: center;
    text-decoration: none;
    color: #424858;
    position: relative;
}
li a:after{
    background: #424858;
    content: '';
    opacity: 0;
    width: 0%;
    height: 2px;
    left: 0;
    position: absolute;
    bottom: -7px;
    transition: 0.5s;
}
li a:hover:after{
    opacity: 1;
    width: 100%;
    transition: 0.5s;
}

.box{
    max-width: 320px;
    width: 100%;
    position: fixed;
    top: 20px;
    right: 20px;
    box-sizing: border-box;
    z-index: 300;
}
.box p{
    width: 100%;
    padding: 20px;
    color: #424858;
    border-radius: 5px;
    cursor: pointer;
    box-sizing: border-box;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}
.box p i{
    margin-right: 10px;
}
.box p.success{
    background: rgba(73, 200, 121, 0.2);
    text-align: center;
}
.box p.error{
    background: rgba(200, 73, 73, 0.2);
    text-align: center;
}
@media(max-width: 1000px){
    .box{
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
    }
    section#login-panel{
        margin: 95px auto;
    }
}