
.modal1 {
	display: flex;
	background: rgba(0,0,0,0.8);
	width: 100%;
	height: 100%;		
	position: fixed;
	padding: 0px;
	justify-content: center;
	align-items: center;
	z-index: 100;	
}

.modal-content1 {
	background: #FFF;	
	width: 520px;	
	height: 520px;	
	padding: 10px;
	border-radius: 15px;
	position: relative;	
}

.close1 {
	background: red;
	width: 36px;
	height: 36px;
	display: flex;
	justify-content: center;
	align-items: center;	
	color: #FFF;
	font-size: 1.3rem;
	border-radius: 50%;
	position: absolute;
	right: -10px;
	top: -10px;
	cursor: pointer;
}

#cerrar {
	display: none;
}

#cerrar + label {
	position: fixed;
	color: #fff;
	font-size: 25px;
	z-index: 50;
	background: darkred;
	height: 40px;
	width: 40px;
	line-height: 40px;
	border-radius: 50%;
	right: 150px;
	top: 150px;
	cursor: pointer;
	
	animation: modal 2s 3s forwards;
	visibility: hidden;
	opacity: 0;
}

#cerrar:checked + label, #cerrar:checked ~ .modal {
	display: none;
}

@keyframes modal {
	100% {
		visibility: visible;
		opacity: 1;
	}
}