/* 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%;
}

body {
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: #5cbce5;
	color: rgba(0,0,0,0.8);
	line-height: 1.5;
	font-family: 'Helvetica Neue', 'Arial', serif;
	font-size: 100%;
	text-align: left;
}

a {
	color: #ffffff;
	text-decoration: underline;
}

a:visited {
	color: #ffffff;
}

a:hover {
	text-decoration: none;
}

img {
	border: 0 none transparent;
}

input, select, table, textarea, a.button {
	color: #464749;
	font-size: 100%;
	font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	-webkit-appearance: none;
}




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

#eclipses {
	position: absolute;
	left: 0;
	top: 0;
	list-style: none;
}

#eclipses li {
	position: absolute;
	left: 50px;
	top: 50px;
	width: 20px;
	height: 20px;
}

#eclipses li:after {
	content: '';
	position: absolute;
	right: 50%;
	top: 0;
	width: 350%;
	height: 100%;
	background-image: linear-gradient(to left, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%);
}

.half {
	position: absolute;
	left: 0;
	top: 0;
	width: 50%;
	height: 100%;
	overflow: hidden;
}

.half + .half {
	left: 50%;
}

.half .inner {
	position: absolute;
	left: 0;
	top: 0;
	width: 200%;
	height: 100%;
	border-radius: 100%;
	background-color: rgba(0,0,0,0.5);
}

.half + .half > .inner {
	left: -100%;
	background-color: #ffffff;
}

p {
	position: absolute;
	left: 50%;
	top: 50%;
	padding: 1em;
	max-width: 50%;
	border-radius: 0.4em;
	background-color: rgba(0,0,0,0.5);
	color: #ffffff;
	text-align: center;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.moving p {
	animation: fade-out 1s linear forwards;
}

@keyframes fade-out {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

#attribution {
	position: fixed;
	right: 0;
	bottom: 0;
	z-index: 100;
	border-top-left-radius: 0.4em;
	padding: 1em;
	background-color: rgba(0,0,0,0.5);
	font-size: 70%;
	text-transform: uppercase;
}