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

*:focus {
	outline: 0;
}

html {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

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

.contenedor {
	margin: 20px auto;
	max-width: 1000px;
	width: 90%;
}

.contenedor article {
	line-height: 28px;
}

.contenedor article h1 {
	font-size: 30px;
	padding: 50px 0;
	text-align: left;
}

.contenedor article p {
	margin-bottom: 20px;
}

.contenedor article .btn-abrir-popup {
	background-color: #5e7de3;
	border-radius: 3px;
	border-style: none;
	color: #ffffff;
	cursor: pointer;
	font-family: 'Montserrat', sans-serif;
	height: 40px;
	line-height: 40px;
	margin-bottom: 20px;
	padding: 0 20px;
	transition: background-color 0.3s ease;
}

.contenedor article .btn-abrir-popup:hover,
.contenedor article .btn-abrir-popup:focus,
.contenedor article .btn-abrir-popup:active {
	background-color: rgba(94, 125, 227, 0.9);
}


/* Popup */
.overlay {
	align-items: center;
	background-color: rgba(0, 0, 0, 0.3);
	bottom: 0;
	display: flex;
	justify-content: center;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	visibility: hidden;
  z-index: 10;
}

.overlay.active {
	visibility: visible;
}

.popup {
	background-color: #f8f8f8;
	border-radius: 3px;
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
	font-family: 'Montserrat', sans-serif;
	max-width: 40%;
	opacity: 0;
	padding: 20px;
	text-align: center;
	transform: scale(0.7);
	transition: opacity 0.3s ease,
							transform 0.3s ease;
              padding-top: 1.5em;
}

.popup .btn-cerrar-popup {
	display: block;
	color: #bbbbbb;
	line-height: 16px;
	text-align: right;
	transition: color 0.3s ease;
  font-size: 2em;
  position: absolute;
  right: -20px;
  top: -30px;
  background: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup .btn-cerrar-popup:hover,
.popup .btn-cerrar-popup:focus,
.popup .btn-cerrar-popup:active {
	color: #000000;
}

.popup h3 {
	font-family: 'Poppins', sans-serif;
  font-size: 1.625em;
  font-weight: 500;
  text-transform: uppercase;
  line-height:2;
  color: #fff;
  margin: 1em 0em;
  background: #09c;
}

.popup h4 {
	font: 300 26px 'Montserrat', sans-serif;
	margin-bottom: 40px;
}

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

.popup form .btn-submit {
	background-color: #5e7de3;
	border-radius: 3px;
	border-style: none;
	color: #ffffff;
	cursor: pointer;
	font: 300 16px 'Montserrat', sans-serif; 
	height: 40px;
	line-height: 40px;
	padding: 0 20px;
	transition: background-color 0.3s ease;
}

.popup form .btn-submit:hover,
.popup form .btn-submit:focus,
.popup form .btn-submit:active {
	background-color: rgba(94, 125, 227, 0.9);
}

/* Animaciones */
.popup.active {
	opacity: 1;
	transform: scale(1);
}

.popup.active h3 {
	-webkit-animation: entrada-titulo 0.8s 0.5s ease forwards;
	        animation: entrada-titulo 0.8s 0.5s ease forwards;
	opacity: 0;
	transform: translateY(-25px);
}

.popup.active h4 {
	-webkit-animation: entrada-subtitulo 0.8s 0.5s ease forwards;
	        animation: entrada-subtitulo 0.8s 0.5s ease forwards;
	opacity: 0;
	transform: translateY(25px);
}

.popup.active .contenedor-inputs {
		-webkit-animation: entrada-inputs 1s 1s ease forwards;
		        animation: entrada-inputs 1s 1s ease forwards;
		opacity: 0;
}

@-webkit-keyframes entrada-titulo {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes entrada-titulo {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@-webkit-keyframes entrada-subtitulo {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes entrada-subtitulo {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@-webkit-keyframes entrada-inputs {
	to {
		opacity: 1;
	}
}

@keyframes entrada-inputs {
	to {
		opacity: 1;
	}
}