h1 {
	text-align: center;
	font-size: 48px;
	padding: 20px 0;
	text-shadow: 2px 2px 2px #000;
	color: #5F8CE6;
	}
.volver{
	position:absolute;
	float:left;
	margin-top: 5px;
	z-index: 1;
}

.volver:hover{
	margin-top: 2px;
}
/*Estilos de la galeria*/

.galeria {
	width: 100%;
	margin: auto;
	list-style: none;
	padding: 20px;
	box-sizing: border-box;
}

.galeria li {
	float: left;
	display: inline;
	margin-right: 20px;
	margin-bottom: 20px;
}

.galeria img {
	width: 195px;
	height: 150px;
	border-radius: 8px;
	border: 2px solid black;
}

.galeria img:hover {
	margin-top: -5px;
}

/*Estilos del modal*/

.modal {
	display: none;
}

.modal:target {
	
	display: block;
	position: fixed;
	background: rgba(0,0,0,0.8);
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.modal h3 {
	color: #fff;
	font-size: 30px;
	text-align: center;
	margin: 15px 0;
}

.imagen {
	width: 1000px;
	margin: auto auto;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 20px;
}

.imagen a {
	color: #fff;
	font-size: 40px;
	text-decoration: none;
	margin: 0 10px;
}

.imagen a:nth-child(2) {
	margin: 0;
	height: 100%;
	flex-shrink: 2;
}

.imagen img {
	width: 100%;
	height: 100%;
	max-width: 600px;
	max-height: 450px;
	border: 7px solid #fff;
	border-radius: 8px;
	box-sizing: border-box;
}

.cerrar {
	display: block;
	background: #fff;
	width: 25px;
	height: 25px;
	margin: 15px auto;
	text-align: center;
	text-decoration: none;
	font-size: 25px;
	color: #000;
	padding: 5px;
	border-radius: 50%;
	line-height: 25px;
}

.izq{
	float: left;
	top:0px;
	left:8px;
	width:55px;
	height:55px;
}

.der{
	float: right;
	top:0px;
	right:8px;
	width:55px;
	height:55px;
}


.izq, .der {
	/* size of arrow element */
	width: 55px;
	height: 55px;
	cursor: pointer;
	background: url('a02.png') no-repeat;
	overflow: hidden;
}

.izq { background-position: -243px -33px; }
.der { background-position: -303px -33px; }
.izq:hover { background-position: -123px -33px; }
.der:hover { background-position: -183px -33px; }
.izq.izqdn { background-position: -3px -33px; }
.der.derdn { background-position: -63px -33px; }