*{
	text-decoration: none;
}

.formulario{
	width: 500px;
	background: #f1f1f1;
	height: 300px;
	padding: 55px 40px;
	border-radius: 10px;
	box-shadow: 2px 2px 10px 5px rgba(0, 0, 0, 0.2);
}

.formulario h1{
	text-align: center;
	margin-bottom: 10px;
	color: #333;
	font-weight: 600;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	font-size: 1.2rem;
}

.box-input{
	border-bottom: 2px solid #adadad;
	position: relative;
	margin: 10px 0;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	font-size: 1.2rem;
}

.box-input input{
	font-size: 1.2rem;
	color: #333;
	border: none;
	width: 100%;
	outline: none;
	background: none;
	padding: 0 5px;
	height: 40px;
}


.focus + span::before{
	top: 0px;
}

.focus + span::after{
	width: 100%;
}

.boton{
	display: block;
	width: 100%;
	height: 50px;
	background-color: #48bb78;
	border: solid 2px #48bb78;
	color: #fff;
	border-radius: 5px;
	font-weight: 600;
	font-size: 18px;
	box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.1);
}


.boton:hover{
	background-color: #2F855A;
	border: solid 2px #2F855A;
	transition: .5s;
}


.botonenvio {
	display: block;
	width: 40%;
	height: 50px;
	background-color: #48bb78;
	border: solid 2px #48bb78;
	color: #fff;
	border-radius: 5px;
	font-weight: 600;
	font-size: 18px;
	box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.1);
}


.botonenvio:hover {
	background-color: #2F855A;
	border: solid 2px #2F855A;
	transition: .5s;
}






@media only screen and (max-width:1220px) {

	.formulario {
		width: 230px;
		height: 200px;
		background: #f1f1f1;
		padding: 80px 40px;
		border-radius: 10px;
		box-shadow: 2px 2px 10px 5px rgba(0, 0, 0, 0.2);
}

	.formulario h1 {
		text-align: center;
		color: #333;
		font-family: Verdana, Geneva, Tahoma, sans-serif;
		font-size: 0.6rem;
	}

	.box-input {
    	font-size: 1rem;
		border-bottom: 2px solid #adadad;
		position: relative;
		margin: 0px 0;
	}

	.box-input input {
    	font-size: 1rem;
		color: #333;
		border: none;
		width: 100%;
		outline: none;
		background: none;
		padding: 0 5px;
		height: 40px;
	}

	.box-input span::before {
		content: attr(data-placeholder);
		position: absolute;
		top: 50%;
		left: 5px;
		color: #adadad;
		transform: translateY(-50%);
		z-index: -1;
		transition: .5s;
	}

	.box-input span::after {
		content: '';
		position: absolute;
		width: 0%;
		height: 2px;
		background: linear-gradient(120deg, #3498db, #8e44ad);
		transition: .5s;
	}

	.focus+span::before {
		top: -5px;
	}

	.focus+span::after {
		width: 100%;
	}

	.boton {
		display: block;
		width: 100%;
		height: 50px;
		background-color: #48bb78;
		border: solid 2px #48bb78;
		color: #fff;
		border-radius: 5px;
		font-weight: 600;
		font-size: 18px;
		box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.1);
	}

	.boton:hover {
		background-color: #2F855A;
		border: solid 2px #2F855A;
		transition: .5s;
	}
}