﻿@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: 380px;
    background: #fff;
    border-radius: 0 15px 15px 15px;
    box-shadow: 0px 15px 20px rgba(0,0,0,0.1);
}

    /*.title {
    padding-top: 20px;
    font-size: 35px;
    font-weight: 600;
    text-align: center;
    line-height: 40px;
    color: #fff;
    user-select: none;
    border-radius: 15px 15px 0 0;
    background: linear-gradient(-135deg, #c850c0, #4158d0);
    letter-spacing: 2px;
}*/


    .maindiv .title {
        border-left: solid;
        border-bottom: solid;
        /*padding-top: 20px;*/
        font-size: 35px;
        font-weight: var(--font-weight-semi-bold);
        text-align: center;
        /*line-height: 40px;*/
        color: var( --primary-color);
        user-select: none;
        border-radius: 0px 15px 0 90px;
        background: var(--background-color);
        letter-spacing: 1px;
    }

.title p {
    font-size: 15px;
}

form {
    padding: 10px 50px 50px 25px;
}

.field {
    height: 50px;
    width: auto;
    margin-top: 40px;
    position: relative;
}

    .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;
    }

        .field input:focus,
        .field input:valid {
            border-color: #4158d0;
            box-shadow: 0px 10px 20px rgba(62, 123, 222, 0.1);
        }

    .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;
    }

    .field input:focus ~ label,
    .field input:valid ~ label {
        top: 0%;
        font-size: 16px;
        color: #4158d0;
        background: #fff;
        transform: translateY(-50%);
    }

    .field input[type="submit"],
    .field input[type="button"] {
        border: none;
        color: var(--primary-color);
        border-left: solid !important;
        border-right: solid !important;
        border-top: solid !important;
        border-bottom: solid !important;
        width: 108%;
        padding-left: 0;
        margin-top: -25px;
        font-size: 20px;
        font-weight: var(--font-weight-semi-bold);
        cursor: pointer;
        background: var(--background-color);
        box-shadow: var(--button-shadow);
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
        /*width: 100%;
        color: #fff;
        border: none;
        padding-left: 0;
        margin-top: -25px;
        font-size: 20px;
        font-weight: 500;
        cursor: pointer;
        background: linear-gradient(-135deg, #c850c0, #4158d0);
        transition: all 0.3s ease;*/
    }

        .field input[type="submit"]:active,
        .field input[type="button"]:active {
            transform: scale(0.95);
        }

.signup-link {
    color: #262626;
    margin-top: 10px;
    text-align: center;
}

    .signup-link a {
        color: #4158d0;
        text-decoration: none;
    }

        .signup-link a:hover {
            text-decoration: underline;
        }

@media (max-width: 480px) {
    .maindiv {
        width: 100%;
        background: #fff;
        border-radius: 0 15px 15px 15px;
        box-shadow: 0px 15px 20px rgba(0,0,0,0.1);
    }
}
