@import url('https://fonts.googleapis.com/css?family=Exo+2');

.icon::before {
    font-family: "Font Awesome 5 Free";
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

body{
   
    background: white;
  text-align: center;
    margin: 0;
}

:root{
    --theme-color: slateblue;
    --dark-theme-color: darkslateblue;
}

nav{
	font-family: 'Exo 2', sans-serif;
	position: relative;
	width: 90%;
	margin: auto;
	display: flex;
	justify-content: space-between;
}

.drop-menu label{
	display: none
}

#drop-down{
	display: none;
}

.drop-menu label:hover{
	cursor: pointer;
}
  
.nav-bar{
    width: 100%;
    display: flex;
    height: 40px;
    justify-content: space-between;
    padding-top: 15px;
/*    position: fixed;*/
    top: 0px;
    z-index: 3;
	background: slateblue;
    transition: top 0.5s ease-out;   
}

.nav-link {
    outline: none;
    text-decoration: none;
    color: white;
    padding:20px;  
}

.project-name{
    font-family: 'Exo 2', sans-serif;
    padding-left:20px;
    color: white;
    font:25px bold; 
}

.themeColor{
	color: var(--theme-color);
}

.darkTheme{
	color: var(--dark-theme-color);
}

.whiteBackground {
	background: blue;
	box-shadow: 1px 0px 20px 2px grey;
}

.white {
	color: white;
}


header{
     font-family: 'Exo 2', sans-serif;
    color: var(--dark-theme-color);
    padding-bottom: 95px;
    font-size: 20px;
}
.welcome{
    font-weight: bold;
    font-size:30px;
    padding-top: 25px;
}

.user-email{
    font-size:13px;
    font-family: helvetica;
        
}
.login-form {
    z-index: 0;
    box-shadow: 7px 7px 15px 1px grey;
    display:inline-block;
    border: 2px solid var(--dark-theme-color);
    width:400px;
    border-radius: 15px;
    height: auto;
    position: relative;
    padding-bottom:10px;
}

.user-details{
    font-size: 20px;
    opacity: 0;
}

.image{
    z-index: 3;
    position: absolute;
    height: 156px;
    padding: 3px;
    border-radius: 50%;
    width: 100%;
    top: -80px;
    text-align: center;
}

p{
    font-family: 'Exo 2', sans-serif;
    padding: 0;
    margin: 0; 
}

img{
    box-shadow: 0px 0px 0px 1px black;
    border: 3px solid white;
    border-radius: 50%;
    height: 100%;
    width:40%;
}

form {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    padding-top: 40px;
    overflow: hidden;
}

.input_div {
    margin: auto;
    padding-top: 40px;
    margin-bottom: 20px;
    overflow: hidden;
    width: 70%;
}

.form-container {
    width: 1000px;
    display: flex;
    flex-wrap: nowrap;
    margin-left: 20px;
}

.input_span {
    width: 50%;
    position: relative;
	width: 260px;
    position: relative;
    margin-right: 260px;
}

 label{
        background: none;
        display: block;
     text-align: left;
        position: absolute;
        top: 0px;
        left: 30px;
        color: var(--theme-color);
        font-family: 'Exo 2', sans-serif;
        font-size: 16px; 
        z-index: -1;
        transition: all 0.3s ease;
}
    input{
        border: 0;
        background: none;
        width:100%;
        height:20px;
        font-family:Helvetica;
        font-size:16px;
        border-bottom: 2px solid #ddd;
        font-weight: lighter;
        z-index: 2;  
        color:var(--dark-theme-color);
        transition: all 0.3s ease;
		margin-left:16px 
          
    }

.move-left{
     animation: drop 1s ease forwards;
}

.move-right{
     animation: back 1s ease forwards;
}

@keyframes back{
    0%{transform: translateX(-500px)}
    100%{transform: translateX(0px); opacity: 1;}
}

.deet{
    width: auto;
    font-weight: bold;
    box-shadow: 0px 4px 4px -3px gray;
    padding:5px;
    margin: auto;
    font: 14px;
    transform: scale(1);
    transition: all 1s ease;
    font-size: 13px
}

