@font-face {
	font-family: 'OldStandardTT';
	src: url(/assets/fonts/OldStandardTT-Regular.ttf);
	font-display: fallback;
}

body {
	font-family: 'OldStandardTT', serif;
	font-weight: 400;
	font-size: 1.25em;
	color: #333333;
	background-color: #f5f5f5;
	line-height: 1.5em;
	margin: 0;
}

#starsBox {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 1;
	z-index: -1;
}

#starsBox span {
	position: absolute;
	display: inline-block;
	width: auto;
	border-radius: 100%;
	transition: 100s linear;
}

#traveller_fadeIn {
	position: fixed;
	display: none;
	bottom: 0;
	width: 100%;
	padding: 12px 0 24px 0;
	background-color: #f5f5f5;
	z-index: 9999;
}

#traveller {
	color: #000000;
}

.distance {
	padding-left: 1em;
}

.km {
	font-size: 0.5em;
}

section {
	max-width: 920px;
	position: absolute;
}

#sun {
	top: 0;
}

#star {
	margin-top: 1.5em;
}

/*
Sun Reference Radius 695.700 / 360px = 1932,5
Factor 1932,5
*/

#mercury {
	top: 29961px;
	/* Mercury 57.900.000 */
}

#venus {
	top: 55990px;
	/* Venus 108.200.000 */
}

#oumuamua {
	top: 60026px;
	/* Oumuamua 116.000.000 */
}

#earth {
	top: 77413px;
	/* Earth 149.600.000 */
}

#mars {
	top: 117930px;
	/* Mars 227.900.000 */
}

#asteroidbelt {
	top: 154823px;
	/* Asteroid belt 299.196.000 */
}

#vesta {
	top: 182872px;
	/* Vesta 353.400.000 */
}

#juno {
	top: 206534px;
	/* Juno 399.127.000 */
}

#ceres {
	top: 213713px;
	/* Ceres 413.000.000 */
}

#pallas {
	top: 214430px;
	/* Pallas 414.386.000 */
}

#hygiea {
	top: 232235px;
	/* Hygiea 448.794.000 */
}

#jupiter {
	top: 402898px;
	/* Jupiter 778.600.000 */
}

#saturn {
	top: 741785px;
	/* Saturn 1.433.500.000 */
}

#uranus {
	top: 1486416px;
	/* Uranus 2.872.500.000 */
}

#neptune {
	top: 2326054px;
	/* Neptune 4.495.100.000 */
}

.mrgtop {
	margin-top: 200vh;
}

.mrgtop2 {
	margin-top: 50vh;
}

#lightmin1 {
	top: 9308px;
}

#planet1 {
	top: 26720px;
}

#nomenclature {
	top: 33280px;
}

#halfau {
	top: 38706px;
}

#kilometer100 {
	top: 51746px;
}

#binge {
	top: 100000px;
}

#kilometer200 {
	top: 103492px;
}

#kilometer1000 {
	top: 517464px;
}

#lightmin30 {
	top: 279237px;
}

.planet {
	padding: 0 2em;
}

.name {
	padding: 0 1em;
}

.text {
	padding: 0 2em;
}

h2 {
	font-size: 3em;
}

h3 {
	font-size: 1.5em;
}

a:link, a:hover, a:visited {
	text-decoration: underline;
	color: #333333;
}

.comet {
	position: fixed;
	left: 0;
	top: 0;
	z-index: -1;
	width: 100%;
	height: 100vh;
	pointer-events: none;
}

.comet i {
	position: absolute;
	--w: 2px;
	--h: 100px;
	--r: -55deg;
	--u: 10px;
	left: 0;
	top: 25%;
	width: 0;
	height: 0; 
	border: 1px solid transparent;
	border-width: 0 calc(var(--w) / 2) var(--h);
	border-bottom-color: #333333;
	border-radius: calc(var(--w) / 2);
	transform-origin: 50% 0;
	transform: rotate(var(--r)) translateY(var(--y, -100%)) scaleY(var(--s, 1));
	animation: comet 20s calc(30s + var(--d)) infinite linear; will-change: transform;
}

.comet i:nth-child(1) {
	--w: 1px;
	--h: 100px;
	--r: -75deg;
	--u: 10px;
	--d: 0s;
	left: 0;
	top: 25%;
}

.comet i:nth-child(2) {
	--w: 1px;
	--h: 100px;
	--r: 85deg;
	--u: 10px;
	--d: 12s;
	left: 100%;
	top: 45%;
}

@keyframes comet { 0% { transform: rotate(var(--r)) translateY(-100%) scaleY(1); opacity: 0.1; } 5% { transform: rotate(var(--r)) translateY(calc(var(--u) * 50)) scaleY(2); opacity: 0.25; } 10%, 100% { transform: rotate(var(--r)) translateY(calc(var(--u) * 100)) scaleY(1); opacity: 0; } }

@media (max-width: 32em) {
	body {
		line-height: normal;
	}
	
	.planet {
		padding: 0 1em;
	}

	.name {
		padding: 0 0.5em;
	}

	.text {
		padding: 0 1em;
	}

	#traveller_fadeIn {
		font-size: 1em;
	}
	
	.distance {
		padding-left: 0em;
	}
	
	.km {
		font-size: 0.5em;
	}
}