html,
body {
	margin: 0;
	padding: 0;
	
	font-family: sans-serif;
	font-size: 16px;
}

#wrapper {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
	
	background: radial-gradient(ellipse at center, rgba(68,72,67,1) 0%,rgba(255,255,255,1) 100%);
	
	width: 100%;
	height: 100vh;
}

#myearth {
	width: 100vw;
	height: 100vh;
	overflow: hidden;
}

@media (max-aspect-ratio: 1/1) {
	#myearth {
		max-height: 100vw;
	}
}

#icon-mousewheel {
	position: absolute;
	bottom: calc(5.8vh - 12px);
	left: calc(50% - 12px);
	z-index: 1;
	pointer-events: none;
	transition: opacity 1s ease;
}
.scrolled #icon-mousewheel {
	opacity: 0;
}

/* touch only */
@media not all and (pointer: fine), (-moz-touch-enabled) {
	#icon-mousewheel {
		display: none;
	}
}


.earth-overlay > div {
	border-left: 2px red solid;
	padding-top: 9em;
	width: 18em;
	opacity: 0;
	transform: scale(0.001);
	transition: transform 0.35s ease, opacity 0.35s ease;
	transform-origin: 0 0;
}
.earth-overlay.overlay-up > div {
	padding-top: 0;
	padding-bottom: 9em;
	transform-origin: bottom left;
}
.earth-overlay.overlay-appear > div {
	transform: scale(1);
	opacity: 1;
}

.info-box {
	margin-left: -1px;
	padding: 1.5em 2em;
	background-color: red;
	color: white;
}
.info-box a {
	color: inherit;
	pointer-events: all;
}

.info-box strong {
	font-family: serif;
	font-size: 1.5em;
}

.info-text {
	padding: 0.6em 0 1.2em 0;
	line-height: 140%;
}