﻿@import url('https://fonts.googleapis.com/css?family=Montserrat:400,800');

* {
    box-sizing: border-box;
}

.login-page {
    font-family: 'Montserrat', sans-serif;
    background: #f6f5f7;
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url(https://images.unsplash.com/photo-1500993855538-c6a99f437aa7?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=750&q=80) !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}
section.login-page:before {
    position: absolute;
    background: linear-gradient(0deg, rgb(38 71 150 / 87%), rgb(38 71 150 / 57%)), url(https://img.freepik.com/premium-photo/business-social-network-worldwide-concept-with-businesswoman-using-laptop-digital-screen-with-social-media-icons-connected-by-glowing-lines-background_670147-36618.jpg) !important;
    height: 100vh;
    width: 100%;
    content: '';
    left: 0;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}
body {
    margin: 0;
    padding: 0;
}

h1 {
    font-weight: bold;
    margin: 0;
    color: beige;
}

p {
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
    letter-spacing: 0.5px;
    margin: 20px 0 30px;
}

span {
    font-size: 12px;
    color: beige;
}

a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0;
}

.containerr {
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    position: absolute;
    overflow: hidden;
    width: 768px;
    max-width: 100%;
    min-height: 480px;
    opacity: 0.8;
}

.form-container {
    background: rgba(45, 52, 54, 1.0);
    display: flex;
    flex-direction: column;
    padding: 0 50px;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.social-container {
    margin: 20px 0;
}

    .social-container a {
        border: 1px solid #ddd;
        border-radius: 50%;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        margin: 0 5px;
        height: 40px;
        color: white !important;
        width: 40px;
    }

input#Password {
    position: relative;
}

.btn-primary {
    background: #e85222 !important;
    border-color: #e85222 !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    width: fit-content!important;
}
/*.form-container input {
    background: #eee;
    border: none;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
}*/
span#togglePassword {
    position: absolute;
    top: 11px;
    z-index: 2;
    right: 7px;
    font-size: 16px;
    color: black;
}

.btn-primary {
    border-radius: 20px;
    border: 1px solid #ff4b2b;
    background: #ff4b2b;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
}

input {
    background: transparent !important;
    background-color: transparent !important;
    padding: 10px !important;
}

.form-group a {
    color: #e66b45 !important;
    text-decoration: underline;
    margin-right: 5px;
    font-weight: 700;
}

a {
    color: #ffffff;
}

.form-group.d-md-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

input[type=text], select {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-bottom: 1px solid #fff;
    font-family: 'PLay', sans-serif;
    font-size: 16px;
    font-weight: 200px;
    padding: 10px 0;
    transition: border 0.5s;
    outline: none;
    color: #fff;
    font-weight: bold;
}

input[type=password] {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #fff;
    font-family: 'PLay', sans-serif;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    transition: border 0.5s;
    outline: none;
    color: #fff;
}

input[type=email] {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-bottom: 1px solid #fff;
    font-family: 'PLay', sans-serif;
    font-size: 16px;
    font-weight: 200px;
    padding: 10px;
    transition: border 0.5s;
    outline: none;
    color: #fff;
    font-weight: bold;
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-primary:focus {
    outline: none;
}

.btn-primary.ghost {
    background: transparent;
    border-color: #ff4b2b;
    background-color: #ff4b2b
}

.form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

.sign-in-container {
    left: 0;
    width: 50%;
    z-index: 2;
}

.sign-up-container {
    left: 0;
    width: 50%;
    z-index: 1;
    opacity: 0;
}

.overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 100;
}

.overlay {
    background: transparent;
    background: linear-gradient(to right, #ff4b2b, #ff416c) no repeat 0 0 /cover;
    color: #fff;
    position: absolute;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.overlay-panel {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
    height: 100%;
    width: 50%;
    text-align: center;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.overlay-right {
    right: 0;
    transform: translateX(0);
}

.overlay-left {
    transform: translateX(-20%);
}

/*....Animation....*/

/*....Move signin to the right....*/
.containerr.right-panel-active .sign-in-container {
    transform: translateX(100%);
}

/*....Move overlay to the left....*/
.containerr.right-panel-active .overlay-container {
    transform: translateX(-100%);
}

/*....Bring sign up over sign in....*/
.containerr.right-panel-active .sign-up-container {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
}

/*...Move overlay back to right....*/
.containerr.right-panel-active .overlay {
    transform: translateX(50%);
}

.containerr.right-panel-active .overlay-left {
    transform: translateX(0);
}

.containerr.right-panel-active .overlay-right {
    transform: translateX(20%);
}

@media(min-width:1200px){
   a.navbar-brand {
    width: 12%;
}
}
@media (max-width:992px) {
    .navbar-toggler {
        background-color: #c14f36 !important;
    }

    a.nav-link {
        color: white;
        font-size: 14px;
        text-transform: uppercase;
        font-weight: 600;
        margin: 0;
        padding: 5px;
    }
}
@media (max-width: 768px) {
    .overlay-panel.overlay-right {
        display: none !important;
    }
}
@media( max-width: 575px) {
    a.navbar-brand {
        width: 32%;
    }

    .navbar-nav {
        width: 28%;
    }

    .navbar-nav {
        background: #264796;
        width: 27%;
        border-radius: 5px;
        padding: 10px;
        position: absolute;
        right: 10px;
        text-align: end;
        top: 67px;
    }
}
@media(max-width: 500px) {
    .sign-in-container {
        left: 5%;
        width: 90%;
        z-index: 2;
    }
}      
@media (min-width:992px) and (max-width: 1200px) {
    a.navbar-brand {
        width: 15%;
    }
}
@media (min-width:768px) and (max-width: 992px) {
    a.navbar-brand {
        width: 17%;
    }
    .navbar-nav {
        background: #264796;
        width: 22%;
        border-radius: 5px;
        padding: 10px;
        position: absolute;
        right: 10px;
        text-align: end;
        top: 67px;
    }

}
@media (min-width:575px) and (max-width: 768px) {
    a.navbar-brand {
        width: 20%;
    }
    .navbar-nav {
        width: 28%;
    }
    .navbar-nav {
        background: #264796;
        width: 22%;
        border-radius: 5px;
        padding: 10px;
        position: absolute;
        right: 10px;
        text-align: end;
        top: 67px;
    }
}
@media(min-width: 500px) and (max-width: 768px) {
    .sign-in-container {
        left: 12%;
        width: 77%;
        z-index: 2;
    }
    .navbar-nav {
        background: #264796;
        width: 35%;
        border-radius: 5px;
        padding: 10px;
        position: absolute;
        right: 10px;
        text-align: end;
        top: 67px;
    }
}
