﻿body {
}

.identitybox {
    max-width: 350px;
    border-radius: 20px;
    margin: auto;
    background: rgba(0,0,0,0.8);
    box-sizing: border-box;
    padding: 40px;
    color: #fff;
    margin-top: 100px;
    position: absolute;
    transform: translate(-50%,-50%);
    top: 30%;
    left: 50%;
    border-style: groove;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: absolute;
    top: -50px;
    left: calc(50% - 50px);
    
}

h1.identity {
    margin: 20;
    padding: 0 0 20px;
    text-align: center;
    font-size: 22px;
}

.identitybox p {
    margin: 0;
    padding: 0;
    font-weight: bold;
}

.identitybox input {
    width: 100%;
    margin-bottom: 20px;
}

.identitybox  input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 5px;
    background: rgba(0,0,0,0.10);
    outline: none;
    border: none;
    border-bottom: 1px dotted #fff;
    color: #fff;
    border-radius: 5px;
    margin: 10px;
    font-weight: bold;
}
.identitybox input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 5px;
    background: rgba(0,0,0,0.10);
    outline: none;
    border: none;
    border-bottom: 1px dotted #fff;
    color: #fff;
    border-radius: 5px;
    margin: 10px;
    font-weight: bold;
}
.identitybox input[type="button"] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 0;
    margin-top: 30px;
    outline: none;
    border: none;
    background: #60adde;
    opacity: 0.7;
    border-radius: 20px;
    font-size: 20px;
    color: #fff;
}

.identitybox input[type="button"]:hover {
    background: #003366;
    opacity: 0.7;
}

.identitybox a {
    text-decoration: none;
    font-size: 12px;
    line-height: 20px;
    color: darkgrey;
}

    .identitybox a:hover {
        color: #ffc107;
    }

input[type="button"].register {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 0;
    margin-top: 30px;
    outline: none;
    border: none;
    background: #27ae60;
    opacity: 0.7;
    border-radius: 20px;
    font-size: 20px;
    color: #fff;
}