/*Reset*/
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* End reset */

img {
	max-width: 100%;
}

h1 {
	font-size: 4rem;
	font-weight: bold;
	text-align: center;
}
@media (max-width: 48em) {
	h1 {
		font-size: 3rem;
		margin-bottom: 1rem;
	}
}
h2 {
	font-size: 2rem;
	margin-bottom: 2rem;
}
h1, h2 {
	font-family: 'Oswald', sans-serif;
}
p {
	line-height: 1.8;
	margin-bottom: 1rem;
}
.center {
	text-align: center;
}
em {
	font-style: italic;
}

body {
  font-family: 'helvetica', Arial, sans-serif;
	font-family: 'Open Sans', sans-serif;
  font-size: 16px;
}
.controls {
	min-height: 7rem;
  text-align: center;
  padding: 1rem;

}
button {
  border: 2px solid #000;
  background: #000;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 1.2rem;
	outline: 0;
  padding: .4rem .8rem;
  transition: all ease-in-out .2s;
}
button:hover {
  background: #fff;
  color: #000;
}

.message {display: none;}

.header-instructions, .header-restart-controls, .header-other-videos {
	display: none;
  font-weight: 100;
}
.header-restart-controls, .header-other-videos {
  display: none;
}
.restart-controls-text {
  display: inline-block;
}

/* Section Introduction */
.introduction-wrapper {
	background-color: #D8E4E8;
}
.introduction, .outro {
	margin: 0 auto;
	max-width: 50rem;
	padding: 5rem 2rem;
}
.introduction {
	padding-bottom: 2rem;
	padding-top: 2rem;
}
.introduction .subline {
	font-size: 1.4rem;
	font-weight: 100;
	margin-bottom: 2rem;
	text-align: center;
}
.introduction button {
	text-align: center;
}



/* Video intro */
.intro {
  background: rgb(0,0,0);
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  font-weight: bold;
	z-index: 1;
}
.intro span {
  bottom: 0;
  font-size: 3rem;
  height: 50px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
}

.intro .center {
	position: absolute;
	bottom: 1rem;
	width: 100%;
}

.controls, .videos, .no-mobile {
	background-color: rgb(129,144,161);
}
.videos, .supporter {
	padding: 2rem 0;
}
.video-container, .progress {
  margin: 0 auto;
  max-width: 60rem;
  position: relative;
}
.video-container:before {
  content: '';
  display: table;
}
.video-container:after {
  content: '';
  display: table;
  clear: both;
}

.video-wrapper {
  background-color: #000;
  position: relative;
  float: left;
  width: 33.33%;
}
.video-wrapper.active:nth-child(n+4):after {
	position: absolute;
	content: '';
	width: 10px;
	height: 10px;
	background: #d9203a;
	bottom: -15px;
	left: 50%;
	border-radius: 25px;
}
.video-wrapper.active:nth-child(-n+4):after {
	position: absolute;
	content: '';
	width: 10px;
	height: 10px;
	background: #d9203a;
	top: -15px;
	left: 50%;
	border-radius: 25px;
}
.video-ended:after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #000;
}

.player {
  width: 100%;
}
.players-1::before {
  content: "123";
  position: absolute;
  top: -10px;
}


/* the progress bar below the videos */
.progress {
	height: 0.3125rem;
	margin-top: 2rem;
}

.progress span {
	background-color: lightblue;
	display: block;
	height: 0.3125rem;
	width: 10%;
}

/* everything outro */
.outro-wrapper {
	background-color: rgb(67,67,70);
	color: #f4f4f4;
	font-size: 1.1rem;
	text-align: center;
}

.outro-wrapper p em {
	margin-top: 1rem;
}

.no-mobile {
	color: rgb(255,255,255);
	display: none;
	max-width: 100%;
	text-align: center;
	padding: 2rem;
}


/* supporter logos below */
.supporter-logos {
	margin-top: 2rem;
}

.supporter-logos h2 {
	text-align: center;
}

.supporter-logos-list {
	margin: 2rem auto 0;
	max-width: 30rem;
}

.supporter-logos-list:after {
	content: '';
	clear: both;
	display: table;
}

.supporter-logos-list-item {
	/*filter: grayscale(100%);*/
	opacity: .8;
	transition: all ease-in-out .5s;
}
.supporter-logos-list-item:hover {
	/*filter: grayscale(0%);*/
	opacity: 1;
}

.supporter-logos-list-item {
	float: left;
	width: 33%;
}

footer {
	color: #ccc;
	font-size: 0.8rem;
  text-align: center;
  font-weight: 100;
  margin-top: 5rem;
  padding-bottom: 2rem;
}
