@import url('https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900');
body {
	margin:0;
	padding:0;
    font-family: 'Poppins', sans-serif;	
}

.form{
	width:80%;
	margin:0 auto;
	padding:30px;
	background-color:#fff;
	  display: grid;
  font-family: Avenir;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  border-radius:3px;
}


.form input[type="submit"] {
	cursor:pointer;
	width:100%;
	border:none;
	color:#fff;
	padding:10px;
	font-size:15px;
	margin:0px;
	background-color:#40429a;
}

.form input[type="submit"]:hover {
	-webkit-transition:background 0.3s ease-in-out;
	-moz-transition:background 0.3s ease-in-out;
	transition:background-color 0.3s ease-in-out;
	color: #FFFFFF;
	background-color:#282978;
}

.inp {
  position: relative;
  margin: auto;
  width: 100%;
}
.inp .label {
  font-family: 'Poppins', sans-serif;		
  position: absolute;
  top: 16px;
  left: 0;
  font-size: 15 px;
  color: #9098a9;
  font-weight: 500;
  transform-origin: 0 0;
  transition: all 0.2s ease;
}
.inp .border {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: #df111f;
  transform: scaleX(0);
  transform-origin: 0 0;
  transition: all 0.15s ease;
}
.inp input {
  -webkit-appearance: none;
  width: 100%;
  border: 0;
  font-family: inherit;
  padding: 12px 0;
  height: 48px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 2px solid #c8ccd4;
  background: none;
  border-radius: 0;
  color: #223254;
  transition: all 0.15s ease;
}
.inp input:hover {
  background: rgba(34,50,84,0.03);
}
.inp input:not(:placeholder-shown) + span {
  color: #df111f;
  transform: translateY(-26px) scale(0.75);
}
.inp input:focus {
  background: none;
  outline: none;
}
.inp input:focus + span {
  color: #df111f;
  transform: translateY(-26px) scale(0.75);
}
.inp input:focus + span + .border {
  transform: scaleX(1);
}

@media only screen and (max-width:900px){
.form{
	width:100%;
	margin-top:40px;
}	
}
