*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	text-decoration: none;
}
.modal{
	width: 100vw;
	height: 100%;
	position: absolute;/*fixed*/
	top: 0;
	left: 0;
	padding: 5px;
	background: rgba(0,0,0,0.5);
	display: flex;
	justify-content: center;
	animation: modal 2s 3s forwards;
	visibility: hidden;
	opacity: 0;
	z-index: 9999999;
}
.contenido{
	top: 25%;
	left: 2.5%;
	margin: 0;
	padding: 0;
	width: 90%;
	max-width: 90%;
	height: 50%;/*77%;*/
	max-height: 50%;/*77%;*/
	background: #ffffff;
	border-radius: 15px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
}
.contenido .figura{
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-self: center;
}
.contenido img{
	width: 100%;
	max-width:100%;
    max-height:100%;
    vertical-align: middle;
    object-fit: contain;
}
#cerrar{
	display: none;
}
#cerrar + label{
	position: absolute;
	top: 20%;
	right: 3%;
	font-size: 2.8rem;
	background-color: rgba(176, 186, 117, 1);
	color: #fff;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 4px;
	cursor: pointer;
	animation: modal 2s 3s forwards;
	visibility: hidden;
	opacity: 0;
	z-index: 99999999;
}
#cerrar:checked + label, #cerrar:checked ~ .modal{
	display: none;
}
@keyframes modal{
	100%{
		visibility: visible;
		opacity: 1;
	}
}
/*---------------------------------------*/
@media screen and (min-width: 400px){	
	.contenido{
		width: 70%;
		max-width: 70%;
		height: 60%;
		max-height: 60%
	}
	#cerrar + label{
		right: 12%;
	}
}	
@media screen and (min-width: 768px){	
	.contenido{
		width: 60%;
		max-width: 60%;
		height: 70%;
		max-height: 70%
	}
	#cerrar + label{
		top:  18%;
		right: 16%;
	}	
}
@media screen and (min-width: 900px){
	.contenido{
		width: 50%;
		max-width: 50%;
		height: 75%;
		max-height: 75%;
	}
	#cerrar + label{
		top:  21%;
		right: 22%;
	}
}	
@media screen and (min-width: 1024px){
	.contenido{
		max-width: 60%;
		max-height: 80%
	}
}