





.modal{
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.8);

    position: fixed;
    top: 0;
    left: 0;

    display: flex;

    animation: modal 1s 2s forwards;
    visibility: hidden;
    opacity: 0;
}

.contenido{
    margin: auto;
    width: auto;
    height: auto;
	background-color:#606;
    border-radius:10px;
	display:flex;
	flex-direction:column;
	align-items:center;
	

	
}
.contenido a{   /*  darle formato a los enlaces*/
	color:#FFF;
	text-decoration:none;
	font-weight:bold;
	padding:3px;
	font-size:60px;
	
	}
	
	.contenido a:hover{
		background-color:#FF0;
		color:#000;
		
		}
		
	.parrafos_contenido{
		color:#6F3;
		
		}

#cerrar {
    display: none;

}

.btnCerrar{
	position: relative;
    right: -192px;
    top: 8px;
    font-size: 22px;
    border-radius: 50%;
    background-color: #000;
    color: #FFF;
    padding: 5px 12px;
    cursor: pointer;
}

#cerrar .contenedor label{
    position: fixed;
    color: white;
    font-size: 25px;
    z-index: 50;
    background:darkred;
    height: 40px;
    width: 40px;
    line-height: 40px;
    border-radius: 50%;
    right: 10px;
    cursor: pointer;
    
    animation: modal 1s 2s forwards;
    visibility: hidden;
    opacity: 0;
}

#cerrar:checked + label , #cerrar:checked ~ .modal{
    display: none;
}
@keyframes modal{
    100%{
        visibility: visible;
        opacity: 1;
    }
}