html {
	box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

* {
	margin: 0;
	padding: 0;
}

body, html {
	width: 100%;
	height 100%;
	overflow: hidden;
}

/* basing body font size on viewport's vertical height
 * makes slides hardware accelerated scalable */
body {
	font-size: 3vh;
	line-height: 1;
}

h1, h2, h3 {
	margin: 0.25em 0;
	font-weight: normal;
}

h1 { font-size: 3em; }
h2 { font-size: 1.75em; }
h3 { font-size: 1.25em; }

p {
	font-size: 2em;
}

ul {
	list-style-position: inside;
	font-size: 5vh;
	margin: 2vh 0;
}

ul ul {
	padding-left: 3vw;
}

#handle {
	position: absolute;
	right: 0;
	top: 0;
	font-size: 4vh;
	height: 3vh;
	opacity: 0.5;
	z-index: 20;
}

section {
	visibility: hidden;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 1vh 1vw;
	background: #fff;
}

section.active {
	visibility: visible;
}

section.background-image {
	background-repeat: no-repeat;
	background-size: cover;
}

section.background-image > * {
	background: rgba(255, 255, 255, 0.7);
	color: #000;
	text-shadow: 1px 1px 0px #fff;
	padding: 0.1rem;
}

.fragment {
	opacity: 0.02;
	transition: opacity 0.2s ease-in;
}

.fragment.visible {
	opacity: 1;
}

