body{
    background-image: url("background.jpg");
    background-size: cover;   
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
}


ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

li{
    float: left;
}

li a{
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li a:hover{
    background-color: #111; 
}

#login{
    background-color: #333;
    color: #ffffff;
    position: absolute;
    left: 45%;
    top: 45%;
    padding: 15px;
}


.registerbox{
    width: 320px;
    height: 460px;
    background: #333;
    color: #fff;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    padding: 70px 30px;
    display: none;
}

.avatar{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: absolute;
    top: -50px;
    left: calc(50% - 50px)
}

h1{
    margin: 0;
    padding: 0 0 20;
    text-align: center;
}

.registerbox p{
    margin: 0;
    padding: 0;
    font-weight: bold;
}

.registerbox input{
    width: 100%;
    margin-bottom: 20px; 
}

.registerbox input[type="text"], input[type="password"]{
    border: none;
    border-bottom: 1px solid #fff;
    background: transparent;
    outline: none;
    height: 40px;
    color: #fff;
}

.registerbox input[type="submit"]{
    border: none;
    outline: none;
    height: 40px;
    background: orange;
    color: #fff;
    font-size: 18px;
    border-radius: 20px;
}

.registerbox input[type="submit"]:hover{
    cursor: pointer;
    background: darkorange;
    color: #fff;

}

.registerbox a{
    text-decoration: none;
    font-size: 12;
    line-height: 20px;
    color: darkgray;
}

.registerbox a:hover{
    color: orange;
}