﻿/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

#root, #__next {
    isolation: isolate;
}

body {
    font-family: 'Roboto', 'Courier New', Courier, monospace;
}

.container {
    height: 100vh;
    width: 100%;
    background-color: #f5f5f5;
}

    .container .login_card {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: 80%;
        background-color: #fff;
        display: grid;
        grid-template-columns: 50% 50%;
        width: 70%;
        border-radius: 15px;
    }

.login_card .left_side, .login_card .right_side {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

    .login_card .right_side .card_img {
        width: 100%;
        max-height: 80%;
        object-fit: cover;
    }

    .login_card .left_side .form_heading {
        font-family: Roboto;
        font-weight: bold;
        letter-spacing: 0.5rem;
        font-size: 2.5rem;
        margin-bottom: 3rem;
        background-color: #000641;
        background-image: linear-gradient(45deg, #000641, #37C5F1);
        background-size: 100%;
        -webkit-background-clip: text;
        -moz-background-clip: text;
        -webkit-text-fill-color: transparent;
        -moz-text-fill-color: transparent;
    }

.form {
    width: 80%;
}

    .form .input_group {
        display: flex;
        flex-direction: column;
        align-items: start;
        margin-bottom: 1rem;
        width: 100%;
    }

        .form .input_group .passwordEye {
            display: flex;
            align-items: center;
            width: 100%;
        }

            .form .input_group .passwordEye .fa-eye {
                display: flex;
                align-items: center;
                border-bottom: 2px solid #000641;
                padding-bottom: 1.4rem;
                color: grey;
            }

        .form .input_group .label {
            font-family: Roboto;
            font-size: 1.5rem;
            font-weight: 400;
            color: #000;
        }


        .form .input_group .input {
            border: 0;
            border-bottom: 2px solid #000641;
            height: 3rem;
            width: 100%;
        }

            .form .input_group .input:focus {
                outline: 0;
                border-bottom: 2px solid #37C5F1;
                transition: all .2s ease-in;
            }

    .form .form_footer {
        display: flex;
        align-items: center;
        justify-content: end;
        margin-bottom: 2rem;
    }

        .form .form_footer .footer_text {
            font-size: 1.25rem;
            cursor: pointer;
            font-family: Roboto;
        }

            .form .form_footer .footer_text:hover {
                color: #37C5F1;
            }

    .form .btn_submit {
        width: 100%;
        padding: 1rem;
        cursor: pointer;
        background-color: #000641;
        border: 0;
        color: #fff;
        border-radius: 15px;
        font-family: Roboto;
        font-weight: 700;
        font-size: 1.5rem;
        letter-spacing: 0.15rem;
    }

        .form .btn_submit:hover {
            background-color: #37C5F1;
            transition: all .5s ease-out;
        }

        .form .btn_submit:focus {
            transform: translateY(-10px);
            transition: all .2s ease-out;
        }


@media(max-width: 900px) {
    .container .login_card {
        width: 90%;
    }
}

@media(max-width: 650px) {
    .container .login_card {
        grid-template-columns: 1fr;
        min-height: 80vh;
    }

        .container .login_card .right_side {
            order: 1;
        }

        .container .login_card .left_side {
            order: 2;
            padding-top: 0 !important;
            margin-top: 0;
        }

        .container .login_card .right_side .card_img {
            width: 12rem;
        }

    .form_heading {
        margin-top: 0;
    }
}
