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

.overlay2 {
	background: #000;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	align-items: center;
	justify-content: center;
	display: flex;
	visibility: hidden;
	text-align: center;
	z-index:10000;
}

.overlay2.active {
	visibility: visible;
}

.btn-cerrar-popup {
	margin-left: 550px;
}

.btn-cerrar-popup2 {
	margin-left: 550px;
}

.popup2 {
	background-image: url("images/bg.jpg");
	background-repeat: repeat;
	background: #FFF;
	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;
	height: 350px;	
	transition: .3s ease all;
	transform: scale(0.7);
	opacity: 0;
	z-index:10001;
}

@media (max-width : 600px) {
    .popup2 {width: 100%; height: 60%;}
	.titulox {width: 200px;}
	#intro-6{background: #FFF;}
}




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

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

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

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

.popup2 form .contenedor-inputs {
	opacity: 0;
text-align: center;
}

.popup2 form .contenedor-inputs input {
	text-align: center;
	width: 50%;
	padding: 0 20px;
	margin-top: 20px;
	margin-bottom: 20px;
	height: 40px;
	line-height: 40px;
	border: none;
	color: #FFF;
	background: #FF0000;
	border-radius: 3px;
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	cursor: pointer;
	transition: .3s ease all;
	text-align: center;
}

.popup2 form .contenedor-inputs input:hover {
	background: rgba(255,0,0, .9);
}


/* ------------------------- */
/* ANIMACIONES */
/* ------------------------- */
.popup2.active {	transform: scale(1); opacity: 1; }
.popup2.active h3 { animation: entradaTitulo .8s ease .5s forwards; }
.popup2.active h4 { animation: entradaSubtitulo .8s ease .5s forwards; }
.popup2.active .contenedor-inputs { 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; }
}