/*--------------------
	RESET
--------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 150%;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

/*--------------------
	GLOBAL TYPOGRAPHY
--------------------*/

body {
	font: 12px/18px Arial, Helvetica, sans-serif;
	color: #333;
}

p {
	margin: 0 0 20px 0;
}

h1 {
	text-align: center;
	font-size: 56px;
	color: #FF4C23;
	padding-top: 4px;
	margin-bottom: 30px;
	}

h2 {
	font-size: 32px;
	color: #FF4C23;
	padding-top: 4px;
	margin-bottom: 30px;
	}

h3 {
	color: #FF4C23;
	font-size: 22px;
	font-weight: bold;
	margin-bottom: 10px;
}

a {
	color: #039;
	}
	a:hover {
		color: #c60;
	}

/*--------------------
	STRUCTURE
--------------------*/

body {
	background: black url("images/bg.jpg") no-repeat top left;
	background-attachment:fixed; // dejar el fondo fijo
}

#pagewrap {
	/*background: url("images/bg-glow.jpg") no-repeat top left;*/
	width: 820px;
	min-height: 100vh;
	margin: 0 auto;
	padding: 0 100px;
}

#header {
	/*width: 822px;
	height: 70px;*/
	padding-top: 40px;	
}

#content {	
	/*background: url("images/content-bg.jpg") no-repeat top center;*/
	clear: left;
	width: 822px;
	height: auto;
	position: relative;
	background-color: #141414;
	border: 1px solid #222;
	}
	#content div.page {
		position: relative;
		top: auto;
		left: auto;
		box-sizing: border-box;
		width: 100%;
		padding: 40px 38px 30px;
	}
	#content div.left {
		width: 241px;				
		float: left;
	}
	#content div.right {
		width: 470px;
		float: left;
		margin-left: 20px;
	}
	#content div.twocolumns {
		width: 50%;
		float: left;		
	}
	#content div.clear {
	  clear: both;
	}

#images {
	clear: both;
	margin-top: 30px;
}
	#images h2 {
		margin-bottom: 18px;
	}
	#images ul#work01 {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 18px;
		list-style: none;
		margin: 0;
		padding: 0;
	}
		#images ul#work01 li {
			float: none;
			box-sizing: border-box;
			margin: 0;
			padding: 8px;
			background-color: #e8e8e8;
			border: 1px solid #333;
			box-shadow: 0 2px 5px rgba(0, 0, 0, .45);
		}
			#images ul#work01 li a {
				display: block;
			}
			#images ul#work01 li img {
				display: block;
				box-sizing: border-box;
				width: 100%;
				height: 190px;
				padding: 0;
				background-color: #f7f7f7;
				object-fit: contain;
				transition: transform .2s ease, box-shadow .2s ease;
			}
			#images ul#work01 li a:hover img {
				transform: translateY(-2px);
				box-shadow: 0 4px 10px rgba(0, 0, 0, .35);
			}

@media (max-width: 1040px) {
	#pagewrap {
		box-sizing: border-box;
		width: 100%;
		padding: 0 20px;
	}
	#content,
	#footer {
		box-sizing: border-box;
		width: 100%;
	}
}

@media (max-width: 700px) {
	#images ul#work01 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	#content div.page {
		padding: 25px 18px;
	}
	#images ul#work01 {
		grid-template-columns: 1fr;
	}
}

#footer {
	color: #666;
	margin-top: 5px;	
	text-align: center;
	vertical-align: middle;
	background-color: #141414;
	border: 1px solid #222;
	width: 822px;
	height: 20px;
	}

a {
	color: #963;		
}

p {
	color: white
}

/*--------------------
	NAVIGATION
--------------------*/

ul#navigation {
	float: right;
	}
	ul#navigation li {
		float: left;
		}
		ul#navigation li a {
			display: block;
			width: 64px;
			height: 90px;
			text-indent: -9999px;
			margin-left: 42px;
			}			
		ul#navigation li a img {
			list-style: none;
			background: none;
			border: none;
			margin-right: 25px;
			padding: 5px;
		}

/*--------------------
	CONTENT - ABOUT
--------------------*/

#about img {
	/*background: url("images/photobg-big.png") no-repeat top left;*/
	padding: 0 5px;
}

#about ul {
	list-style: none;
	}
	#about ul li {
		float: left;
		font-size: 18px;
		font-weight: bold;
		margin-right: 40px;
		padding: 6px 10px 10px 6px;
		}
		#about ul li img {
			display: block;
		}
