html{
height: 100%;
}

body{
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
	background-color: #141414;
        font-family: sans-serif;
}

.loginbox{
        width: 320px;
        height: 220px;
        background: #1f1f1f;
        color: #fff;
        top: 50%;
        left: 50%;
        position: absolute;
        transform: translate(-50%,-50%);
        box-sizing: border-box;
        padding: 25px 25px 25px 25px;
        border-radius: 15px;
}
.avatar{
        width: 100px;
        height: 100px;
        border-radius: 50%;
        position: absolute;
        top: -50%;
        left: calc(50%-50px);
}
h1{
        margin: 0;
        padding: 0 0 10px;
        text-align: center;
        font-size: 22;
	font-family: Didot;
}
.loginbox p{
        margin-left: auto;
        margin-right: auto;
        font-weight: bold;
        margin-top: 8px;
        margin-bottom: 8px;
        text-align: center;
        padding: 0;
	font-family: Didot;
}
.loginbox er{
	margin-left: auto;
        margin-right: auto;
        font-weight: bold;
        margin-top: 8px;
        margin-bottom: 8px;
        text-align: center;
        padding: 0;
        font-family: Didot;
	color: #ff0000;
}


.loginbox input[type="text"], input[type="password"]{
        width: 100%;
        border: none;
        border-bottom: 1px solid #fff;
        background: transparent;
        outline: none;
        height: 40px;
        color: #fff;
        font-size: 16px;
        margin-left: auto;
        margin-right: auto;
	font-family: Didot;
}
.loginbox input[type="submit"]{
        border: none;
        outline: none;
        height: 40px;
        width: 240px;
        background: #434A7D;
        color: #fff;
        font-size: 18px;
        border-radius: 20px;
        margin-top: 20px;
        margin-left: 15px;;
        margin-right: auto;
        position: absolute;
	font-family: Didot;
}
.loginbox input[type="submit"]:hover{
        cursor: pointer;
        background: #527D37;
        color:#ooo;
}

.loginbox a{
        text-decoration: none;
        font-size: 12px;
        line-height: 20px;
        color: darkgrey;
	font-family: Didot;
}
.loginbox a:hover{
        color:#ffc107;
}
