
main {
	top: 0px;
	overflow: hidden;
}

section > header {
	display: block;
	width: 512px;
	height: auto;
	margin: 0px auto;
	padding: 128px 0px;
	box-sizing: content-box;
}

section > header {
	position: absolute;
	top: 50%;
	right: auto;
	bottom: auto;
	left: 50%;
	transform: translate(-50%, -50%);
}

section > header svg {
	display: block;
	width: 128px;
	height: 128px;
	margin: 0px auto 32px auto;
	padding: 0px;
	border: 0px solid transparent;
}

section > header h1 {
	display: block;
	position: relative;
	margin: 0px;
	padding: 0px;
	font-family: 'crystalline';
	font-size: 48px;
	font-weight: 500;
	line-height: 64px;
	text-align: center;
	text-transform: uppercase;
}

section > header > div {
	text-align: center;
}

section > header > div > h2 {
	display: block;
	position: relative;
	margin: 0px;
	padding: 0px;
	font-family: 'crystalline';
	font-size: 24px;
	font-weight: 400;
	line-height: 32px;
	text-transform: uppercase;
}

@supports(display: grid) {

	section > header > h1:before {
		content: 'Tholian Network';
	}

	section > header > div > h2:nth-of-type(1):before {
		content: 'Automated Peer-to-Peer Cyber Defense';
	}

	section > header > div > h2:nth-of-type(2):before {
		content: 'Be correct; we do not tolerate deceit.';
	}

	section > header > h1:before,
	section > header > div > h2:before {
		position: absolute;
		top: 0px;
		left: 50%;
		width: 100%;
		color: #ffffff;
		transform: translate(-50%, 0px);
		animation: glitch 10s infinite alternate-reverse;
		animation-timing-function: step-start;
		text-shadow: 0px 0px transparent;
		text-overflow: hidden;
		overflow: hidden;
		transition: unset;
	}

	section > header > h1:before {
		height: 32px;
	}

	section > header > div > h2:before {
		height: 32px;
		animation-delay: 50ms;
	}

	section > header > div > h2 {
		display: none;
	}

	section > header > div > h2.active {
		display: block;
	}

	@keyframes glitch {
		  0% { transform: translate(calc(-50% + 0px),  0px); text-shadow:  0px 0px transparent; }
		  1% { transform: translate(calc(-50% + 0px),  2px); text-shadow: -2px 0px #ff00c1; }
		  2% { transform: translate(calc(-50% + 4px),  2px); text-shadow:  2px 0px #ff00c1; }
		  3% { transform: translate(calc(-50% - 4px), -2px); text-shadow:  0px 0px transparent; }
		 50% { transform: translate(calc(-50% + 0px),  0px); text-shadow:  0px 0px transparent; }
		 51% { transform: translate(calc(-50% + 0px),  2px); text-shadow:  2px 0px #00ffc1; }
		 52% { transform: translate(calc(-50% + 4px),  2px); text-shadow: -2px 1px #00ffc1; }
		 53% { transform: translate(calc(-50% - 4px), -2px); text-shadow:  0px 0px transparent; }
		 54% { transform: translate(calc(-50% + 0px),  0px); text-shadow:  0px 0px transparent; }
		 97% { transform: translate(calc(-50% + 0px),  0px); text-shadow:  0px 0px transparent; }
		 98% { transform: translate(calc(-50% + 0px),  2px); text-shadow: -1px 2px #c100ff; }
		 99% { transform: translate(calc(-50% + 4px),  2px); text-shadow:  0px 0px transparent; }
		100% { transform: translate(calc(-50% - 4px), -2px); text-shadow:  0px 0px transparent; }
	}

}

section > header p {
	display: block;
	width: 512px;
	margin: 64px auto 0px auto;
	font-family: 'museo';
	font-size: 20px;
	font-weight: normal;
	text-align: center;
}

main > footer {
	display: block;
	position: fixed;
	top: auto;
	right: 0px;
	bottom: 0px;
	left: 0px;
}



@media screen and (max-width: 560px) {

	section > header {
		width: auto;
	}

	section > header p {
		width: auto;
	}

}



@media screen and (max-height: 800px) {

	section > header {
		padding: 64px 0px;
	}

}

