/* Lexend © 2018 The Lexend Project Authors, licensed under the SIL Open Font License */
@font-face {
	font-family:'Lexend';
	src:url('/fonts/Lexend-Light.ttf');
}
@font-face {
	font-family:'Lexend Light';
	src:url('/fonts/Lexend-ExtraLight.ttf');
}
@font-face {
	font-family:'Lexend Bold';
	src:url('/fonts/Lexend-Regular.ttf');
}
html,body {
	display:flex;
	flex-flow:column;
}
body {
	font-size:125%;
	font-family:'Lexend',sans-serif;
	background-color:#141413;
	background-image:url('/img/sunset.jpg');
	background-attachment:fixed;
	background-position:center center;
	background-size:cover;
	color:#F5C09C;
	line-height:1.25;
	font-variant-ligatures:common-ligatures,discretionary-ligatures,historical-ligatures;
}
#main {
	width:50%;
	/*min-width:640px;*/
	padding:2em;
	margin-left:calc(25% - 2em);
	margin-right:calc(25% - 2em);
	margin-top:2em;
	margin-bottom:2em;
	background-color:#141413;
	background-image:url('/img/tweeddark.gif');
	-webkit-box-shadow:0 0 8px 0 #141413;
	-moz-box-shadow:0 0 8px 0 #000;
	box-shadow:0 0 4px 0 #000;
	flex:1 0 auto;
}
nav {
	border-bottom:1px solid;
	border-image:linear-gradient(to right,rgba(245,192,156,0),rgba(245,192,156,1),rgba(245,192,156,0)) 100 0 stretch;
	padding-left:1em;
	padding-right:1em;
	margin-left:2em;
	margin-bottom:0.25em;
	float:right;
	min-width:20%;
	text-align:center;
}
hr {
	text-align:center;
	border:0;
	height:1px;
	width:75%;
	background-image:linear-gradient(to right,rgba(245,192,156,0),rgba(245,192,156,1),rgba(245,192,156,0));
	margin:1em auto;
}
a {
	text-decoration:none;
	color:#ED660A;
	transition:0.2s;
}
a:hover {
	color:#EB5200;
	transition:0.2s;
}
h1 {
	font-weight:normal;
	font-family:'Lexend Bold';
	text-align:center;
	margin-top:2em;
	margin-bottom:0;
}
h2 {
	font-weight:normal;
	font-family:'Lexend Bold';
	font-size:200%;
	padding:0;
	margin:0;
}
h3 {
	font-family:'Lexend';
	font-style:italic;
	font-size:120%;
	font-weight:normal;
	padding:0;
	margin:0;
}
.member {
	display:flex;
}
.portrait {
	font-family:'Lexend Light';
	font-size:75%;
	text-align:center;
	margin-right:1.5em;
}
.portrait img {
	max-width:calc(50vw / 3);
	min-width:160px;
	padding-left:0.5em;
}
s {
	/* Y = Favorite (heart)      a = Okay (check mark)       x = Avoid (no entry)
	   U = Jokingly (megaphone)  Z = Romantically (bouquet)  _ = Only friends (speech bubbles) */
	text-decoration:none;
	font-family:Webdings;
}
b {
	font-weight:normal;
	font-family:'Lexend Bold';
}
/*ul {
	text-indent:0;
	list-style-type:none;
	margin:0;
	padding:0;
}
li {
	display:inline-block;
	text-indent:none;
	width:8em;
}*/
.code {
	position:relative;
	white-space:pre;
	tab-size:4;
	font-family:monospace;
	font-size:12pt;
	overflow-x:auto;
	padding-left:4em;
	padding-top:1.5em;
	padding-bottom:0.5em;
	line-height:100%;
}

/* For visitors with smaller monitors */

@media (max-width:1366px) {
	body {
		font-size:112.5%;
	}
	#main {
		width:70%;
		min-width:0;
		padding:2em;
		margin-left:calc(15% - 2em);
		margin-right:calc(15% - 2em);
	}
}

@media (max-width:800px) {
	body {
		font-size:100%;
	}
	#main {
		width:80%;
		min-width:0;
		padding:2em;
		margin-left:calc(10% - 2em);
		margin-right:calc(10% - 2em);
	}
	#main::after {
		content:"Best viewed at 800×600 or higher.";
	}
}

/* For visitors on cell phones */

@media only screen and (hover:none) {
	body {
		font-size:250%;
	}
	#main {
		width:80%;
		padding-top:1em;
		margin-left:calc(10% - 2em);
		margin-right:calc(10% - 2em);
		margin-top:1em;
		margin-bottom:1em;
	}
	nav {
		border-bottom:2px solid;
	}
	p {
		line-height:112.5%;
	}
	.member {
		display:inline;
	}
	.portrait {
		margin:0;
	}
	.portrait img {
		max-width:100vw;
		min-width:50vw;
	}
	hr {
		height:2px;
	}
	.code {
	padding-left:0;
	}
}
