﻿@import url(https://fonts.googleapis.com/css?family=Droid+Sans:400,700);

:root {
	--bg: #020305;
	--star: #d9f5ff;
	--accent: #64dfff;
	--edge: #9feaff;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html,
body {
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: var(--bg);
	color: white;
	font-family: "Droid Sans", arial, verdana, sans-serif;
}

a {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

#space {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
}

.container {
	position: relative;
	z-index: 10;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100vh;
}

#monoliths {
	display: flex;
	gap: 28px;
	margin-bottom: 70px;
	align-items: flex-end;
	opacity: 0.50;
	z-index: 10;
	perspective: 1400px;
	perspective-origin: 50% 100px;
	transform-style: preserve-3d;
	animation: drift 14s ease-in-out infinite;
}

.digit {
	font-size: min(34vw, 380px);
	font-weight: 900;
	line-height: 0.78;
	color: #060606;
	-webkit-text-stroke: 3.6px #9feaff;
	transform-origin: 50% 100%;
	perspective-origin: top;
	transform: rotateX(26deg) scaleY(1.95);
	text-shadow: 0 0 1px #c8f4ff, 0 0 12px rgba(120, 220, 255, .24), 0 0 28px rgba(90, 210, 255, .22), 0 16px 28px rgba(0, 0, 0, .55);
	filter: drop-shadow(0 0 10px rgba(80, 220, 255, .12)) drop-shadow(0 0 34px rgba(80, 220, 255, .1));
}

#monoliths {
	display: flex;
	gap: 40px;
	margin-bottom: 60px;
	perspective: 1200px;
}

.shooting-star {
	stroke: white;
	stroke-width: 1.5;
	stroke-linecap: round;
	opacity: .85;
}

.message {
	text-align: center;
	max-width: none; /* allow one-line paragraph */
	z-index: 100;
}

	.message h1 {
		display: none;
	}

	.message h2 {
		letter-spacing: .35em;
		font-size: .75rem;
		font-weight: 600;
		color: #9fdfff;
		margin-bottom: 16px;
	}

	.message p {
		color: #b4c3cf;
		line-height: 1.7;
		margin-bottom: 25px;
		white-space: nowrap; /* keep sentence on one unbroken line */
	}

	.message a {
		color: white;
		text-decoration: none;
		border: 1px solid rgba(150,240,255,.35);
		padding: 12px 24px;
		border-radius: 999px;
		transition: .25s;
	}

		.message a:hover {
			background: rgba(100,220,255,.12);
			box-shadow: 0 0 20px rgba(100,220,255,.15);
		}

/* animation */
@keyframes drift {
	0% {
		transform: translateY(0px);
	}

	50% {
		transform: translateY(-12px);
	}

	100% {
		transform: translateY(0px);
	}
}

@keyframes sway {
	0% {
		rotate: -1deg;
	}

	50% {
		rotate: 1deg;
	}

	100% {
		rotate: -1deg;
	}
}
