body {
	margin: 0;
	background-color: #fff !important;
	color: #fff;
	font-family: Monospace;
	font-size: 13px;
	line-height: 24px;
	overscroll-behavior: none;
	overflow: auto !important;
	height: auto !important;
}

html {
	overflow: auto !important;
	height: auto !important;
}


a:hover {
	text-decoration: underline;
}

button {
	cursor: pointer;
	text-transform: uppercase;
}

#info {
	position: absolute;
	top: 0px;
	width: 100%;
	padding: 10px;
	box-sizing: border-box;
	text-align: center;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	z-index: 1;
}

a, button, input, select {
	pointer-events: auto;
}

.lil-gui {
	z-index: 2 !important;
}

@media all and ( max-width: 640px ) {
	.lil-gui.root { 
		right: auto;
		top: auto;
		max-height: 50%;
		max-width: 80%;
		bottom: 0;
		left: 0;
	}
}

#overlay {
	position: absolute;
	font-size: 16px;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background: rgba(0,0,0,0.7);
}

	#overlay button {
		background: transparent;
		border: 0;
		border: 1px solid rgb(255, 255, 255);
		border-radius: 4px;
		color: #ffffff;
		padding: 12px 18px;
		text-transform: uppercase;
		cursor: pointer;
	}

#notSupported {
	width: 50%;
	margin: auto;
	background-color: #f00;
	margin-top: 20px;
	padding: 10px;
}

.back-button {
	position: fixed;
	top: 20px;
	left: 20px;
	background: #c0c0c0;
	color: #000000;
	padding: 8px 16px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: none;
	border-radius: 0;
	cursor: pointer;
	position: relative;
	border: 2px solid #ffffff;
	border-right-color: #404040;
	border-bottom-color: #404040;
	box-shadow:
		inset 1px 1px 0 #dfdfdf,
		inset -1px -1px 0 #808080,
		0 0 0 1px #000000;
	transition: background-color .12s ease;
	z-index: 300;
	pointer-events: auto;
	text-decoration: none;
}

.back-button:hover {
	background: #dcdcdc;
}

.back-button:active {
	background: #b5b5b5;
	border-color: #404040;
	border-right-color: #ffffff;
	border-bottom-color: #ffffff;
	box-shadow:
		inset -1px -1px 0 #dfdfdf,
		inset 1px 1px 0 #808080,
		0 0 0 1px #000000;
}

/* Header responsive design */
@media (max-width: 768px) {
	.header-content {
		padding: 0 15px;
	}
	
	.nav {
		gap: 20px;
	}
	
	.nav a {
		font-size: 13px;
	}
	
	.logo {
		font-size: 20px;
	}
}

@media (max-width: 480px) {
	.header-content {
		flex-direction: column;
		gap: 15px;
		padding: 10px 15px;
	}
	
	.nav {
		gap: 15px;
	}
	
	.nav a {
		font-size: 12px;
	}
	
	.logo {
		font-size: 18px;
	}
}

/* Contact form specific styles */
.contact-form {
	background: lightgray;
	border: 2px inset lightgray;
	padding: 30px;
	margin: 40px 0;
}

.form-group {
	margin-bottom: 24px;
}

.form-label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: #000;
	margin: 0 0 8px 0;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.form-input,
.form-textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 16px;
	font-family: inherit;
	box-sizing: border-box;
	transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
	outline: none;
	border-color: #4a90e2;
	box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.form-textarea {
	min-height: 120px;
	resize: vertical;
}

.form-button {
	background: #c0c0c0;
	color: #000000;
	padding: 12px 24px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: none;
	border-radius: 0;
	cursor: pointer;
	border: 2px solid #ffffff;
	border-right-color: #404040;
	border-bottom-color: #404040;
	box-shadow:
		inset 1px 1px 0 #dfdfdf,
		inset -1px -1px 0 #808080,
		0 0 0 1px #000000;
	transition: background-color .12s ease;
}

