html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    position: relative;
}

body::before {
    /* Add the image as a pseudo-element before the body to have
    more control of it, for example adding the opacity */
    z-index: -1;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../Images/sign_background_desktop.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    pointer-events: none;
}

form {
    width: 90%;
    margin: auto;
}

.error-msg {
    color: #c50202;
    padding-left: 20px;
}

.error-msg box-icon {
    margin-right: 8px;
    font-size: 1em;
}

.wrapper {
    border: 1px solid #fff;
    border-radius: 12px;
    padding: 10px 20px;
    background: transparent;
    backdrop-filter: blur(6px); /* Make a glass effect */
    box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.5);
}

.wrapper h2 {
    font-size: 30px;
}

.input-field {
    position: relative;
}

.input-field input[type=text],
.input-field input[type=email] {
    border-radius: 10px;
    background: transparent;
    margin: 15px;
    border: 2px solid #fff;
    width: 290px;
    height: 2px;
    padding: 20px 40px 20px 20px;
    backdrop-filter: blur(15px);
    color: #fff; /* Change the color when the user writes */
}

.input-field i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
}

input::placeholder {
    color: #fff;
}

.input-field input[type=text]:focus::placeholder,
.input-field input[type=email]:focus::placeholder {
    transform: translateY(-100%);
    transition: transform 0.2s ease-in-out;
    font-size: 10px;
}

.input-field input[type=text]:not(:focus)::placeholder,
.input-field input[type=email]:not(:focus)::placeholder {
    transform: translateY(0%);
    transition: transform 0.2s ease-in-out;
    font-size: 16px;
}

a.forgot,
a.sign-up,
a.sign-in {
    text-decoration: none;
    position: relative;
    color: rgba(255, 255, 255, 0.712);
    transition: 0.2s;
}

a.forgot:hover,
a.sign-up:hover,
a.sign-in:hover {
    text-decoration: underline;
    color: #fff;
}

.sign {
    margin-bottom: 15px;
}

.wrapper .sign {
    background: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    font-weight: 600;
    border-radius: 45px;
    width: 200px;
    height: 30px;
}