﻿@import 'Root.css';

/*body {*/
    /*margin: 0;
    padding: 0;
    background-color: #e0e0e0;
    font-family: 'Roboto', sans-serif;*/
/*}*/

body {
    background-image: url('../assets/sign up.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    transform: translateY(10%);
    height: auto;
    width: auto;
}

.logo {
    border-left: solid;
    color: var(--primary-color);
    display: flex;
    justify-content: center;
}

.maindiv {
    width: 360px;
    background: #fff;
    /*border-radius: 15px;*/
    border-radius: 0 15px 15px 15px;
    box-shadow: 0px 15px 20px rgba(0,0,0,0.1);
}

    .maindiv .title {
        border-left: solid;
        border-bottom: solid;
        /*padding-top: 20px;*/
        font-size: var(--font-h1);
        font-weight: var(--font-weight-semi-bold);
        text-align: center;
        /*line-height: 40px;*/
        /*color: #fff;*/
        color: var( --primary-color);
        user-select: none;
        /* these is only stop the copying of text on website  user select */
        /*border-radius: 15px 15px 0 0;*/
        border-radius: 0px 15px 0 90px;
        /*background: var(--button-color);*/
        background: var(--background-color);
        /*background: linear-gradient(135deg, #F83759, rgba(248, 55, 88, 0.88));*/
        /*background: linear-gradient(-135deg, #c850c0, #4158d0);*/
        /*text-transform: capitalize;*/
        letter-spacing: 1px;
    }

        .maindiv .title p {
            font-size: 15px;
        }

    .maindiv form {
        padding: 10px 50px 50px 25px;
    }

        .maindiv form .field {
            height: 50px;
            width: auto;
            margin-top: 40px;
            position: relative;
        }

            .maindiv form .field input {
                height: 100%;
                width: 100%;
                outline: none;
                font-size: 17px;
                padding-left: 20px;
                border: 1px solid lightgrey;
                border-radius: 10px;
                transition: all 0.3s ease;
            }

                .maindiv form .field input:focus,
                form .field input:valid {
                    /*border-color: #4158d0;*/
                    box-shadow: 0px 10px 20px rgba(62, 123, 222, 0.1);
                }

            .maindiv form .field label {
                position: absolute;
                top: 50%;
                left: 20px;
                color: #999999;
                font-weight: 400;
                font-size: 17px;
                transform: translateY(-50%);
                transition: all 0.3s ease;
                pointer-events: none;
            }

form .field input:focus ~ label,
form .field input:valid ~ label {
    top: 0%;
    font-size: 16px;
    color: #4158d0;
    background: #fff;
    transform: translateY(-50%);
}

form .content {
    display: flex;
    width: 100%;
    height: 50px;
    font-size: 14px;
    margin-top: 20px;
    align-items: center;
    justify-content: space-between;
}

    form .content .checkbox {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    form .content input {
        width: 15px;
        height: 15px;
    }

    form .content label {
        color: #262626;
        user-select: none;
        padding-left: 5px;
    }

    form .content .pass-link {
        color: "";
    }


.field input[type="submit"] {
    border: none;
    color: var(--primary-color);
    border-left: solid !important;
    border-right: solid !important;
    border-top: solid !important;
    border-bottom: solid !important;
    width: 108%;
    /*border: none;*/
    padding-left: 0;
    margin-top: -25px;
    font-size: 20px;
    font-weight: var(--font-weight-semi-bold);
    cursor: pointer;
    /*color: #fff;*/
    /*background: var(--button-color);*/
    background: var(--background-color);
    box-shadow: var(--button-shadow);
    /*background: linear-gradient(135deg, #F83759, rgba(248, 55, 88, 0.88));*/
    /*transition: all 0.3s ease;*/
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

    .field input[type="submit"]:active {
        transform: scale(0.95);

    }

     .field input[type="submit"]:hover {
        background-color: var(--button-hover-color);
        box-shadow: var( --button-hover-shadow);
    }
         .signup-link {
    color: #262626;
    margin-top: 10px;
    text-align: center;
}

    .pass-link a,
    .signup-link a {
        color: #4158d0;
        text-decoration: none;
    }

        form .pass-link a:hover,
        form .signup-link a:hover {
            text-decoration: underline;
        }

@media (max-width: 480px) {
    .maindiv {
        width: 100%;
        background: #fff;
        border-radius: 0 15px 15px 15px;
        /*border-radius: 15px;*/
        box-shadow: 0px 15px 20px rgba(0,0,0,0.1);
    }
}