.form-button:hover {
	background: #dcdcdc;
}

.form-button:active {
	background: #b5b5b5;
	border-color: #404040;
	border-right-color: #ffffff;
	border-bottom-color: #ffffff;
	box-shadow:
		inset -1px -1px 0 #dfdfdf,
		inset 1px 1px 0 #808080,
		0 0 0 1px #000000;
}


/* Responsive design for contact page */
@media (max-width: 768px) {
	.contact-form {
		padding: 20px;
		margin: 30px 0;
	}
	
	.form-input,
	.form-textarea {
		font-size: 16px; /* Prevent zoom on iOS */
	}
}

@media (max-width: 480px) {
	.contact-form {
		padding: 15px;
		margin: 20px 0;
	}
	
	.form-group {
		margin-bottom: 20px;
	}
	
	.form-label {
		font-size: 12px;
	}
}



@font-face {
	font-family: 'ff7';
	src: url('{{asset "fonts/publicsans/PublicSans-Regular.ttf"}}') format('truetype');
	font-display: swap;
}

html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}

canvas {
	pointer-events: none;
	overflow: hidden;
}

#homepage-ui {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	display: flex !important;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 200;
	pointer-events: auto;
	font-family: 'Arial Narrow', monospace;
	padding: 80px 20px 20px 20px;
	overflow: auto;
	box-sizing: border-box;
	visibility: visible !important;
}

.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid #000;
	z-index: 300;
	pointer-events: auto;
	padding: 15px 0;
}

.header-content {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 20px;
}

.logo {
text-decoration: none;
display: flex;
align-items: center;
}

.logo img {
height: 50px;
width: auto;
display: block;
filter: drop-shadow(1px 1px 5px black);
}

.nav {
	display: flex;
	gap: 30px;
}

.nav a {
	color: #000;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: color 0.3s ease;
}

.nav a:hover {
	color: #666;
}

.nav a.active {
	color: #4a90e2;
	font-weight: 700;
}

.about-window {
	max-width: 800px;
	width: 92%;
	max-height: calc(100vh - 120px);
	pointer-events: auto;
	background: #ffffff;
	border: 1px solid #101010;
	border-radius: 4px;
	position: relative;
	overflow: hidden;
	box-shadow:
		0 0 0 2px #000,
		0 0 0 4px #7aa7d9,
		0 0 0 6px #000,
		6px 6px 0 #00000020,
		12px 12px 0 #00000015;
	margin: 0 auto;
	margin-top: 24px;
	display: flex;
	flex-direction: column;
}

.about-window::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		repeating-linear-gradient(90deg, transparent 0 3px, rgba(0,0,0,0.02) 3px 4px),
		repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,0.02) 3px 4px);
	opacity: .7;
}

.window-scanlines {
	position: absolute;
	inset: 41px 0 22px 0;
	pointer-events: none;
	background: repeating-linear-gradient(0deg, rgba(0,0,0,0.06) 0 1px, transparent 1px 3px);
	animation: scanMove 4s linear infinite;
	opacity: .35;
}

@keyframes scanMove { 
	0% { background-position-y: 0; } 
	100% { background-position-y: 8px; } 
}

