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

a {
	color: #ff0;
	text-decoration: none;
}

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;
	}
}
