

.body {
	display:flex;
	justify-content: center;
	align-items: center;
	height: 900px;
	background:#faf3e0;

} 

.contenedor {
	position: relative;
	padding: 70px 40px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 5px 25px rgba(62, 210, 221, 0.7);
	width: 41%;
}

.contenedor h2 {
	color: #111;
	margin-bottom: 45px;
	line-height: 1em;
	font-weight: 500;
	padding-left: 10px;
	border-left: 5px solid #f19976;
	width: 100%;
	font-size: 30px;
}

.contenedor .inputbox {
	position: relative;
	width: 470px;
	height: 50px;
	margin-bottom: 35px;
}

.contenedor .inputbox:last-child {
	margin-bottom: 0;
}

.contenedor .inputbox input {
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	border:1px solid #111;
	background: transparent;
	padding: 10px;
	border-radius: 4px;
	box-sizing: border-box;
	outline: none;
	font-size: 16px;
	color: #111;
	font-weight: 300;
}

.contenedor .inputbox textarea {
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	border:1px solid #111;
	background: #fff;
	padding: 10px;
	border-radius: 4px;
	box-sizing: border-box;
	outline: none;
	font-size: 18px;
	color: #111;
	font-weight: 300;
	min-height: 50px;
	max-height: 125px;
}


.contenedor .inputbox span {
	position: absolute;
	top: 1px;
	left:1px;
	padding: 10px;
	display: inline-block;
	font-size: 16px;
	color: #f19976;
	font-weight: 300;
	transition: 0.5s;
	pointer-events: none;
}

.contenedor .inputbox input:focus ~ span,
.contenedor .inputbox input:valid ~ span {
	font-size: 12px;
	transform: translateX(-10px) translateY(-32px);
}


.contenedor .inputbox textarea:focus ~ span,
.contenedor .inputbox textarea:valid ~ span {
	font-size: 12px;
	transform: translateX(-10px) translateY(-32px);
}

.contenedor .inputbox input[type="submit"] {
	background: #f19976;
	color: #fff;
	border:none;
	max-width: 120px;
	cursor: pointer;
	font-weight: 500;
}

.inputbox input[type="submit"] {
	display: block;
    margin: 0 auto;
}

.contenedor .inputbox input[type="submit"]:hover {
	background: #fff;
	color: #f19976;
	border: 2px solid #f19976;
}


@media screen and (max-width: 980px){
.contenedor{
	width: 60%;
}
.contenedor .inputbox {
    position: relative;
    width: 500px;
    height: 50px;
    margin-bottom: 35px;
}
}


@media screen and (max-width: 768px){
.contenedor{
	width: 61%;
}
.contenedor .inputbox {
    position: relative;
    width: 390px;
    height: 50px;
    margin-bottom: 35px;
}
}


@media screen and (max-width: 590px){
.contenedor{
	width: 84%;
}

.contenedor .inputbox {
    position: relative;
    width: 270px;
    height: 50px;
    margin-bottom: 35px;
}
}



@media screen and (max-width: 390px){
.contenedor{
	width: 80%;
}

.contenedor .inputbox {
    position: relative;
    width: 220px;
    height: 50px;
    margin-bottom: 35px;
}
}





/*----------Formulario 2----------*/

.body-2 {
	display:flex;
	justify-content: center;
	align-items: center;
	background: #fff;

} 

.contenedor-2 {
	position: relative;
	padding: 70px 40px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0);
	width: 100%;
}

.contenedor-2 h2 {
	color: #111;
	margin-bottom: 45px;
	align-items: center;
	line-height: 1em;
	font-weight: 500;
	padding-left: 10px;
	border-left: 5px solid #f19976;

	
}

.contenedor-2 .inputbox-2 {
	position: relative;
	width: 500px;
	height: 50px;
	margin-bottom: 35px;
}

.contenedor-2 .inputbox-2:last-child {
	margin-bottom: 0;
}

.contenedor-2 .inputbox-2 input {
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	border:1px solid #111;
	background: transparent;
	padding: 10px;
	border-radius: 4px;
	box-sizing: border-box;
	outline: none;
	font-size: 16px;
	color: #111;
	font-weight: 300;
}

.contenedor-2 .inputbox-2 textarea {
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	border:1px solid #111;
	background: #fff;
	padding: 10px;
	border-radius: 4px;
	box-sizing: border-box;
	outline: none;
	font-size: 18px;
	color: #111;
	font-weight: 300;
	min-height: 50px;
	max-height: 125px;
}


.contenedor-2 .inputbox-2 span {
	position: absolute;
	top: 1px;
	left:1px;
	padding: 10px;
	display: inline-block;
	font-size: 16px;
	color: #f19976;
	font-weight: 300;
	transition: 0.5s;
	pointer-events: none;
}

.contenedor-2 .inputbox-2 input:focus ~ span,
.contenedor-2 .inputbox-2 input:valid ~ span {
	font-size: 12px;
	transform: translateX(-10px) translateY(-32px);
}


.contenedor-2 .inputbox-2 textarea:focus ~ span,
.contenedor-2 .inputbox-2 textarea:valid ~ span {
	font-size: 12px;
	transform: translateX(-10px) translateY(-32px);
}

.contenedor-2 .inputbox-2 input[type="submit"] {
	background: #f19976;
	color: #fff;
	border:none;
	max-width: 120px;
	cursor: pointer;
	font-weight: 500;
}

.inputbox-2 input[type="submit"] {
	display: block;
    margin: 0 auto;
}

.contenedor-2 .inputbox-2 input[type="submit"]:hover {
	background: #fff;
	color: #f19976;
	border: 2px solid #f19976;
}



@media screen and (min-width: 1000px){
.contenedor-2 h2 {
	color: #111;
	margin-bottom: 45px;
	justify-content: space-between;
	font-weight: 500;
	padding-left: 10px;
	border-left: 5px solid #f19976;
	
}
}



@media screen and (max-width: 980px){
.contenedor-2{
	width: 60%;
}
.contenedor-2 .inputbox-2 {
    position: relative;
    width: 500px;
    height: 50px;
    margin-bottom: 35px;
}
}


@media screen and (max-width: 768px){
.contenedor-2{
	width: 80%;
}
.contenedor-2 .inputbox-2 {
    position: relative;
    width: 390px;
    height: 50px;
    margin-bottom: 35px;
}
}


@media screen and (max-width: 590px){
.contenedor-2{
	width: 80%;
}

.contenedor-2 .inputbox-2 {
    position: relative;
    width: 270px;
    height: 50px;
    margin-bottom: 35px;
}


}



@media screen and (max-width: 390px){
.contenedor-2{
	width: 100%;
}

.contenedor-2 .inputbox-2 {
    position: relative;
    width: 280px;
    height: 50px;
    margin-bottom: 35px;
}
}
