/* CSS Document */

.modal {
	width: 100%;
	height: 100vh;
	background: rgba(0,0,0,0.8);
	position:fixed;
	top: 0;
	left: 0;
	z-index: 60;
	display: flex;
	animation: modal 0.5s 1s forwards;
    visibility: hidden;
    opacity: 0;
}

.contenidomodal{
	margin: auto;
	background: #FFF;
	border-radius: 10px;
	
}

#cerrar {
	display: none;
}

#cerrar + label {
	position:relative;
	color:#F00;
	font-size: 30px;
	z-index: 70;
	height: 40px;
	width: 40px;
	line-height: 40px;
	border-radius: 50%;
	right: -10px;
	cursor: pointer;
	background:url(../imagenes/cerrrar.png);
	
	animation: modal 0.5s 1s forwards;
    visibility: hidden;
    opacity: 0;
	
}

#cerrar:checked + label, #cerrar:checked ~ .modal{
    display: none;
}

@keyframes modal{
    100%{
    visibility: visible;
    opacity: 1;
    }
}