/* ==========================================================================
   The Burning Fire — the ascent
   ========================================================================== */

@keyframes spin {
	0%   { transform: rotate(0deg);   }
	100% { transform: rotate(360deg); }
}

@keyframes tbf-thrust {
	0%, 100% { text-shadow: 0 0 8px var(--ember), 0 0 18px var(--ember-edge); }
	50%      { text-shadow: 0 0 14px var(--ember-bright), 0 0 30px var(--ember-edge); }
}

#spacePanel {
	float: none !important;
	position: absolute !important;
	top: calc(-1 * var(--panel-h));
	left: 0;
	width: var(--panel-w);
	height: var(--panel-h);
	overflow: hidden;
}

#starsContainer {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
}

#stars, #starsBack {
	position: absolute;
	z-index: -1;
	left: 0;
}

#stars > div,
#starsBack > div {
	position: relative;
	height: 3000px;
	width: 3000px;
	color: var(--ink-strong);
	font-family: var(--font-mono);
}

#starsBack { opacity: 0.45; }

.star { position: absolute; }

#ship {
	cursor: default;
	position: absolute;
	margin-top: -10px;
	margin-left: -7.5px;
	font-family: var(--font-mono);
	font-size: 22px;
	color: var(--ember-hot);
	text-shadow: 0 0 8px var(--ember), 0 0 18px var(--ember-edge);
	will-change: left;
}

@media (prefers-reduced-motion: no-preference) {
	#ship { animation: tbf-thrust 1.1s ease-in-out infinite; }
}

.asteroid {
	cursor: default;
	position: absolute;
	top: -40px;
	left: 350px;
	animation: 1s linear 0s normal none infinite spin;
	font-size: 30px;
	font-family: var(--font-mono);
	color: var(--ink-dim);
	will-change: top;
}

#hullRemaining {
	width: 90px;
	position: absolute;
	top: 8px;
	left: 10px;
	color: var(--blood);
	z-index: 5;
}

#theEnd {
	position: relative;
	cursor: default;
	top: 200px;
	margin-left: -220px;
	text-align: center;
	font-size: 26px;
	font-weight: bold;
	letter-spacing: 0.16em;
	opacity: 0;
	color: var(--ink-strong);
}

.centerCont { padding-top: 10%; }

.endGame {
	font-size: 46px;
	color: var(--ink-strong);
	letter-spacing: 0.06em;
	opacity: 0;
	position: relative;
}

.endGameOption {
	font-size: 28px;
	cursor: pointer;
	color: var(--ink-dim);
	transition: color 0.18s ease;
}

.endGameOption:hover {
	color: var(--ember);
	text-decoration: none;
}
