

/* ------------------------- */
/* POPUP */
/* ------------------------- */

.overlay {
	background: rgba(0,0,0,.8);
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	align-items: center;
	justify-content: center;
	display: flex;
	visibility: hidden;
	overflow-y: auto;

}

.overlay.active {
	visibility: visible;
}

.overlay .popup{
	top: 50%;
    left: 50%;
    transform: rotate(0deg) translate(-50%, -50%);
}

.popup {
	width: 100%;
	max-width: 950px;
	height: 500px;
	top: 50%;
    left: 50%;
    display: flex;
	background: #F8F8F8;
	box-shadow: 0px 0px 5px 0px rgba( 247, 70, 33 ,0.8);
	border-radius: 3px;
	font-family: 'Montserrat', sans-serif;
	padding: 10px;
	text-align: center;
	transition: .3s ease all;
	transform: scale(0.7);
	opacity: 0;
}

.popup .btn-cerrar-popup {
	box-sizing:border-box;
	font-size: 16px;
	line-height: 16px;
	display: block;
	text-align: right;
	transition: .3s ease all;
	width: 50px;
    height: 50px;
    position: absolute;
    right: -20px;
    top: -20px;
    padding: 20px;
    background: #00476B;
    color: white;
    border-radius: 50%;
    line-height: 10px;
}

.popup .btn-cerrar-popup:hover {
	color: #000;
}
.popup .container-text{
	width: 100%;
    padding: 50px;
    text-align: justify;
    overflow-y: auto;
}

.container-text h1 {
	font-size: 50px;
	color: #00476B;
	opacity: 0;
	font-weight: bold;
}

.container-text p{
	margin-top: 30px;
    font-size: 16px;
    font-weight: 600;
	opacity: 0;
}


/* ------------------------- */
/* ANIMACIONES */
/* ------------------------- */
.popup.active {	transform: scale(1); opacity: 1; }
.popup.active h1 { animation: entradaTitulo .8s ease .5s forwards; }
.popup.active p { animation: entradaParrafo 1s linear 1s forwards; }

@keyframes entradaTitulo {
	from {
		opacity: 0;
		transform: translateY(25px);
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}


@keyframes entradaParrafo {
	from {
		opacity: 0;
		transform: translateY(25px);
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes entradaInputs {
	from { opacity: 0; }
	to { opacity: 1; }
}
