/*
Copyright 2006 Chris Greufe
Global CSS
Revised: 05/25/2006
*/

/* { margin:0; padding:0; border:0; } */

* {
	box-sizing: border-box;
}

@view-transition {
  navigation: auto;
}

body {
	display: grid;
	margin: 0;
	padding: 0.5rem;
	min-height: 100svh;
	font: normal 1rem/1.5 Helvetica, Arial sans-serif;
	color:#555;
	background: #57585b url(/assets/images/bg/bg_body.gif);
	
	@media (width >= 768px) {
		padding: 1rem 1.5rem;
	}
}

a { text-decoration:none; color:#72b542; font-weight:bold; }
a:hover { text-decoration:underline; color:#72b542; }

#container {
	display: grid;
	grid-template-rows: auto 1fr auto;
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	background-color: #fff;
	box-shadow: 0 0 12px rgb(0 0 0 / .1);
	border-radius: 0.5rem;

	@media (width >= 768px) {
		border-radius: 1rem;
	}
}

#header {
	padding: 8px;
}

#logotype {
	padding: 16px;
	font-size: 1.4rem;
	font-weight: 300;
	color: rgb(255 255 255 / .75);
	background-color: #3c3d40;
	border-radius: 0.25rem 0.25rem 0 0;

	@media (width >= 768px) {
		font-size: 1.6rem;
		border-radius: 0.5rem 0.5rem 0 0;
	}

	.slashes {
		display: none;

		@media (width >= 768px) {
			display: initial;
		}
	}

	.info {
		display: block;
		font-size: 1rem;

		@media (width >= 768px) {
			display: initial;
			font-size: 1.2rem;
		}
	}
}

#nav { display:block; text-transform:uppercase; background:#f2f2f2 url(/assets/images/nav/nav_off.gif) repeat-x; }
#nav ul { margin:0; height:39px; padding:0 1px 0 0; list-style-type:none; background:transparent url(/assets/images/nav/nav_divider.gif) no-repeat right; }
#nav li { float:left; margin:0; padding:0; width:142px; height:39px; text-align:left; background:transparent url(/assets/images/nav/nav_divider.gif) no-repeat; }
#nav a {
	display: block;
	padding: 8px 0 0 8px;
	text-decoration: none;
	font-size: .875rem;
	font-weight: normal;
	letter-spacing: .05rem;
	color: #333;
	margin: 0 0 0 1px; 
	height: 100%;
}
#nav a:hover, #nav a.selected { background:transparent url(/assets/images/nav/nav_on.gif) repeat-x; color:#000; }

p { margin: 0 0 0.75rem 0; }

#content {
	display: grid;
	row-gap: 1rem;
	padding: 1rem;
	border-block: 0.5rem solid #57585b;
	/*background:transparent url(/assets/images/bg/bg_dot.gif) repeat-y top center;*/

	@media (width >= 768px) {
		grid-template-columns: 1fr auto 1fr;
		column-gap: 2rem;
		padding: 2rem;
		border-block-width: 0.25rem;
	}

	hr.divider {
		display: none;

		@media (width >= 768px) {
			display: initial;
			margin: 0;
			width: 1px;
			height: 100%;
			border-left: .5px dashed #999;
		}
	}

}

ol, ul {
	padding: 0;
	list-style: none;

	li {
		margin: 0 0 0.75rem 0;
	}
}

#home-intro {
	padding: 1rem;
	background-color: #f7f7f7;
	border-radius: 0.5rem;
}

#home-work {
	padding: 1rem;
	background-color: #f0f7d9;
	border-radius: 0.5rem;
}

#work-thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style-type: none;

	li	{ margin:0; padding:0; }

	a {
		display:block;
		padding: 0.125rem;
		border: 1px solid #ccc;
		border-radius: 0.5rem;
		
		&:hover {
			background-color: #9c0;
		}

	}

	img {
		display: block;
		width: 100%;
		height: auto;
		border: 0.125rem solid #fff;
		border-radius: 0.375rem;
	}

}

.work-content {
	display: grid;
	grid-template-rows: auto 1fr;
	margin-top: 2rem;
	padding: 1rem;
	background-color: #f7f7f7;
	border-radius: 0.5rem;

	@media (width >= 768px) {
		margin-top: 0;
	}
}

#work-large {
	img {
		display: block;
	}
}

#work-details {
	margin-block-start: 1.5rem;
}

/* FONTS */
h1 { margin:4px 0 25px 0; font-size:2.1em; font-weight:normal; /*color:#f4690c; text-transform:uppercase; letter-spacing:.1em;*/ }
h1 .highlight { color:#9c0; text-transform:uppercase; }
h2 { margin:0 0 5px 0; padding:1em 0 .5em 0; font-size:1.2em; font-weight:bold; /*text-transform:uppercase;*/ letter-spacing:.1em; background:transparent url(/assets/images/bg/bg_dot.gif) repeat-x bottom; }
h3 { margin:0 0 10px 0; padding:0 0 .5em 0; font-size:1.2em; font-weight:bold; letter-spacing:0; background:transparent url(/assets/images/bg/bg_dot.gif) repeat-x bottom; }
h4 { margin:4px 0 15px 0; font-size:1.8em; font-weight:normal; }

#footer {
	padding: 16px;
	font-size: 0.875rem;
	color: #888;
}


/* Clearing for all floats */
.clearer { clear:both; display:block; height:1px; overflow:hidden; visibility:hidden; margin:0; padding:0; font-size:1px; line-height:1px; }
.clearfix:after { content:"."; display:block; height:0; clear:both; visibility:hidden; }
.clearfix { display:inline; }
/* Hides from IE-mac \*/
* html .clearfix { height:1%; }
.clearfix { display:block; }
/* End hide from IE-mac */
