body {
	margin: 0;
	padding: 0;
	font-family: Helvetica, Arial, sans-serif;
	color: #666;
	background: #f2f2f2; 
	font-size: 1em;
	line-height: 1.5em;
}

h1 {
	font-size: 2.3em;
	line-height: 1.3em;
	margin: 15px 0;
	text-align: left;
	font-weight: 300;
}
h2 {
	font-size: 2.3em;
	line-height: 1.3em;
	margin: 15px 0;
	text-align: left;
	font-weight: 300;
}
p {
	margin: 0 0 1.5em 0;
}


img {
	max-width: 100%;
	height: 100%;
}

.modal {
	width: 100%;
	height: 100vh;
	background: rgba(0,0,0,0.8);
	position: absolute;
	
	top: 0;
	left: 0;
	display: flex;
	
	animation: modal 0s 0s forwards;
	visibility: hidden;
	opacity: 0;
	
}
.contenido {
	margin: auto;
	width: 40%;
	height: 40%;
	background: white;
	border-radius: 10px;
}
#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: 10px;
	cusor: pointer;
	
	animation: modal 0s 0s forwards;
	visibility: hidden;
	opacity: 0;
}

#cerrar:checked + label, #cerrar:checked ~ .modal {
	display: none;
}

@keyframes modal {
	100% {
		visibility: visible;
		opacity: 1;
	}
}

/*
 * Navegación
 */
nav {
	float: right;
}
	nav ul {
		margin: 0;
		padding: 0;
		list-style: none;
		padding-right: 20px;
	}
	
		nav ul li {
			display: inline-block;
			line-height: 80px;
		}
			
			nav ul li a {
				display: block;
				padding: 0 10px;
				text-decoration: none;
			}
			
				nav ul li a:hover {
					background: #0b76a6;
				}

#main-footer {
	background: #333;
	color: white;
	text-align: center;
	padding: 20px;
	margin-top: 40px;
}
#main-footer p {
		margin: 0;
}
	
#main-footer a {
		color: white;
}