@font-face {
	font-family: "Oswald";
	font-style: normal;
	font-weight: 400;
	src: local("Oswald Regular"), local("Oswald-Regular"), url("oswald.woff") format("woff");
}

@font-face {
	font-family: "FiraCode";
	font-style: normal;
	font-weight: 500;
	src: local("Fira Code"), local("Fira Code Regular"), local("FiraCode-Regular"), url("firacode.woff") format("woff");
}
@font-face {
	font-family: "FiraCode";
	font-style: normal;
	font-weight: 700;
	src: local("Fira Code Bold"), local("FiraCode-Bold"), url("firacode_bold.woff") format("woff");
}

html, .view body {
	color: white;
	background-color: black;
	counter-reset: slideidx;
}
body, .view section {
	background: #1C1C1C;
	font-size: 26px;
	font-family: 'Oswald', sans-serif;
}
.view section:after {
	counter-increment: slideidx;
	content: counter(slideidx, decimal-leading-zero);
	position: absolute;
	bottom: -80px;
	right: 100px;
    color: white;
}
.view head > title {
	margin: 1em 0 1em 0;
	color: white;
	background: #1C1C1C;
	text-align: center;
}

section {
	transition: left 500ms linear, opacity 600ms ease;
}
.view section {
	transition: none;
}
.view section[aria-selected] {
	border: 5px red solid;
}

@media screen {
	section { left: -120%; opacity: 0.5}
	section[aria-selected] { left: 0; opacity: 1}
	section[aria-selected] ~ section { left: +120%; opacity: 0.5}
}

.incremental > * { opacity: 1; }
.incremental > *[aria-selected] { opacity: 1; }
.incremental > *[aria-selected] ~ * { opacity: 0; }

#progress-bar {
	height: 2px;
	background: #999;
}


a {
	color: #A6E22E;
	text-decoration: none;
	font-size: 75%;
}
a:hover {
	text-decoration: underline;
}
strong {
	color: #FF0066
}

.level1 h1 {
	line-height: 600px;
	vertical-align: middle;
	margin: 0;
	text-align: center;
	display: block
}
.level2 h1 {
	color: #FAE50B;
	margin: 20px 0;
	font-size: 40px;
	text-align: center;
}

h1 {
	margin: 50px 100px 0 100px;
	font-size: 50px;
	text-shadow: -1px -1px 0 #000;
	text-align: left;
}
h1 span {
	color: #A6E22E;
	display: block;
	margin-top: 1em;
	font-size: 20px;
	font-variant: small-caps;
}
h2 {
	color: #FAE50B;
	margin: 150px 0 0 0;
	font-size: 30px;
	text-align: center;
}
h3 {
	color: #FF0066;
}

footer {
	position: absolute;
	bottom: 50px;
	width: 100%;
}
footer div {
	float: right;
	margin-right: 50px;
	color: #FF0066;
	font-size: 20px;
}
footer a {
	float: left;
	margin-left: 50px;
}

ul {
	float: left;
	display: inline-block;
	min-width: 310px;
	margin-top: 70px;
	margin-left: 50px;
	padding-right: 40px;
	border-right: 4px solid white;
	font-size: 30px;
	text-align: right;
}
li {
	list-style-type: none
}

.side {
	float: left;
	min-width: 150px;
	margin-top: 70px;
	margin-left: 25px;
	text-align: center;
}

q, p {
	margin: 20px auto 35px auto;
	width: 700px;
	clear: both;
}
q:after {
	content: "";
}
q:before {
	content: "";
}
q {
	display: block;
	margin-top: 140px;
}

video {
	width: 90%;
	margin: 0 5%;
}

figure {
	text-align: center;
}
figure img {
	margin: 0 auto;
}

pre > code {
	margin: 0 20px;
}
pre {
	font-size: 13px;
}
code {
	font-family: "FiraCode", monospace;
	text-rendering: optimizeLegibility;
}
.incremental pre {
	margin-top: 2em;
}

.code {
	position: absolute;
	top: 90px;
	right: 25px;
	text-align: right;
}
.code a, em {
	color: #0BE5FA;
	background-color: transparent;
}
cite {
	display: block;
	font-size: 50%;
}
hr {
	border: 1px solid #999;
}
