body {
	background: black;
	color: #eee;
	text-align: center;
	font: 18px Lato, sans-serif;
}
input, button, a.button {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: #333;
	color: inherit;
	padding: 0.5em;
	border: 0;
	outline: 0;
	border-radius: 4px;
	font: inherit;
	text-decoration: none;
}
a {
	color: inherit;
}


#loading {
	animation: disappear 0.2s 7s 1 forwards;
}
@keyframes disappear {
	to { opacity: 0; }
}
#loading strong {
	position: fixed;
	left: calc(50vw - 3em);
	bottom: 50dvh;
	font-family: monospace;
}
#loader-squiggly {
	position: absolute;
	top: 50dvh;
	right: 0;
	width: 70vw;
	height: calc(70vw / 5);
}
#loader-squiggly path#bar {
	fill: none;
	stroke: white;
	stroke-width: 2px;
	stroke-dasharray: 137.8; /* path.getTotalLength() */
	stroke-dashoffset: 137.8;
	stroke-linecap: square;
	animation: loader-squiggly 5.5s cubic-bezier(.8,0,1,.8) 1s 1 forwards;
}
#loader-squiggly path#bar-bg {
	fill: none;
	stroke: #333;
	stroke-width: 2px;
	stroke-linecap: square;
}
@keyframes loader-squiggly {
	to { stroke-dashoffset: 0; }
}


#animated-v {
	display: block;
	margin: 1em auto;
	width: 200px;
	height: 200px;
	stroke-linecap: round;
	stroke-linejoin: round;
	filter: drop-shadow(0 0 5px white);
	animation: shine 2s 3s 1 forwards;
}
@keyframes shine {
	50% { filter: drop-shadow(0 0 5px white) drop-shadow(0 0 10px white); }
	100%{ filter: drop-shadow(0 0 5px white); }
}
#animated-v path {
	fill: none;
	stroke: white;
	stroke-width: 4px;
}
#v_segment	{ stroke-dasharray:230; stroke-dashoffset:230; animation:draw 1.5s ease-in 7s 1 forwards; }
#upper_segment	{ stroke-dasharray:30; stroke-dashoffset:30; animation:draw 0.2s linear 8.6s 1 forwards; }
#lower_segment	{ stroke-dasharray:109; stroke-dashoffset:109; animation:draw 1.2s ease-out 8.9s 1 forwards; }
@keyframes draw {
	to { stroke-dashoffset:0; }
}
#v_segment.undraw,
#upper_segment.undraw,
#lower_segment.undraw {
	animation: undraw 2s 0s 1 forwards;
}
@keyframes undraw {
	from { stroke-dashoffset: 0; }
	to   { stroke-dashoffset: 300; stroke-dasharray: 300; }
}
#wrapper {
	visibility: hidden;
	max-width: 600px;
	margin: 2em auto;
	opacity: 0;
	transition: all 0.5s;
	animation: appear 0.5s 8s 1 forwards;
}
#wrapper.undraw {
	animation: none;
	opacity: 0;
}
@keyframes appear {
	to { visibility: visible; opacity: 1; }
}


@media screen and (min-width:700px) {
	main {
		position: fixed;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
	}
}