/**
	CSSS basic slideshow theme

	@author Lea Verou
	@version 1.0
*/

/**
 * Styles
 */

* {
	padding:0;
	margin:0;
	font:inherit;
	color:inherit;
}

html {
	background: #fff;
	color: #000;
}

body {
	font-family: "Ubuntu", sans-serif;
	line-height: 1.625;
}


h1, h2, h3 {
	margin: 0;
	font-family: 'PlayfairDisplay', serif;
	font-weight: 900;
	text-align: center;
}

h1 {
	margin-bottom: .6190em;
	font-size: 2.625em;
	line-height: 1.2381;
}

h2 {
	margin-bottom: 1em;
	font-size: 1.625em;
	line-height: 1;
}

h3 {
	font-size: 1em;
}

p, pre, ul, ol {
	margin-top: 0;
	margin-bottom: 1.625em;
}

button {
	padding:.2em .5em;
}

a:hover {
	text-shadow: 0 0 .5em white, 0 0 1em white;
}

select {
	color: black;
}

code, pre, style, textarea, input {
	font-family: 'Consolas', 'Andale Mono', 'Courier New', monospace;
}

code {
}

pre, style, textarea {
	padding:.3em .5em;
	margin-left: -.1em;
}

pre {
	padding: 0;
	font-size: .8em;
	white-space: pre-wrap;
}

	pre > code {
		padding: 0;
		border: 0;
		background: 0;
		box-shadow: none;
	}

textarea {
	width: 100%;
	box-sizing: border-box;
	tab-size: 2;
	background: #fff;
}

strong, b {
	font-weight: bold;
}

em, i {
	font-style: italic;
}

cite {
	font-size: .75em;
	line-height: 2;
}

img {
	display: block;
	margin: 0 auto;
}

del {
	text-decoration-color: red;
}

small {
	font-size: .75em;
}

.slide {
	padding:0 2.5% 2%;
	border:30px solid transparent;
}

.slide.immediate {
	transition: none;
}

.slide.image {
	text-align: center;
}

.slide.image img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
}

.slide[data-source]:after {
	content: attr(data-source);
	position: absolute;
	bottom: 5px;
	right: 10px;
	z-index: 100;
	font-size: 15px;
}


#indicator {
	background: rgba(255, 255, 255, .6);
	color: black;
	text-shadow: .03em .03em .1em white;
}

	.slide pre {
		font-size: 75%;
	}

	.slide > ul {
		list-style:none;
	}

	.slide ol {
		margin-left:2em;
	}

		.slide > ul ul {
			margin-left:2em;
			list-style: none;
		}

			.slide li li {
				font-size:80%;
			}

		.slide li {
			margin: .2em 0;
			padding-left: 1em;
			text-indent: -1em;
		}

		.slide > ul > li:before {
			content:'\279C';
			color: #999;
			font-size: .8em;
			padding-right: .35em;
		}

			.slide ul > li li:before {
				content: '\279C';
				color: #28bcbc;
				padding-right: .2em;
			}


#intro {
	padding: 0;
	border: 0;
}

#intro h1 {
	width: 80%;
	margin: 5% auto 0;
	font-family: 'PlayfairDisplaySC', serif;
	font-weight: 900;
	line-height: 1;
	text-align: center;
}

#intro h1 small {
	display: block;
	font-family: 'PlayfairDisplay', serif;
	font-size: 50%;
	font-style: italic;
	margin-top: .5em;
}

#intro .attribution {
	font-weight: 300;
	text-align: center;
	font-size: 100%;
	text-shadow: none;
}



header.slide {
	display: flex;
	flex-flow: column;
	align-items: center;
	justify-content: center;
}


.slide .emphasis {
	padding: .4em .5em .3em;
	margin: .3em 0;
	background: #f80;
	background: linear-gradient(#fa0, #f80);
	color: white;
	font-weight: bold;
	letter-spacing: -.05em;
	line-height: .85;
	text-shadow: .05em .05em .1em rgba(0,0,0,.4);
	border-radius: .3em;
	box-shadow:.1em .1em .5em black;
}

.light.slide .emphasis {
	box-shadow:.1em .1em .5em rgba(0,0,0,.4);
}

.slide .emphasis::before {
	content: '\279C';
	color: rgba(255,255,255,.5);
	float: left;
	width: .75em;
	height: 0;
	padding: .45em 0 .3em;
	margin: -.2em .2em 0 -.25em;
	border: .12em solid;
	text-align: center;
	line-height: 0;
	font-size: 120%;
	font-family: inherit;
	text-shadow: none;
	border-radius:999px;
	transform: rotate(45deg);
}

footer.slide + div.slide {
	display: flex;
	flex-flow: column;
	align-items: center;
	justify-content: center;
}

.attribution {
	display: block;
	padding: .5em 1em;
	font-size: 30%;
	text-shadow: .05em .05em .1em black;
}

	.attribution a {
		text-decoration: none;
	}

	.attribution a::after {
		content:  ' (' attr(href) ')';
	}

/* Syntax highlighting */

.comment {
	color: #999;
}

.string {
	color: darkorange;
}

.keyword {
	font-weight: bold;
	color: navy;
}

.function {
	font-weight: bold;
}

.phptag {
	color: red;
	font-weight: bold;
}

.number, .boolean {
	color: #0cf;
}

.regex {
	color: orange;
}

.tag {
	font-weight: bold;
	color: navy;
}

.tag * {
	font-weight: normal;
	color: initial;
}

.attr-name, .variable {
	color: green;
}

.attr-value {
	color: darkorange;
}


.delayed.displayed,
.delayed-children > .displayed {
	opacity: 1;
}

.wrong.displayed {
  text-decoration: line-through;
  text-decoration-color: red;
}

.snippet {
	position: absolute;
	bottom: 0;
	left: 0;
}

table {
	width: 100%;
	border-collapse: collapse;
}

td, th {
	padding: .5em .25em;
	border: 1px solid black;
	font-size: 1em;
	text-align: left;
}

th {
	font-weight: bold;
}

dl {
	margin: 0 0 1.625em;
}

dt {
	margin: 0;
	font-weight: bold;
}

dd {
	margin: 0;
	padding: 0;
}

footer {
	text-align: center;
}
footer h2 {
	margin-bottom: .5em;
}
footer p {
	margin: 0;
}
