}
/* GENERAL ========================================= */

/* Zero default margin & padding around common elements */
article, blockquote, body, dd, dl, dt, fieldset, figure, form, h1, h2, h3, h4, h5, h6, header, li, menu, nav, ol, p, section, ul {
	margin: 0;
	border: 0 none #FFFFFF;
	padding: 0;
}

html {
	height: 100%;
	overflow: hidden;
	font-size: 1vmin;
}

@media (max-width: 70rem) {
	html {
		font-size: 0.68vmax;
	}
}

@media (max-width: 800px) {
	html {
		font-size: 0.7vmin;
	}
}

body {
	height: 100%;
	overflow: hidden;
	background-color: #1f2054;
	color: #ffffff;
	line-height: 0.9;
	font-family: 'Roboto Mono', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	text-align: center;
	font-weight: 300;
}

a {
	color: #0099cc;
	text-decoration: underline;
}

a:visited {
	color: #9966cc;
}

a:hover {
	text-decoration: none;
}

img {
	border: 0 none transparent;
}

input, select, table, textarea {
	color: #3f4652;
	font-size: 100%;
	font-family: 'Roboto Mono', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}




/* CONTENT ========================================= */

#intro {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 1;
	width: 80%;
	max-width: 30em;
	font-size: 21px;
	text-align: left;
	line-height: 1.4;
	transform: translate(-50%, -50%);
	transition: opacity 0.3s linear;
}

@media (max-width: 800px) {
	#intro {
		font-size: 16px;
	}
}

body.timeParam #intro {
	transition: none;
}

#intro.off {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s linear;
}

h1 {
	margin: 0;
	font-size: 200%;
	line-height: 1.1;
}

h2 {
	font-size: 100%;
}

p {
	margin: 1.4em 0 0 0;
}

#celebrationLink,
#celebrationLink:visited {
	color: #ffffff;
	text-decoration: none;
	border-bottom: 1px dotted rgba(255,255,255,0.5);
}

#celebrationLink:hover {
	border-bottom-color: rgba(255,255,255,0);
}

form {
	margin: 1.4em 0 0 0;
}

fieldset {
	display: inline;
	margin: 0 0 0 0;
	padding: 0;
	border: 0 none transparent;
	white-space: nowrap;
}

select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	height: 2.5em;
	box-sizing: border-box;
	border: 5px solid #ffffff;
	padding: 0.3em;
	background-color: #ffffff;
}

fieldset:first-of-type {
	margin-right: 0.2em;
}

fieldset {
	margin-bottom: 0.6em;
}

fieldset + fieldset select {
	margin-left: -0.45em;
}

fieldset + fieldset select:first-child {
	margin-left: 0;
	margin-right: -0.5em;
}

input[type=submit] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	height: 2.5em;
	box-sizing: border-box;
	margin-left: 0.2em;
	border: 5px solid #FA824C;
	border-radius: 0.25em;
	background-color: #FA824C;
	color: #ffffff;
	cursor: pointer;
}

#aboutLink {
	position: fixed;
	right: 21px;
	bottom: 21px;
	color: #ffffff;
	font-size: 21px;
	opacity: 1;
	transition: opacity 0.3s linear;
}

@media (max-width: 800px) {
	#aboutLink {
		right: 16px;
		bottom: 16px;
		font-size: 16px;
	}
}

body.timeParam #aboutLink {
	transition: none;
}

#aboutLink.off {
	opacity: 0;
	transition: opacity 0.5s linear;
}

#menuLink {
	position: fixed;
	left: 21px;
	top: 21px;
	z-index: 10;
	font-size: 21px;
	opacity: 0.25;
	transition: 0.3s linear;
	pointer-events: none;
}

@media (max-width: 800px) {
	#menuLink {
		left: 16px;
		top: 16px;
		font-size: 16px;
	}
}

body.timeParam #menuLink {
	transition: none;
}

#menuLink.on {
	opacity: 1;
	transition: 0.5s linear;
	pointer-events: inherit;
}

#menuLink a {
	position: relative;
	padding-left: 1.3em;
	text-decoration: none;
	color: rgba(255,255,255,0.25);
	transition: color 0.5s linear;
}

.moving #menuLink a {
	color: rgba(255,255,255,1);
	transition: color 0.15s linear;
}

#menuLink a:hover,
.moving #menuLink a:hover {
	color: #FA824C;
}

#menuLink a:before {
	content: '\2261';
	position: absolute;
	left: 0;
	top: 50%;
	color: rgba(255,255,255,0.25);
	transform: translateY(-50%);
	transition: color 0.5s linear;
}

.moving #menuLink a:before {
	color: rgba(255,255,255,1);
	transition: color 0.15s linear;
}

#menuLink a:hover:before,
.moving #menuLink a:hover:before {
	color: #FA824C;
}

#content {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 146.5rem;
	height: 100rem;
	text-transform: uppercase;
	transform: translate(-50%, -50%);
	opacity: 0.05;
	transition: opacity 0.3s linear;
}

body.timeParam #content {
	transition: none;
}

#content.on {
	opacity: 1;
	transition: opacity 0.8s linear;
}

div {
	position: absolute;
	left: 100%;
	top: 100%;
	white-space: nowrap;
}

strong {
	display: block;
	position: relative;
	font-weight: 700;
}

em {
	display: block;
	position: relative;
	font-style: normal;
}

.jumpingLetter {
	position: absolute;
	top: 0;
	z-index: 1;
	animation: darken 2s ease-out;
}

@keyframes darken {
	0% {
		filter: brightness(1);
	}
	100% {
		filter: brightness(0.65);
	}
}

#days {
	left: 3rem;
	top: 2rem;
	font-size: 70rem;
	line-height: 0.85;
}

#days em {
	font-size: 51.5%;
	letter-spacing: -0.07em;
	text-indent: -0.06em;
}

#hours {
	left: 87rem;
	top: 3.4rem;
	font-size: 46.3rem;
}

#hours em {
	font-size: 36%;
}

#minutes {
	left: 89.7rem;
	top: 62.3rem;
	font-size: 22rem;
}

#minutes em {
	font-size: 48%;
}

#seconds {
	left: 121rem;
	top: 62.7rem;
	font-size: 15rem;
	line-height: 0.98;
}

#seconds em {
	font-size: 40%;
	letter-spacing: 0.07em;
}

#milliseconds {
	left: 122rem;
	top: 86.6rem;
	font-size: 5.2rem;
}

#milliseconds strong {
	display: inline-block;
}

#milliseconds em {
	display: inline-block;
}


