﻿.login-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url('../../Imgs/Layout/testbg1.png');
}

body{
    background-color: rgb(20, 20, 20);
}

.login-menu{
    width: 10rem;
    margin-left: -16rem;
    margin-right: 6rem;
    margin-top: -15rem;
}

.login-opt {
    display: flex;
    align-items: center;
    font-family: 'Roboto';
    justify-content: flex-end;
    margin: 2.5rem 0;
    cursor: pointer;
    user-select: none;
    color: rgb(240, 240, 240);
}

.login-opt > p{
    font-size: 1.8rem;
    margin: 0;
    padding: 1rem 0;
}

.login-opt > i{
    font-size: 2.3rem;
    margin-left: 1rem;
    padding: 0 1rem;
}

.login-opt:last-child > i{
    font-size: 2rem;
    margin-right: -.25rem;
}

.login-opt-active > p{
    font-weight: 600;
}

.login-opt-active{
    color: var(--cbg100blue) !important;
}

.login-form, .register-form{
    height: 525px;
    max-height: 100%;
    width: 375px;
    background-color: var(--cbg3);
    border-radius: 1rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.register-form{
    height: 600px;
}

.login-form::after, .register-form::after{
    content: '';
    position: absolute;
    height: 50%;
    width: 1px;
    background-color: var(--cbg1);
    top: 25%;
    left: -4rem;
}

.tl-2{
    margin-top: .5rem;
    text-align: center;
}

.tl-2 img{
    height: 64px;
    user-select: none;
}

.log-sl{
    font-size: 1.5rem;
    font-family: 'Roboto';
    text-align: center;
    margin: 0;
    color: var(--t3);
}

.log-input{
    font-family: 'Open Sans';
    width: 92%;
    margin: 2rem auto 0 auto;
    position: relative;
}

.log-input span{
    color: var(--error);
    display: inline;
    font-size: 1.3rem;
    margin-left: 1rem;
}

.log-email{
    margin-top: 3rem;
}

.log-input > p{
    font-size: 1.3rem;
    margin: 1rem 0;
    opacity: .6;
    display: inline-block;
}

.log-input > input{
    font-size: 1.6rem;
    background-color: var(--cbg2);
    color: var(--t3);
    border: none;
    padding: .65rem 0;
    text-indent: 1rem;
    width: 100%;
}

.log-input::after{
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0px;
    background-color: var(--cbg1);
    right: 0;
    z-index: 20000;
    opacity: .7;
}

.log-input > input:focus{
    outline: none;
}

.login-btn {
    width: 92%;
    margin: 1.5rem auto 0 auto;
    user-select: none;
    display: flex;
    direction: rtl;
    align-items: center;
}

.login-btn > p:first-child{
    text-align: right;
    font-size: 1.4rem;
    font-family: 'ROboto';
    color: var(--t4);
}

.login-btn > p > a{
    cursor: pointer;
}

.login-btn > p:last-child{
    background-color: #2b47ed;
    color: var(--a2t);
    text-align: center;
    padding: .55rem 17%;
    border-radius: 2rem;
    font-size: 1.6rem;
    font-family: Verdana;
    cursor: pointer;
    margin-top: .25rem;
    margin: 0 auto 0 0;
}

.social-login{
    display: flex;
    align-items: flex-end;
    flex: 1;
}

.social-c{
    width: 92%;
    margin: auto;
    color: black;
}

.fb-login {
    background-color: white;
    border-radius: 2rem;
    height: 38px;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-family: 'Open Sans';
    cursor: pointer;
    user-select: none;
    position: relative;
    overflow: hidden;
    border-left: 2px solid #1877f2;
}

.fb-login::after{
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    background-color: #1877f2;
    bottom: 0;
    left: 0;
    border-radius: 2rem;
}

.fb-login > img{
    height: 32px;
}

.fb-login > p{
    margin: 0;
    text-align: center;
    flex: 1;
    margin-left: calc(-16px - 1rem);
    font-weight: 600;
}

.google-login {
    background-color: white;
    border-radius: 2rem;
    height: 38px;
    padding: 0 1.38rem;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-family: 'Open Sans';
    cursor: pointer;
    user-select: none;
    position: relative;
    overflow: hidden;
    border-left: 2px solid red;
}

.google-login > img{
    width: 26px;
}

.google-login > p {
    margin: 0;
    text-align: center;
    flex: 1;
    margin-left: calc(-13px - 1rem);
    font-weight: 600;
}

.google-login::after {
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    background-image: linear-gradient(to right, orange, green, blue);
    bottom: 0;
    left: 0;
    border-radius: 2rem;
}

.register-form .log-input{
    margin-top: .5rem;
}

.register-form .login-btn{
    margin-top: 2.5rem;
}

.social-form{
    display: none;
}

@media screen and (min-width: 0px) and (max-width: 1023px){
    .login-wrap{
        justify-content: flex-start;
        height: unset;
        flex-direction: column;
    }

    .login-menu{
        display: flex;
        width: 100%;
        max-width: 375px;
        margin: 4rem 0;
        justify-content: space-evenly;
    }

    .login-opt {
        margin: 0;
        padding: 0 2rem;
        border-radius: 1rem;
        background-color: var(--cbg3);
        color: var(--t3);
    }

    .login-opt > p{
        font-size: 1.5rem;
        padding: .75rem 0;
    }

    .login-opt > i{
        font-size: 2rem;
    }

    .login-opt:last-child > i{
        font-size: 1.7rem;
    }

    .login-form, .register-form{
        height: unset;
        max-height: unset;
        width: 95%;
        max-width: 375px;
        padding-bottom: 2rem;
    }

    .register-form{
        height: unset;
    }

    .login-form::after, .register-form::after{
        content: '';
        position: absolute;
        height: 50%;
        width: 1px;
        background-color: var(--cbg3);
        top: 25%;
        left: -4rem;
    }

    .log-sl{
        font-size: 1.4rem;
    }

    .log-input{
        font-family: 'Open Sans';
        width: 92%;
        margin: 2rem auto 0 auto;
        position: relative;
    }

    .log-email{
        margin-top: 2rem;
    }

    .log-input::after{
        opacity: .4;
    }

    .social-c{
        margin-top: 2rem;
    }

    .fb-login {
        border-left: 1px solid #1877f2;
        font-size: 1.4rem;
    }

    .fb-login::after{
        height: 1px;
    }

    .google-login {
        border-left: 1px solid red;
        font-size: 1.4rem;
    }

    .google-login::after{
        height: 1px;
    }

    .login-form::after, .register-form::after {
        all: unset;
    }
}