/* CSS Document */

body, html {
	height: 100%;
}
body {
	background: url("images/bg-type.svg") center center / 600px auto repeat white;
	color: black;
	font-family: "Georgia";
	line-height: 1.4;
	font-size: 1.25rem;
	margin: 0;
	padding: 0;
}

.ending {
	white-space: nowrap;
}

.serif em, .serif li {
	font-style: normal !important;
}

.hidden {
	display: none;
}

* {
	box-sizing: border-box;
}

p em {
	font-size: 150%;
}

nav h2 {
	font-weight: 600;
	margin: 0 0 1rem;
	font-size: 1.75rem;
	color: white;
	font-variant: small-caps;
}

.button {
	background: white;
	color: black;
	border-radius: .5rem;
	display: inline-block;
	padding: .25rem .75rem;
	box-shadow: 1px 1px 4px #333;
}

.infobox {
	background: black;
	color: white;
	padding: 1rem;
}

.infobox a {
	color: inherit;
}

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

.punctuator ul li {
	font-style: italic;
}

.punctuator ul li::before {
	content: "+";
	padding: 0 .5rem 0 0;
}

.inner {
	width: 90%;
	margin: 0 auto;
}

header {
	padding: 3rem 0 1rem;
}

header .inner {

}

.menu-toggle {
	position: fixed;
	top: 1rem;
	right: 2rem;
	z-index: 100;
}

.intro {
	margin: 0 0 2rem;
	text-align: center;
}

.intro p {
	margin: 0;
}

nav {
	font-size: 1rem;
	width: 25%;
	height: 100%;
	position: fixed;
	right: 0;
	top: 0;
	bottom: 0;
	background: rgba(355,355,355,.9);
	background: #f2a258;
	color: black;
	padding: 3rem 2rem;
	z-index: 99;
	box-shadow: 1px 1px 3px #333;
	overflow-y: scroll;
}

nav ul {
	
}

nav ul li {
	
}

nav ul li a {
	
}


h1 {
	font-weight: 400;
	margin: 0 0 1.25rem;
	text-align: center;
	font-size: 3rem;
}

a {
	color: inherit;
	text-decoration: none;
}

controls {
	display: block;
	text-align: center;
	margin: 0 auto ;
	width: 80%;
	background: black;
	color: white;
	padding: 1rem;
	line-height: 1.5rem;
	
	font-family: "proxima-nova-extra-wide", sans-serif;
font-weight: 600;
font-style: normal;
}

controls ul {
	width: 100%;
		display: flex;
	justify-content: space-between;
	align-items: center;
}

controls li {
	margin: 0 1.25rem;
}


#slider {
	width: 6rem;
}

.ui-slider-horizontal {
	background: #777;
	height: .25rem !important;
}

.ui-slider-handle {
	background: white;
	border-radius: 50%;
}



.ui-slider-horizontal .ui-slider-handle {
	top: -.5rem !important;
}

div.punctuator {
	width: 80%; min-height: 20rem; background: white; color: black; padding: 2rem 3rem; margin: 0 auto 6rem;
}

.punct-styles a {
	margin: 0 .25rem;
}

.punctuator.sans {
	font-family: "Weathersbee Sans", sans-serif;
}

.punctuator.serif {
	font-family: "WT-Morris-Roman", serif;
}


h1 img {
	width: 30rem;
	height: auto;
}



.punct-styles {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(232,29,38,.95);
	padding: .75rem;
}



subfooter {
	display: block;
	background: white!important;
	color: black!important;
	text-align: center;
	padding: 1.5rem 1.5rem 2.5rem;
}

subfooter a {
	text-decoration: underline!important;
}

.menu-toggle {
	width: 1.25rem;
	filter: invert();
}

.invert {
	filter: invert();
}

.menu-toggle img {
	width: 1.25rem;
	height: auto;
}

.sp-dd {
display: none !important;
}

.sp-replacer {
	width: 1.5rem !important;
}

controls li img {
	height: 1.5rem;
	width: auto;
}

.reset {
	display: inline-block;
}

.download {
	display: inline-block;
}



@media only screen and (max-width: 700px) {
  controls ul {

  }
	controls li {
		margin: 0;
	}
	
	controls li a {
		display: block;
	}
	
	nav {
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height: 100%;
}
	
	h1 img {
	width: 20rem;
	height: auto;
}
	p em {
		font-size: 110%;
	}


#slider {
	margin: 0 auto;
}
	
	div.punctuator {
	width: 100%;
}
	
	controls {
	width: 100%;
}
	controls li strong {
		display: none;
	}
	
	#style {
		width: 100px;
	}
	
}
