

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

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

	animation: modal 2s 3s forwards;
	visibility: hidden;
	opacity: 0;
}



.overlay1.active {
	visibility: visible;
	animation: modal 2s 3s forwards;
	visibility: hidden;
	opacity: 0;
}

.popup {
	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;
	margin: auto;
	
	transition: .3s ease all;
	transform: scale(0.7);
	opacity: 0;

	animation: modal 2s 3s forwards;
	visibility: hidden;
	opacity: 0;
}

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

	animation: modal 2s 3s forwards;
	visibility: hidden;
	opacity: 0;

}

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

	animation: modal 2s 3s forwards;
	visibility: hidden;
	opacity: 0;
}


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

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

.popup form .contenedor-inputs {
	opacity: 0;
}

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

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

.popup form .btn-submit:hover {
	background: rgba(94,125,227, .9);
}

#cerrar {
    display: none;
}

#cerrar + label {
    position: fixed;
    color: #98BF62;
    font-size: 25px;
    z-index: 50;
	background: #eceeef;
	padding: 5px;
    height: auto;
    width: auto;
    right: 50px;
    top: 100px;
    cursor: pointer;
    
    animation: modal 2s 3s forwards;
    visibility: hidden;
    opacity: 0;
}

#cerrar:checked + label, #cerrar:checked ~ .overlay1 {
    display: none;
}
/* ------------------------- */
/* ANIMACIONES */
/* ------------------------- */




@keyframes modal {
	100% {
		visibility: visible;
		opacity: 1;
	}
}