:root {
	font-size: 18px;
}

html, body { height: 100%; width: 100%; margin: 0; }

body {
	
	background-color: #777;
	background-image: url('/graphix/bg/pencil_scribble.jpg');
	background-blend-mode: multiply;
	font-family: 'Halogen', sans-serif;
	display: flex;
	flex-direction: column;
}

nav {
	moz-box-sizing: border-box; webkit-box-sizing: border-box; box-sizing: border-box;
	background: black;
	color: white;
	text-align: center;
	padding: 5px 1em;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 1.25rem;
	
	a, a:link, a:visited { color: inherit; }
	a:hover { color: #777; }
}

#content {
	moz-box-sizing: border-box; webkit-box-sizing: border-box; box-sizing: border-box;
	height: auto;
	width: 100%;
	flex-grow: 1; flex-shrink: 1;
	overflow-x: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	padding: 15px;
	justify-content: center;
	align-items: center;
}

.card {
	background: white;
	padding: 10px;
	box-shadow: 3px 4px rgba(0,0,0,.5);
	width: fit-content;
	height: fit-content;
	margin: 0;
}
.full-width {
	width: 100%;
	display: flex;
	justify-content: center;
}
.full-width .card { min-width: min(40rem,90vw); }

.card .title {
	font-size: 1.1em;
	font-weight: bold;
}
figure .date {
	float: right;
}
figure .date, figure .materials, figure .time { color: #666; }
figure .materials, figure .time { text-align: center; }
figure .comments { display: flex; }
figure .comments > * {
	flex-grow: 1;
  width: 0;
}

figure > img {
	max-width: min(90vw,90vh);
	max-height: 90vh;
}