.window-titlebar {
	height: 40px;
	background: linear-gradient(to bottom, #e9eef3, #cfd6de);
	border-bottom: 2px solid #000;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 0 0 10px;
	box-shadow: inset 0 -2px 0 #7aa7d9, inset 0 2px 0 #ffffff;
}

.window-title {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #1d2935;
	text-shadow: 0 1px 0 #fff;
}

.window-controls {
	display: flex;
	gap: 6px;
	padding: 0 10px;
}

.window-control {
	width: 16px;
	height: 16px;
	border: 1px solid #2a2a2a;
	border-radius: 2px;
	background: #ffffff;
	display: grid;
	place-items: center;
	cursor: default;
	box-shadow: inset 0 -1px 0 #d5dbe3, inset 0 1px 0 #ffffff;
}

.window-control span {
	font-size: 10px;
	line-height: 1;
	color: #333;
}

.window-control:hover { 
	background: #eef3f8; 
}

.window-control:active { 
	border-color: #111; 
}

.window-control[title="Close"]:hover { 
	background: #f1d4d6; 
}

.window-control[title="Close"]:active { 
	background: #e9b3b8; 
}

.status-bar {
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 0 8px;
	border-top: 2px solid #000;
	background: repeating-linear-gradient(90deg, #e7eef6 0 6px, #dfe7f0 6px 12px);
	font-size: 10px;
	color: #1d2935;
}

.about-content-wrapper {
padding: 50px;
position: relative;
z-index: 1;
flex: 1;
overflow-y: auto;
overflow-x: hidden;
background: url('../images/cloud2.png') no-repeat center center;
background-size: cover;
}

.about-title {
font-size: 48px;
font-weight: 700;
color: #000;
margin: 0 0 24px 0;
font-family: 'Arial Narrow', monospace;
line-height: 1.1;
letter-spacing: -1px;
background: #c0c0c0;
padding: 16px 20px;
border: 2px outset #c0c0c0;
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
}

.about-subtitle {
font-size: 20px;
color: #000;
margin: 0 0 16px 0;
line-height: 1.5;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.about-content {
font-size: 17px;
color: #000;
line-height: 1.8;
font-weight: 400;
}

.about-content {
background: #d4d0c8;
color: #000 !important;
font-size: 17px !important;
font-family: Arial Narrow, monospace !important;
padding: 24px;
margin: 0 0 20px 0;
border: 2px inset #d4d0c8;
}

.content-block p {
margin: 0 0 20px 0;
}

.content-block p:last-child {
margin-bottom: 0;
}

.content-block ul {
margin: 16px 0;
padding-left: 24px;
}

.content-block li {
margin: 12px 0;
line-height: 1.7;
}

.content-block li:first-child {
margin-top: 0;
}

.content-block li:last-child {
margin-bottom: 0;
}

.newsletter-link {
color: #0000ee;
text-decoration: underline;
font-weight: 600;
}

.newsletter-link:hover {
color: #551a8b;
}

.newsletter-link:visited {
color: #551a8b;
}

.team-section {
margin: 24px 0 0 0;
padding: 20px;
background: #d4d0c8;
border: 2px inset #d4d0c8;
}

.team-section p {
margin: 10px 0;
line-height: 1.7;
color: #000;
}

.team-section p:first-of-type {
margin-top: 0;
}

.team-section p:last-of-type {
margin-bottom: 0;
}

.team-section p strong {
font-weight: 700;
color: #000;
}

/* Newsletter Section */
.newsletter-section {
margin: 40px 0;
}

.newsletter-window {
background: #ffffff;
border: 1px solid #101010;
border-radius: 4px;
position: relative;
overflow: hidden;
box-shadow:
0 0 0 2px #000,
0 0 0 4px #7aa7d9,
0 0 0 6px #000,
6px 6px 0 #00000020,
12px 12px 0 #00000015;
display: flex;
flex-direction: column;
}

.newsletter-window::after {
content: '';
position: absolute;
inset: 0;
pointer-events: none;
background:
repeating-linear-gradient(90deg, transparent 0 3px, rgba(0,0,0,0.02) 3px 4px),
repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,0.02) 3px 4px);
opacity: .7;
}

.newsletter-titlebar {
height: 32px;
background: linear-gradient(to bottom, #e9eef3, #cfd6de);
border-bottom: 2px solid #000;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 0 0 10px;
box-shadow: inset 0 -2px 0 #7aa7d9, inset 0 2px 0 #ffffff;
position: relative;
z-index: 2;
}

.newsletter-titlebar-title {
font-size: 11px;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
color: #1d2935;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex: 1;
margin-right: 10px;
text-shadow: 0 1px 0 #fff;
}

.newsletter-titlebar-buttons {
display: flex;
gap: 4px;
padding: 0 8px;
}

.newsletter-titlebar-button {
width: 14px;
height: 14px;
border: 1px solid #2a2a2a;
border-radius: 2px;
background: #ffffff;
display: grid;
place-items: center;
cursor: default;
box-shadow: inset 0 -1px 0 #d5dbe3, inset 0 1px 0 #ffffff;
font-size: 9px;
line-height: 1;
color: #333;
}

.newsletter-content {
padding: 36px;
text-align: center;
position: relative;
z-index: 2;
background: #ffffff;
}

.newsletter-title {
font-size: 24px;
font-weight: 700;
color: #000;
margin: 0 0 12px 0;
text-transform: uppercase;
letter-spacing: 1px;
}

.newsletter-description {
font-size: 15px;
color: #444;
line-height: 1.6;
margin: 0 0 24px 0;
}

.newsletter-form {
display: flex;
gap: 12px;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}

.newsletter-input {
padding: 14px 18px;
border: 2px solid #000;
border-radius: 4px;
font-size: 14px;
min-width: 250px;
font-family: inherit;
box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1);
}

.newsletter-input:focus {
outline: none;
border-color: #7aa7d9;
box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1), 0 0 0 3px rgba(122, 167, 217, 0.2);
}