.loader {
	border: 5px solid #f3f3f3;
	border-radius: 50%;
	border-top: 5px solid #3498db;
	width: 20px;
	height: 20px;
	animation: spin 1s linear infinite;
    position: absolute;
    left:0;
    right:0;
    margin: auto;
  

  }
  @keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
  }
    input:focus, input:valid {
        outline: none;
    }
    
    input:focus + label, input:valid + label{
        top: -17px;
        font-size: 13px;
        color: var(--theme-color);
        font-weight: normal;
    }

    
.err{
	padding: 0;
	margin: 0;
	color: orange;
	font-size:0.9em;
	font-weight: 550;
	text-align: left;
	padding-left:40px;
	opacity: 0;
}

input.valid +label+ .err{
	opacity: 0;
}
input.invalid +label+ .err{
	opacity: 1;
}
.err{
	text-align: center;
	transition: all 0.7s ease;
}

button {
	position: relative;
    font-family: 'Exo 2', sans-serif;
/*    text-align: center;*/
    background: white;
    outline: none;
    border: 0;
    color: var(--theme-color);
    border-radius: 5px;
    margin: auto; 
	top:-10px;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 18px;
    width: 30%;
    padding: 10px;
    box-shadow: 1px 4px 4px -5px grey;
    transition: all .5s ease;
}

.effect:hover{
    color: white;
     background: slateblue;
     cursor: pointer;
 }

 .effect {
     color: slateblue;
     background: white;
 }

 .uuu{
     color: white;
     background: white;
 }
 
 button:focus{
 box-shadow: 0px 0px 0px 0px grey;
 }

.go_back::before{
	content: '\f100';
	font-weight: 900;
	text-align: right;
	position:absolute;
	top:3px;
	right:36px;
}
.go_back{
	color: slateblue;
	font-family: 'Exo 2', sans-serif;
	position: absolute;
	right:20px;
	top:20px;
	z-index: 10;
	display: none;
	cursor: pointer;
}

.invalid{
	border-bottom: 2px solid orange;
	transition: all 0.7s ease
}
.valid{
	border-bottom: 2px solid green;
	transition: all 0.7s ease;
}

.h2{
    display: flex;
    justify-content: space-between;
    font-family: 'Exo 2', sans-serif;
/*    pad: 30px*/
    font-weight: bold;
}
.create{
    padding-right: 30px;
    cursor: pointer;
}

.create > a{
    text-decoration: none;
    outline: none;
    color: grey
}

.forget{
    margin-left: 20px;
    cursor: pointer;
    color: gray
}
@keyframes drop{
    0%{transform: translateX(0px)}
    100%{transform: translateX(-500px); opacity: 1;}
}

@media only screen and (max-width:850px){
	.nav-bar{
		height: auto;
		top:0px;
		padding: 0px;
	}
	
	nav{
		padding: 0px;
		position: relative;
		width: 100%;
	}
	
	input:checked + .nav-menu{
		top: 53px;
	}
	
	.drop-menu label{
		position: initial;
		padding-right: 20px;
		display: block;
		color: white;
		font-size: 25px;
	}
	
	.drop-menu{
		height: auto;
		padding: 10px 0px;
		background: slateblue;
		width: 100%;
		position: relative;
		display: flex;
		justify-content:space-between; 
		z-index: 10000;
	}
	
	.drop-menu label:hover{
		cursor: pointer;
	}
	
	.nav-menu{
		position: absolute;
		top: -500px;
		background: white;
		width: 100%;
		display: flex;
		flex-direction: column;
		margin-right: 15px;
		transition: all 0.5s ease-in-out;
		z-index: 6;
		
	}
	
	#drop-down{
		display: none;
	}
	
	.nav-bar a{
		color: var(--theme-color);	
		padding: 0;
		padding-bottom: 15px;
		z-index: 23
	}
	
	.project-name{
		color: white;
	}
}

@media only screen and (max-width:412px){
    .login-form{
        width: 300px
    }
}
.no{
    color:red;
    display: none;
}
.err{
    font-size:14px;
    padding:0px;
    margin:0;
}

.input_span{
    margin-right: 230px
}

.input_div{
    width: 80%
}