*{
margin: 0;
border: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", serif;	
}

body{
background: #333;
background-repeat: no-repeat;
min-height: 100vh;
min-width: 100vw;
display: flex;
align-items: center;
justify-content: center;	
}

.logo{
width: 420px;
margin: 0 auto;
margin-left: 20%;
}
.logo img{
width: 100%;
height: 100%;
}
main.container{
position: fixed;
top: 0;
right: 0;	
background: white;
width: 35%;
min-width: 320px;
min-height: 100vh;
padding: 2rem;
padding-top: 15em;
box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
border-radius: 8px;	
}
main h2{
font-weight: 600;
margin-bottom: 2rem;
position: relative;	
}
main h2::before{
content: '';
position: absolute;
height: 3px;
width: 50px;
bottom: -5px;
left: 0;
border-radius: 8px;
background: #FFBC00;
}

form{
display: flex;
flex-direction: column;
}

.input-field{position: relative;display: block; margin-bottom: 10px;}
.input-field i{
font-size: 12px;
color: #ccc;	
margin-right: 5px;
}

form .input-field:first-child{margin-bottom: 15px;}

.input-field .underline::before{
content: '';
position: absolute;
height: 1px;
width: 100%;
bottom: -5px;
left: 0;
background: rgba(0,0,0,0.2);
}

.input-field .underline::after{
content: '';
position: absolute;
height: 1px;
width: 100%;
bottom: -5px;
left: 0;
background: linear-gradient(45deg, #8e2de2, #4a00e0);
transform: scaleX(0);
transition: all .3s ease-in-out;
transform-origin: left;
}
.input-field input:focus ~ .underline::after{
transform: scaleX(1);
}

.input-field input{
width: 94%;	
outline: none;
height: 35px;
font-size: 0+9rem;
color: rgba(0,0,0,0.7);
}
.input-field input::placeholder{
color: rgba(0,0,0,0.5);	
font-size: 14px;
}
.input-field label{
margin-bottom: 5px;
font-size: 12px;
display: block;	
}
.input-field select{
width: 100%;	
outline: none;
border:1px solid #ccc;
height: 30px;
border-radius: 4px;
}

form input[type="submit"]{
height: 35px;	
margin-top: 2rem;
padding: 0.4rem;
background: #FFBC00;
cursor: pointer;	
color: white;
font-size: 1rem;
font-weight: 600;
border-radius: 4px;
transition: all 0.3s ease;
}

form input[type="submit"]:hover{
letter-spacing: 0.5px;	
background: linear-gradient(to right, #4776e6, #8e54e9);
}
main.container .forget{
text-align: left;
margin: 10px 0;	

}
main.container .forget a{
font-size: 1em;
color: #069;
text-decoration: none;
}

.footer{
display: flex;
flex-direction: column;
margin-top: 1rem;	
}
.footer span{
color: rgba(0,0,0,0.7);
font-size: 0.9rem;	
text-align: center;
border-top: 1px solid #ccc;
padding-top: 10px;
}
.footer .social-field{
padding: 0.4rem;
border-radius: 4px;
font-size: 0.85rem;
width: 100%;
height: 40px;
line-height: 25px;
cursor: pointer;
margin-top: 1rem;
}

.footer .social-field a i{
margin: 0 0.5rem;
width: 15px;	
}

.footer .social-field a{
text-decoration: none;
color: white;	
}
.footer .social-field.google{
background: linear-gradient(to right, #56a7f2, #468aca);	
}
.footer .social-field.new_cadastro{
background: tomato;
}

@media(max-width: 600px){
body{
display: flex;
flex-direction: column;
justify-content: flex-start;
padding-top: 100px;
}

.logo{
width: 220px;
margin: 0 auto;
margin-left: 90px;
margin-bottom: 50px;
}
.logo img{
width: 100%;
height: 100%;
}

main.container{
position: initial;	
min-height: 40vh;
width: 90%;
padding: 1rem;
margin: 0 auto;
box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
border-radius: 8px;	
}

}