/* -----------------------------------------
	Table of Contents: 

	Tag Resets
	Normalize CSS
	Web Fonts
	Fluid Media
	Custom Styles
	Media Queries

----------------------------------------- */

/* -----------------------------------------

	Tag Resets

----------------------------------------- */

body,
div,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
th,
td,
article,
aside,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	margin: 0;
	padding: 0;
	border: 0;
}


/* -----------------------------------------

	Normalize CSS
	https://necolas.github.com/normalize.css/

----------------------------------------- */

html {
	height: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	min-height: 100%;
	height:100%;
	font-size: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
audio,
canvas,
video {
	display: block;
}

iframe {
	border:none;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

pre {
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

b,
strong {
	font-weight: bold;
}

em {
	font-style: italic;
}

abbr[title] {
	border-bottom: 1px dotted;
}

textarea {
	overflow: auto;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* this is taken from an article about correcting a problem where Apple mobile devices wouldn't play iframe videos: */

a,
object,
input,
a:active,
a:focus,
input:active,
input:focus {
	outline:none;
}


/* -----------------------------------------

	Web Fonts

----------------------------------------- */



/* -----------------------------------------

	Fluid Media

----------------------------------------- */


figure {
	position: relative;
}

figure img,
figure object,
figure embed,
figure video,
figure iframe {
	display: block;
	max-width: 100%; 
	margin:.65em auto;
}

/* 
interpolation-mode
https://css-tricks.com/ie-fix-bicubic-scaling-for-images/
 */

img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}


/* -----------------------------------------

	Custom Styles

----------------------------------------- */

body {
	font-family: sans-serif;
	background-color: lightgray;
}

.container {
	width:60%;
	min-height:1000px;
	margin: 0 auto;
	background-color: #FFF;
	padding: 1em 6em 2em 6.5em;
	line-height: 1.3;
}

p {
	margin-bottom:1em;
	line-height: 1.35;
}

nav {
	position: absolute;
	right: 15%;
	color: #666;
	font-size: .9em;
}

nav a {
	color: #AAA;
	text-decoration: none;
}

h1 {
	margin:1em auto 1em;
}

h2 {
	margin:1.6em 0 1em;
	font-size:1.3em;
	font-style: italic;
}

h3 {
	margin:1em 0;
	font-size: 1.2em;
}

a,
a:active {
	color:#000;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

.screenshot {
	margin:0 auto;
	width:48%;
	padding:3px;
}

video.smallervid {
	width:48%;
	display:inline-block;
	padding:3px;
	margin:.25em auto
}



/* -----------------------------------------

	Media Queries

----------------------------------------- */


/* less than 1200px */

@media screen and (max-width: 1200px) {
	
	img.screenshot {
		width:90%;
	}
}

/* less than 960px */
@media screen and (max-width: 960px) {

	.container {
		width:80%;
		padding: 1em;
	}

	video.smallervid {
		width:90%;
		padding:.5em;
	}
}

/* less than 750px */

@media screen and (max-width: 750px) {

	nav a {
		font-size:.975em;
	}

	.container {
		width: 95%;
	}

	img.screenshot {
		width:100%;
	}
}

