*{
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

@font-face{
	font-family: ghost;
	src: url(fuentes/iknowaghost.ttf);
}

body{
	background-color: #332B36;
	font-family: Verdana;
	font-weight: bold;
}

h1{
	font-weight: 300;
	font-family: ghost;
	text-align: center;
	padding: 20px 0;
	font-size: 80px;
	color:#E2D5BC;
	letter-spacing: 5px;
	word-spacing: 5px;
	text-shadow: 5px 12px 6px #000
}

.regreso{
	margin-left: 20px;
	display: flex;
	width: 5%;
	height: 10vh;
}

.regreso a{
	margin-top: 20px;
	text-decoration: none;
	font-size: 20px;
	width: 40px;
	height: 40px;
	text-align: center;
	line-height: 40px;
	background: #E2D5BC;
	color: #FF7E3B;
	border-radius: 50%;
	box-shadow: 2px 2px 5px #FF7E3B;
	transition: all .4s ease-in-out;
}

.linea{
	background: #FF7E3B;
	height: 5px;
	width: 100%;
	display: block;
}

.galeria{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	width: 95%;	
	margin: auto;
	grid-gap: 10px;
	padding: 40px 0;
	overflow: hidden;
}

.galeria img{
	width: 100%;
	vertical-align: top;
	height: 300px;
	object-fit: cover;
	transition: transform 0.5s;
}

.galeria > a{
	display: block;
	position: relative;
	overflow: hidden;
	box-shadow: 0 0 6px #E2D5BC;
}

.galeria a:hover img{
	filter: blur(2px);
	transform: rotate(10deg) scale(1.2);
}

.light-box{
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(255, 255, 255, .3);
	transition: transform 01s ease-in-out;
	width: 100%;
	height: 100vh;
	z-index: 1000;
	display: flex;
	justify-content: center;
	align-items: center;
	transform: scale(0);
}

.light-box img {
	width: 75vw;
	max-height: 70vh;
}

.light-box:target{
	transform: scale(1);
}

.close{
	display: block;
	position: absolute;
	top: 40px;
	right: 40px;
	background: #FF7E3B;
	color: #E2D5BC;
	text-decoration: none;
	width: 40px;
	height: 40px;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
}

.next{
	display: block;
	background: #FF7E3B;
	color: #E2D5BC;
	height: 30px;
	width: 30px;
	line-height: 30px;
	text-decoration: none;
	text-align: center;
	border-radius: 50%;
}

@media screen and (max-width: 400px){
	.galeria{
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}

	.close{
		top: 20px;
		right: 20px;
	}
}