@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap");

/*@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');*/


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

/*body {
    background: #000;
}*/

body {
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background: url("login_images/shinebanners.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

nav {
    position: fixed;
    padding: 25px 60px;
    z-index: 1;
}

    nav a img {
        width: 167px;
    }

.form-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 10px;
    padding: 17px 50px 20px;
    width: 437px;
    transform: translate(-50%, -50%);
    background: rgb(0 0 0 / 87%);
    /*background: rgba(0, 0, 0, .75);*/
}

    .form-wrapper h2 {
        color: #fff;
        font-size: 18px;
        font-weight: 600;
    }

    .form-wrapper form {
        margin: 7px 0 0px;
    }

form .login-form {
    height: 40px;
    position: relative;
    margin-bottom: 16px;
}

.login-form input {
    height: 100%;
    width: 100%;
    background: #3F51B5;
    border: none;
    outline: none;
    border-radius: 4px;
    /*color: #fff;*/
    font-size: 1rem;
    padding: 0 20px;
}

    .login-form input:is(:focus, :valid) {
        background: #ffffff;
        padding: 0px;
        box-shadow: none;
        outline: none;
    }

.login-form label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    pointer-events: none;
    color: #8c8c8c;
    transition: all 0.1s ease;
}

.login-form input:is(:focus, :valid) ~ label {
    font-size: 16px;
    /* transform: translateY(-130%); */
}

form button {
    width: 100%;
    padding: 10px 0;
    font-size: 18px;
    background: #e50914;
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    outline: none;
    margin: 5px 0 10px;
    cursor: pointer;
    transition: 0.1s ease;
}

    form button:hover {
        background: #01499d;
    }

.form-wrapper a {
    text-decoration: none;
}

    .form-wrapper a:hover {
        text-decoration: underline;
    }

.form-wrapper :where(label, p, small, a) {
    color: #ffffff;
}

form .form-help {
    display: flex;
    justify-content: space-between;
}

form .remember-me {
    display: flex;
}

    form .remember-me input {
        margin-right: 5px;
        accent-color: #b3b3b3;
    }

form .form-help :where(label, a) {
    font-size: 0.9rem;
}

.form-wrapper p a {
    color: #fff;
}

.form-wrapper small {
    display: block;
    margin-top: 15px;
    color: #b3b3b3;
}

    .form-wrapper small a {
        color: #0071eb;
    }

@media (max-width: 740px) {
    body::before {
        display: none;
    }

    nav, .form-wrapper {
        padding: 20px;
    }

        nav a img {
            width: 140px;
        }

    .form-wrapper {
        width: 100%;
        top: 43%;
    }

        .form-wrapper form {
            margin: 25px 0 40px;
        }
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

    .logo img {
        height: 90px !important;
        width: 90px !important;
    }

    .logo h1 {
        color: #ffffff;
        font-size: 30px;
        font-weight: 600;
        text-transform: uppercase;
        font-family: 'Roboto', sans-serif;
    }

.input-button {
    padding: 8px 12px;
    outline: none;
    border: 0;
    color: #fff;
    border-radius: 4px;
    background: #8c7569;
    font-family: "Nunito", sans-serif;
    transition: 0.3s;
    cursor: pointer;
}

    .input-button:hover {
        background: #55311c;
    }

.login-form label {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    /* color: #fff; */
    font-size: 16px;
    pointer-events: none;
    transition: 0.15s ease;
}

    .login-form input:focus ~ label, .login-form label.has-text {
        font-size: 0.8rem;
        top: 12px;
        transform: translateY(-120%);
        background: #000000;
        padding: 4px 10px;
        color: white;
        border-radius: 3px;
    }

.login-form {
    display: flex;
    flex-direction: column;
    padding: 9px 10px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
    transition: 0.3s;
    position: relative;
    background: #ffffff;
}

    .login-form input {
        outline: 0;
        border: 0;
        padding: 4px 0 0;
        font-size: 14px;
        height: 35px;
    }

        .login-form input::-moz-placeholder {
            color: #ccc;
            opacity: 1;
        }

        .login-form input:-ms-input-placeholder {
            color: #ccc;
            opacity: 1;
        }

        .login-form input::placeholder {
            /* color: #ccc; */
            /* opacity: 1; */
        }

    .login-form:focus-within {
        /* border-color: #8c7569; */
    }

        .login-form:focus-within .input-label {
            color: rgba(140, 117, 105, 0.8);
        }



.overlay {
    position: absolute;
    /* display: none; */
    /* width: 100%; */
    height: 100vh;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(0 0 0 / 48%);
    z-index: -1;
    cursor: pointer;
}


.remember-me a {
    color: white !important;
}
