section#LoginAndRegisterPage {
    display: flex;
    align-items: center;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    right: 0;
    background-image: url(https://assets.isu.pub/document-structure/230530104013-516677457fd54e456bfe38a98e2760fe/v1/80d96b2a994829e279f0cc1f44c288eb.jpeg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
}

div#Left {
    flex: 0 0 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--Secondery);
    height: 100vh;
}

div#Right {
    flex: 0 0 35%;
    height: 100vh;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    background: #0000003e;
    overflow-y: auto;
}

div#Right a {
    width: 100%;
    text-align: center;
    margin: auto;
}

div#Right img {
    width: 40%;
    margin: auto;

}

span[id$=PasswordVisable] {
    position: absolute;
    bottom: -2px;
    left: 8px;
    cursor: pointer;
}

div#Right section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex: 0 0 90%;
    margin: 60px auto;
    justify-content: space-between;
}

.InputBox {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    flex: 0 0 calc(100% - 2px);
    margin-bottom: 30px;
    position: relative;
}

section#UserRegister>div {
    flex: 0 0 49%;
}



.InputBox label {
    flex: 0 0 100%;
    font-family: 'YekanBakhBold';
    font-size: 18px;
    padding-right: 5px;
    color: var(--White);
}

.InputBox input {
    flex: 0 0 calc(100% - 10px);
    margin-top: 15px;
    border-radius: 5px;
    padding: 6px 5px;
    font-size: 13px;
    border: 2px solid var(--Primary);
    box-shadow: none !important;
    outline: none !important;
}

div#Right section button {
    flex: 0 0 100%;
    margin-top: 10px;
    padding: 10px 5px;
    background: var(--Primary);
    border: none;
    color: var(--White);
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
}

.InputBox p {
    color: red;
    text-align: right;
    display: none;
    width: 100%;
}

.loader {
    border: 2px solid #f3f3f3;
    /* Light grey */
    border-top: 2px solid #3498db;
    /* Blue */
    border-radius: 50%;
    width: 15px;
    height: 15px;
    animation: spin 2s linear infinite;
    text-align: center;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* GivePass */

#RegisterBtn,
#ResetPassword,
#LoginBtn,
#LoginBtnRestPass,
#EditPhone {
    background: var(--Secondery) !important;
    color: var(--Primary) !important;
}



.err {
    color: red;
}

.msg {
    color: var(--White);
}

.InputBox label span {
    color: red;
    font-size: 18px;
}


@media screen and (max-width: 850px) {
    div#Left {
        display: none;
    }

    div#Right {
        flex: 0 0 100%;
        overflow-y: auto;
    }

    div#Right section {
        flex: 0 0 80%;
        background: var(--White);
        padding: 20px;
        border-radius: 5px;
        margin: 20px auto;
    }

    body {
        background: var(--Secondery) !important;
    }

    .InputBox label,.msg {
        color: var(--Black);
    }
}

@media screen and (max-width: 500px) {
    div#Right section button {
        flex: 0 0 100% !important;
        margin: 10px 0;
    }
}