.newsletter-button {
background: #c0c0c0;
color: #000000;
padding: 14px 28px;
font-size: 14px;
font-weight: 700;
border: none;
cursor: pointer;
font-family: inherit;
text-transform: uppercase;
letter-spacing: 0.5px;
border-radius: 4px;
border: 2px outset #c0c0c0;
box-shadow:
inset 1px 1px 0 #dfdfdf,
inset -1px -1px 0 #808080,
0 0 0 1px #000000;
}

.newsletter-button:hover {
background: #dcdcdc;
}

.newsletter-button:active {
background: #b5b5b5;
border-color: #404040;
border-right-color: #ffffff;
border-bottom-color: #ffffff;
box-shadow:
inset -1px -1px 0 #dfdfdf,
inset 1px 1px 0 #808080,
0 0 0 1px #000000;
}

.newsletter-status-bar {
height: 22px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
padding: 0 8px;
border-top: 2px solid #000;
background: repeating-linear-gradient(90deg, #e7eef6 0 6px, #dfe7f0 6px 12px);
font-size: 10px;
color: #1d2935;
}


/* Responsive design */
@media (max-width: 768px) {
.about-content-wrapper {
	padding: 30px 20px;
}

.content-block,
.team-section {
padding: 20px;
}

.about-title {
padding: 12px 16px;
}

.newsletter-content {
padding: 28px;
}
	
	.about-title {
		font-size: 36px;
	}
	
	.about-subtitle {
		font-size: 20px;
	}
	
	.about-content {
		font-size: 16px;
	}
	
	.team-section {
		margin-top: 30px;
		padding-top: 30px;
	}
}

@media (max-width: 480px) {
	.header-content {
		flex-direction: column;
		gap: 15px;
		padding: 10px 15px;
	}
	
	.nav {
		gap: 15px;
	}
	
	.nav a {
		font-size: 12px;
	}
	
	.logo {
		font-size: 18px;
	}
	
.about-content-wrapper {
	padding: 20px 15px;
}

.content-block,
.team-section {
padding: 16px;
}

.about-title {
padding: 10px 14px;
font-size: 32px;
}

.newsletter-content {
padding: 20px;
}

.newsletter-input {
min-width: 200px;
}
	
	.about-title {
		font-size: 28px;
	}
	
	.about-subtitle {
		font-size: 18px;
	}
	
	.about-content {
		font-size: 15px;
	}
	
	.team-section {
		margin-top: 20px;
		padding-top: 20px;
	}
}