html,
body {
	margin: 0;
	padding: 0;
	background: black;
	color: white;
	font-family: sans-serif;
}

.label {
	font-family: sans-serif;
	font-size: 15px;
	text-shadow: 0 2px 2px black;
	text-align: center;
	line-height: 130%;
	transform: translate(-50%, 100%);
}

.hotspot {
	display: block;
	width: 3em;
	height: 3em;
	cursor: pointer;
	border-radius: 50%;
	pointer-events: all;
	transform: translate(-50%, -50%);
}
.hotspot::before {
	content: "";
	position: absolute;
	left: 0.75em;
	top: 0.75em;
	width: 1.5em;
	height: 1.5em;
	opacity: 0.5;
	background-color: white;
	border-radius: 50%;
}
.hotspot:hover::before {
	opacity: 1;
}

.hotspot::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 1.5em;
	height: 1.5em;
	border: 1px white solid;
	opacity: 0.8;
	border-radius: 50%;
	transform: translate(-50%, -50%) scale(1);
	animation: pulse 3s infinite;
}

.hotspot + .hotspot::after {
	animation-delay: 1.5s;
}

@keyframes pulse {
	0% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
	50%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(2.5); }
}

#res {
	width: 0;
	height: 0;
	overflow: hidden;
}


#myearth {
	width: 100%;
	height: 100vh;
	max-height: 100vw;
	overflow: hidden;
	opacity: 0;
	transition: opacity 2s ease;
}
#myearth.earth-ready {
	opacity: 1;
}

#myearth::before {
	content: none;
}


#atmos {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	max-width: 100vh;
	height: 100vh;
	max-height: 100vw;
	transform: translate(-50%, -50%);
	
	background: radial-gradient(ellipse at center, rgba(200,230,255,0) 40%,rgba(130,195,255,0.2) 49%,rgba(33,63,255,0.05) 50.5%,rgba(18,0,255,0) 64%);
	z-index: 1200;
	pointer-events: none;
}


#info {
	height: 2em;
	margin-top: -3em;
	font-size: 11px;
	text-align: center;
	box-sizing: border-box;
	padding: 0 2em;
}


#controls {
	height: 5em;
	margin-top: -5.1em;
	position: relative;
	z-index: 200;
}

@media (max-width: 719px) {
	#controls {
		margin-top: -2em;
	}
}


#sun-slider {
}
#sun-slider-wrap {
	position: relative;
	margin: 0 auto;
	width: 20em;
	max-width: 80%;
	box-sizing: border-box;
}

#sun-slider-wrap::before {
	content: "";
	background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNNC4wNjkgMTNoLTQuMDY5di0yaDQuMDY5Yy0uMDQxLjMyOC0uMDY5LjY2MS0uMDY5IDFzLjAyOC42NzIuMDY5IDF6bTMuMDM0LTcuMzEybC0yLjg4MS0yLjg4MS0xLjQxNCAxLjQxNCAyLjg4MSAyLjg4MWMuNDExLS41MjkuODg1LTEuMDAzIDEuNDE0LTEuNDE0em0xMS4yMDkgMS40MTRsMi44ODEtMi44ODEtMS40MTQtMS40MTQtMi44ODEgMi44ODFjLjUyOC40MTEgMS4wMDIuODg2IDEuNDE0IDEuNDE0em0tNi4zMTItMy4xMDJjLjMzOSAwIC42NzIuMDI4IDEgLjA2OXYtNC4wNjloLTJ2NC4wNjljLjMyOC0uMDQxLjY2MS0uMDY5IDEtLjA2OXptMCAxNmMtLjMzOSAwLS42NzItLjAyOC0xLS4wNjl2NC4wNjloMnYtNC4wNjljLS4zMjguMDQxLS42NjEuMDY5LTEgLjA2OXptNy45MzEtOWMuMDQxLjMyOC4wNjkuNjYxLjA2OSAxcy0uMDI4LjY3Mi0uMDY5IDFoNC4wNjl2LTJoLTQuMDY5em0tMy4wMzMgNy4zMTJsMi44OCAyLjg4IDEuNDE1LTEuNDE0LTIuODgtMi44OGMtLjQxMi41MjgtLjg4NiAxLjAwMi0xLjQxNSAxLjQxNHptLTExLjIxLTEuNDE1bC0yLjg4IDIuODggMS40MTQgMS40MTQgMi44OC0yLjg4Yy0uNTI4LS40MTEtMS4wMDMtLjg4NS0xLjQxNC0xLjQxNHptMi4zMTItNC44OTdjMCAyLjIwNiAxLjc5NCA0IDQgNHM0LTEuNzk0IDQtNC0xLjc5NC00LTQtNC00IDEuNzk0LTQgNHptMTAgMGMwIDMuMzE0LTIuNjg2IDYtNiA2cy02LTIuNjg2LTYtNiAyLjY4Ni02IDYtNiA2IDIuNjg2IDYgNnoiLz48L3N2Zz4=) center center no-repeat;
	position: absolute;
	top: calc(50% - 1em);
	left: -1.5em;
	width: 2em;
	height: 2em;
	background-size: 60%;
}

#sun-slider-wrap::after {
	content: "";
	position: absolute;
	top: 50%;
	border-top: 1px white solid;
	left: 10px;
	right: 2px;
}


#sun-slider {
	-webkit-appearance: none; /* Hides the slider so that custom slider can be made */
	width: 100%; /* Specific width is required for Firefox. */
	background: transparent; /* Otherwise white in Chrome */
	display: block;
	height: 1em;
}

#sun-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
}

#sun-slider:focus {
	outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}

#sun-slider::-ms-track {
	width: 100%;
	cursor: pointer;

	/* Hides the slider so custom styles can be added */
	background: transparent; 
	border-color: transparent;
	color: transparent;
}


#sun-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	height: 24px;
	width: 24px;
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	cursor: grab;
}

/* All the same stuff for Firefox */
#sun-slider::-moz-range-thumb {
	height: 24px;
	width: 24px;
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	cursor: grab;
}

/* All the same stuff for IE */
#sun-slider::-ms-thumb {
	height: 24px;
	width: 24px;
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	cursor: grab;
}