body{
    display: flex;
    justify-content: center;
    align-content: center;
}

#form-wrapper{
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    background-color: #161616;
}

form{
    margin: auto;
    width: 100%;
    padding: 20px;
}

#background{
    background-color: #2040b4;
    background-image: url("/assets/img/user-access-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 80%;
    display: none;
}

.form-item{
    position: relative;
    padding-top: 20px;
    margin-bottom: 20px;
}

.form-item label {
    color: #eeeeee;
}

.form-item input[type="text"]+label,
.form-item input[type="password"]+label,
.form-item input[type="email"]+label{
    position: absolute;
    left: 0;
    pointer-events: none;
    top: 30px;
    transition: all .4s;
    transform: translateY(-30px);
}

input[type="text"],
input[type="password"],
input[type="email"]{
    width: 100%
}

.form-item input[type="text"]::placeholder,
.form-item input[type="password"]::placeholder,
.form-item input[type="email"]::placeholder{
    color: transparent;
    user-select: none;
}

.form-item [type="text"]:placeholder-shown+label,
.form-item [type="password"]:placeholder-shown+label,
.form-item [type="email"]:placeholder-shown+label{
    transform: translateY(0);
    color: #aaaaaa;
}

.form-item [type="text"]:focus+label,
.form-item [type="password"]:focus+label,
.form-item [type="email"]:focus+label{
    transform: translateY(-30px);
    color: #eeeeee;
}

@media screen and (min-width:760px) {
    #background{
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 80px;
        text-shadow: #000 8px 8px 0;
    }

    #form-wrapper{
        width: 450px;
        min-width: 20%;
        max-width: 100%;
    }
}


@media screen and (min-width:1400px){
    #background{
        font-size: 190px;

    }
}