/* Silkscreen */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Silkscreen:wght@400;700&display=swap');

/* Press Start 2P */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/*
	Aerial by HTML5 UP
	html5up.net | @ajlkn
	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/

html, body, div, span, applet, object,
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;}



body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

	blockquote:before, blockquote:after, q:before, q:after {
		content: '';
		content: none;
	}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

mark {
	background-color: transparent;
	color: inherit;
}

input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input, select, textarea {
	appearance: none;
}

/* Basic */

	html {
		box-sizing: border-box;
	}

	*, *:before, *:after {
		box-sizing: inherit;
	}

	body {
		background: #13182e;
	}

	body, input, select, textarea {
		color: #fff;
		font-family: 'Press Start 2P', 'SilkScreen', system-ui;
		font-size: 15pt;
		font-weight: 300 !important;
		letter-spacing: -0.025em;
		line-height: 1.75em;
	}

	a {
		transition: border-color 0.2s ease-in-out;
		color: inherit;
	}

		a:hover {
			border-color: blueviolet;
		}

	img {
		width: 100%;
		height: auto;
		background: black;
	}
	
/* Basically Bootstrap */

	.flex-row {
		display: flex;
		flex-direction: row;
	}
	
/* Icon */

	.icon {
		align-self: center;
		margin-left: 1em;
		
	}



/* BG */
	
	#simple-bg {
		background: #13182e;
		height: 100%;
		width: 100%;
		position: fixed;
	}

	#bg {
		animation: bg 60s linear infinite;
		backface-visibility: hidden;
		transform: translate3d(0,0,0);
	/* Set your background with this */

		background: #161616 url("/pixelbg.jpg") bottom left;
		background-repeat: repeat;
		height: 100%;
		left: 0;
		opacity: 1;
		position: fixed;
		top: 0;
	}

	@keyframes bg {
		0% {
			transform: translate3d(0,0,0);
		}

		100% {
			transform: translate3d(-1250px,0,0);
		}
	}

	#bg {
		background-size: 1250px auto;
		width: 6750px;
	}

/* Overlay */

	@keyframes overlay {
		0% {
			opacity: 0;
		}

		100% {
			opacity: 1;
		}
	}

	#overlay {
		animation: overlay 1s 1.5s forwards;
		background-attachment: fixed, fixed;
		background-image: url("images/overlay-pattern.png"), url("images/overlay.svg");
		background-position: top left, center center;
		background-repeat: repeat, no-repeat;
		background-size: auto, cover;
		height: 100%;
		left: 0;
		opacity: 0;
		position: fixed;
		top: 0;
		width: 100%;
	}

/* Main */

	#main {
		height: 100%;
		width: 100%;
		display: flex;
		text-align: center;
		flex-direction: column;
		position: fixed;
		margin: 0;
		overflow: auto;
	}

/* Nav */
	#nav {
		display:flex;
		flex-direction: row;
		justify-content: center;
		margin-top: .5em;
	}
	#nav a {
		font-family:'Silkscreen', 'Press Start 2P', system-ui;
		font-size: 1.5em;
		color: white;
		margin-left: 1em;
		margin-right: 1em;
		margin-top: .3em;
		transition: color 0.5s ;
	}

	/* Mobile Nav */
	@media (max-width: 400px) {
		#nav a {
			font-size: medium;
			text-decoration: underline;

		}
	}
	#nav a:hover {
		color: lightskyblue;
	}
	
	#nav #active {
		color: lightskyblue;
	}


/* Header */

	@keyframes header {
		0% {
			transform: translate3d(0,1em,0);
			opacity: 0;
		}

		100% {
			transform: translate3d(0,0,0);
			opacity: 1;
		}
	}

	@keyframes nav-icons {
		0% {
			transform: translate3d(20em,0,0);
			opacity: 0;
		}

		100% {
			transform: translate3d(0,0,0);
			opacity: 1;
		}
	}

	#header {
		animation: header 2s forwards;
		backface-visibility: hidden;
		transform: translate3d(0,0,0);
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		text-align: center;
		opacity: 0;
		position: relative;
		width: 100%;
	}

		#header h1 {
			font-size: 4.35em;
			font-weight: 700;
			letter-spacing: -0.035em;
			line-height: 1em;
			font-family: 'Silkscreen';
			margin: 1em
		}

		#header p {
			font-family:'Press Start 2P', 'Silkscreen', system-ui;
			font-size: 1.25em;
			margin: 0.75em 0 0.25em 0;
			opacity: 0.75;
			align-self:center;
		}


/* Section */

	section h1 {
		font-family: 'Press Start 2P', 'Silkscreen', system-ui;
		font-size: 2.5em;
		margin-top: 1em;
		margin-bottom: .5em;
		line-height: 1.2em;
	}

	.start-row {
		display: flex;
		flex-direction: row;
		justify-content: flex-start;
		gap: 2em;
	}
	.start-row p {
		text-align: start;
		font-size: 1em;
		max-width: 35em;
		
	}
	.start-row img {
		width: clamp(200px, 100%, 20em);
		border: 4px solid white;
		align-self: start;
	}

	@media (max-width: 500px) {
		.start-row {
			flex-direction: column-reverse;
		}
	}

	.center-row {
		display: flex;
		flex-direction: row;
		flex-wrap:wrap;
		justify-content: center;
		gap: 2em;
		margin-bottom: 3em;
	}
	
	/* Services */

	.service {
		border: 5px white solid;
		max-width: 650px;
		min-height: 250px;
		margin: auto;
		text-align: start;
	}

	.service h2 {
		font-size: 1.2em;
		padding: .5em;
	}

	.service p {
		padding: .5em;
		font-size: medium;
		height: 100%;
	}

	.service-header {
		padding-top: .7em;
		padding-bottom: .7em;
		border-bottom: 5px white solid;
		gap: .5em;
	}

/* Footer */

	#footer {
		font-family: 'Silkscreen';
		text-align: center;
		width: 100%;
		margin-top: auto;
		padding-top: 25px;
	}

/* Wide */

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

		/* Basic */

			body, input, select, textarea {
				font-size: 13pt;
			}

		/* BG */

		@keyframes bg {
			0% {
				transform: translate3d(0,0,0);
			}

			100% {
				transform: translate3d(-1500px,0,0);
			}
		}

		#bg {
			background-size: 1500px auto;
			width: 4500px;
		} }

/* Normal */

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

		/* Basic */

			body, input, select, textarea {
				font-size: 12pt;
			}

		/* BG */

		@keyframes bg {
			0% {
				transform: translate3d(0,0,0);
			}

			100% {
				transform: translate3d(-750px,0,0);
			}
		}

		#bg {
			background-size: 750px auto;
			width: 2250px;
		} }

/* Mobile */

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

		/* Basic */

			body {
				min-width: 320px;
			}

			body, input, select, textarea {
				font-size: 11pt;
			}

		/* BG */

		@keyframes bg {
			0% {
				transform: translate3d(0,0,0);
			}

			100% {
				transform: translate3d(-300px,0,0);
			}
		}

		#bg {
			background-size: 300px auto;
			width: 900px;
		}

	/* Header */

		#header h1 {
			font-size: 2.5em;
		}

		#header p {
			font-size: 1em;
		}
	}

/* Mobile (Portrait) */

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

		/* BG */

		@keyframes bg {
			0% {
				transform: translate3d(0,0,0);
			}

			100% {
				transform: translate3d(-412.5px,0,0);
			}
		}

		#bg {
			background-size: 412.5px auto;
			width: 1237.5px;
		}
	}