html{
	height: 100%;
	}

body {
	margin: 0;
	padding: 0;
	font-family: 'Arial', sans-serif;
    
    background-repeat: no-repeat;
    background-size: cover;
}

.login-box {
	
	display: block;
	width: 400px;
	padding: 40px;

	background: #fafafa;
    opacity: 0.9;
    
	box-sizing: border-box;
	box-shadow: 0 15px 25px rgba(0,0,0,.6);
	border-radius: 10px;
    padding-bottom: 0;


}



.login-box h4 {
	margin: 0 0 30px;
	padding: 0;
	color: #5161ce;   
	text-align: center;
}



.login-box .user-box {
	position: relative;
    
}

.login-box .user-box input {
	width: 100%;
	padding: 10px 0;
	font-size: 16px;
	color: #636363;
	margin-bottom: 20px;
	border: none;
	border-bottom: 1px solid #636363;
	outline: none;
	background: transparent;
}

.login-box .user-box label {
	position: absolute;
	top: 0;
	right: 0;
	padding: 10px 0;
	font-size: 16px;
	color: #636363;
	pointer-events: none;
	transition: .5s;
   
}



.login-box .user-box input:focus ~ label, .login-box .user-box input:valid ~ label, .login-box .user-box input:focus~ i  {
	top: -20px; 
	left: 0px; 
	color: #5161ce;
	font-size: 12px;
}






.login-box a span {
	position: absolute;
	display: block;
}

.login-box a span:nth-child(1) {
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #03e9f4);
  animation: btn-anim1 1s linear infinite;
}

@keyframes btn-anim1 {
  0% {
    left: -100%;
  }
  50%,100% {
    left: 100%;
  }
}

.login-box span:nth-child(2) {
	top: -100%;
	right: 0;
	width: 2px;
	height: 100%;
	background: linear-gradient(180deg, transparent, #03E9F4);
	animation: btn-anim2 1s linear infinite;
	animation-delay: .25s;
}

@keyframes btn-anim2 {
	0%{
		top: -100%;
	}
	50%,100% {
		top: 100%;
	}
}

.login-box span:nth-child(3){
	bottom: 0;
	tight: -100%;
	width: 100%;
	height: 2px;
	background: linear-gradient(270deg, transparent, #03E9F4);
	animation: btn-anim3 1s linear infinite;
	animation-delay: .5s;
}

@keyframes btn-anim3 {
	0%{
		right: -100%;
	}
	50%,100% {
		right: 100%;
	}
}

.login-box span:nth-child(4) {
	bottom: -100%;
	left: 0;
	width: 2px;
	height: 100%;
	background: linear-gradient(360deg, transparent, #30E9F4);
	animation: btn-anim4 1s linear infinite;
	animation-dealy: .75s;
}

@keyframes btn-anim4 {
  0% {
    bottom: -100%;
  }
  50%,100% {
    bottom: 100%;
  }
}



.login-box form button {
  
 position: relative;
 
}


.login-box form button {
  background: #333;
  color: #ccc;
  width: 100px;
  height: 40px;
  border: 0;
  font-size: 18px;
  border-radius: 4px;
  font-family: "Raleway", sans-serif;
  transition: 0.6s;
  overflow: hidden;
}
.login-box form button:focus {
  outline: 0;
}
.login-box form button:before {
  content: "";
  display: block;
  position: absolute;
  background: #5161ce;
  width: 60px;
  height: 100%;
  left: 0;
  top: 0;
  opacity: 0.5;
  filter: blur(30px);
  transform: translateX(-150px) skewX(-15deg);
}
.login-box form button:after {
  content: "";
  display: block;
  position: absolute;
  background: #5161ce;
  width: 30px;
  height: 100%;
  left: 30px;
  top: 0;
  opacity: 0;
  filter: blur(5px);
  transform: translateX(-100px) skewX(-15deg);
}
.login-box form button:hover {
  background: #5161ce;
  cursor: pointer;
}
.login-box form button:hover:before {
  transform: translateX(300px) skewX(-15deg);
  opacity: 0.6;
  transition: 0.7s;
}
.login-box form button:hover:after {
  transform: translateX(300px) skewX(-15deg);
  opacity: 1;
  transition: 1s;
}

.att {
    display: block;
    direction: rtl;
    margin-right: 10px;
	border: 1px solid #5161ce;
	width: 600px;
	padding: 5px;
	
	background: #fafafa;
    opacity: 0.9;
    
	box-sizing: border-box;
	
	border-radius: 10px;
}

.firstpage {
    margin-top: 10%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;

}

.captcha {
    display: flex;
    flex-direction: row;
    justify-content:center;
    
}

.captcha input {
    font-size: 10px;
    padding: 1px;
    width: 2cm;
    text-align: center;
    border: 1px solid #636363;
    height: 0.7cm;
    margin-top: auto;
    margin-bottom: auto;
    color: #636363;
    border-radius: 5px;
}

.login-box-back {
   	display: none;
	width: 400px;
	padding: 0;

	background: #fafafa;
    opacity: 0.9;
    
	box-sizing: border-box;
	box-shadow: 0 15px 25px rgba(0,0,0,.6);
	border-radius: 10px;
    padding-bottom: 10px;
}

.login-box-back-title {
    text-align: center;
    font-weight: bold;
    
}

.login-box-back .user-box input {
	width: 40%;
	padding:3px;
	font-size: 16px;
	color: #636363;
	margin-bottom: 10px;
	border: 1px solid #636363;
	outline: none;
	background: transparent;
}

.login-box-back .user-box label {
    font-size: 14px;
    
    
   
}

.login-box-back .user-box {
    display: flex;
    flex-direction: column;
    justify-content:center;
    
}

@media screen and (max-width: 800px) {
    .firstpage {
        display: normal;
        
        
    }
    .att {
        display: none;
    }
 
    
    
}



