* {
	padding: 0;
	margin: 0;
	box-sizing:border-box;
}

body {
	background: #fff;
	font-family: 'Open Sans', sans-serif;
}


.contenedor article .btn-abrir-popup1 {
	background:transparent;
}

.contenedor article .btn-abrir-popup1:hover {
	background: #ffc300;
}

/* ------------------------- */
/* POPUP */
/* ------------------------- */

.overlay1 {
	background: rgba(0,0,0,.3);
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	align-items: center;
	justify-content: center;
	display: flex;
	visibility: hidden;
}

.overlay1.active1 {
	visibility: visible;
}

.popup1 {
	background: #F8F8F8;
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	border-radius: 3px;
	font-family: 'Montserrat', sans-serif;
	padding: 20px;
	text-align: center;
	width: 600px;
	transition: .3s ease all;
	transform: scale(0.7);
	opacity: 0;
}

.popup1 .btn-cerrar-popup1 {
	font-size: 16px;
	line-height: 16px;
	display: block;
	text-align: right;
	transition: .3s ease all;
	color: #BBBBBB;
}

.popup1 .btn-cerrar-popup1:hover {
	color: #000;
}

.popup1 h3 {
	font-size: 36px;
	font-weight: 600;
	margin-bottom: 10px;
	opacity: 0;
}

.popup1 h4 {
	font-size: 26px;
	font-weight: 300;
	margin-bottom: 40px;
	opacity: 0;
}

.popup1 form .contenedor-inputs1 {
	opacity: 0;
}

.popup1 form .contenedor-inputs1 input {
	width: 100%;
	margin-bottom: 20px;
	height: 52px;
	font-size: 18px;
	line-height: 52px;
	text-align: center;
	border: 1px solid #BBBBBB;
}

.popup1 form .btn-submit1 {
	padding: 0 20px;
	height: 40px;
	line-height: 40px;
	border: none;
	color: #fff;
	background: #ffb50a;
	border-radius: 3px;
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	cursor: pointer;
	transition: .3s ease all;
}

.popup1 form .btn-submit1:hover {
	background: #fab005;
}

/* ------------------------- */
/* ANIMACIONES */
/* ------------------------- */
.popup1.active1 {	transform: scale(1); opacity: 1; }
.popup1.active1 h3 { animation: entradaTitulo .8s ease .5s forwards; }
.popup1.active1 h4 { animation: entradaSubtitulo .8s ease .5s forwards; }
.popup1.active1 .contenedor-inputs1 { animation: entradaInputs 1s linear 1s forwards; }


.overlay2 {
	background: rgba(0,0,0,.3);
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	align-items: center;
	justify-content: center;
	display: flex;
	visibility: hidden;
}

.overlay2.active2 {
	visibility: visible;
}

.popup2 {
	background: #F8F8F8;
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	border-radius: 3px;
	font-family: 'Montserrat', sans-serif;
	padding: 20px;
	text-align: center;
	width: 600px;
	transition: .3s ease all;
	transform: scale(0.7);
	opacity: 0;
}

.popup2 .btn-cerrar-popup2 {
	font-size: 16px;
	line-height: 16px;
	display: block;
	text-align: right;
	transition: .3s ease all;
	color: #BBBBBB;
}

.popup2 .btn-cerrar-popup2:hover {
	color: #000;
}

.popup2 h3 {
	font-size: 36px;
	font-weight: 600;
	margin-bottom: 10px;
	opacity: 0;
}

.popup2 h4 {
	font-size: 26px;
	font-weight: 300;
	margin-bottom: 40px;
	opacity: 0;
}

.popup2 form .contenedor-inputs2 {
	opacity: 0;
}

.popup2 form .contenedor-inputs2 input {
	width: 100%;
	margin-bottom: 20px;
	height: 52px;
	font-size: 18px;
	line-height: 52px;
	text-align: center;
	border: 1px solid #BBBBBB;
}

.popup2 form .btn-submit2 {
	padding: 0 20px;
	height: 40px;
	line-height: 40px;
	border: none;
	color: #fff;
	background: #ffb50a;
	border-radius: 3px;
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	cursor: pointer;
	transition: .3s ease all;
}

.popup2 form .btn-submit2:hover {
	background: #fab005;
}

/* ------------------------- */
/* ANIMACIONES */
/* ------------------------- */
.popup2.active2 {	transform: scale(1); opacity: 1; }
.popup2.active2 h3 { animation: entradaTitulo .8s ease .5s forwards; }
.popup2.active2 h4 { animation: entradaSubtitulo .8s ease .5s forwards; }
.popup2.active2 .contenedor-inputs2 animation: entradaInputs 1s linear 1s forwards; }


@keyframes entradaTitulo {
	from {
		opacity: 0;
		transform: translateY(-25px);
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes entradaSubtitulo {
	from {
		opacity: 0;
		transform: translateY(25px);
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes entradaInputs {
	from { opacity: 0; }
	to { opacity: 1; }
}
