:root {
	--bg: #1d2021;
	--text: #fbf1c7;
	--accent: #98971a;
	--border: #7c6f64;
}

body {
	font-family: "VT323", monospace;
	background:
		repeating-linear-gradient(0deg,
			rgba(0, 0, 0, 0.05) 0px,
			rgba(0, 0, 0, 0.05) 1px,
			transparent 1px,
			transparent 2px),
		var(--bg);
	color: var(--text);
	margin: 0;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 1.6;
	letter-spacing: 2px;
	font-size: 18px;
	padding: 15px;
	box-sizing: border-box;
}

.container {
	background: var(--bg);
	border: 4px solid var(--border);
	padding: 25px;
	margin: 20px;
	max-width: 500px;
	width: 95%;
	box-shadow: 4px 4px 0 var(--border);
}

#home-form {
	margin-bottom: 100px;
}

h1 {
	color: var(--accent);
	text-align: center;
	border-bottom: 2px dotted var(--border);
	padding-bottom: 10px;
	margin-bottom: 15px;
	text-transform: uppercase;
	font-size: 28px;
}

form {
	display: flex;
	flex-direction: column;
}

label {
	margin-bottom: 6px;
	font-size: 20px;
}

input {
	background: var(--bg);
	color: var(--text);
	border: 2px solid var(--border);
	padding: 10px;
	margin-bottom: 12px;
	outline: none;
	font-family: "VT323", monospace;
	font-size: 20px;
}

input[type="submit"] {
	cursor: pointer;
	transition: all 0.3s;
	border-color: var(--accent);
	font-size: 22px;
	padding: 12px;
}

input[type="submit"]:hover {
	background: var(--accent);
	color: var(--bg);
}

.back-button {
	display: block;
	background: var(--bg);
	color: var(--text);
	border: 2px solid var(--accent);
	padding: 10px;
	margin: 15px auto;
	width: fit-content;
	font-family: "VT323", monospace;
	font-size: 22px;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s;
	box-shadow: 3px 3px 0 var(--border);
}

.back-button:hover {
	background: var(--accent);
	color: var(--bg);
}

.room-page {
	max-width: 90%;
	max-width: 1200px;
	padding: 20px;
	box-sizing: border-box;
}

.room-page .video-container {
	display: flex;
	flex-direction: column;
	gap: 15px;
	align-items: center;
}

.room-page video {
	width: 100%;
	max-width: 100%;
	border: 2px solid var(--border);
	background: #000;
	min-height: auto;
	object-fit: cover;
}

@media (min-width: 768px) {
	.room-page .video-container {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		gap: 20px;
	}

	.room-page video {
		width: calc(50% - 20px);
		max-width: 600px;
		min-height: 400px;
		object-fit: cover;
	}
}

.github-link {
	position: fixed;
	top: 10px;
	right: 10px;
	font-size: 16px;
	color: var(--text);
	background: inherit;
	padding: 8px 12px;
	border-radius: 3px;
	border: 1px solid var(--border);
	text-decoration: none;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 5px;
	z-index: 100;
}

.github-link:hover,
.github-link:focus {
	color: var(--accent);
	transform: translateY(-1px);
}

.project-feature {
	position: fixed;
	bottom: 10px;
	left: 10px;
	z-index: 100;
	font-size: 14px;
	background: inherit;
	color: var(--text);
	padding: 10px;
	border-radius: 3px;
	border: 1px solid var(--border);
}

.project-feature h2 {
	font-size: 16px;
	margin-top: 0;
	margin-bottom: 5px;
	color: var(--accent);
}

.project-feature ul {
	padding-left: 15px;
	margin-bottom: 0;
}

.project-feature li {
	margin-bottom: 3px;
	font-size: 14px;
}

.project-feature i {
	margin-right: 3px;
	color: var(--accent);
}

/* Adjustments for smaller screens */
@media (max-width: 600px) {
	body {
		font-size: 20px;
		padding: 20px;
	}

	.container {
		padding: 30px;
		box-shadow: 6px 6px 0 var(--border);
	}

	h1 {
		font-size: 30px;
		margin-bottom: 20px;
		padding-bottom: 12px;
		border-bottom: 3px dotted var(--border);
	}

	label {
		font-size: 22px;
		margin-bottom: 8px;
	}

	input,
	input[type="submit"],
	.back-button {
		font-size: 22px;
		padding: 12px;
		margin-bottom: 15px;
	}

	.github-link {
		font-size: 16px;
		padding: 8px 12px;
		top: 15px;
		right: 15px;
		border-width: 2px;
	}

	.project-feature {
		font-size: 14px;
		padding: 10px;
		bottom: 15px;
		left: 15px;
		border-width: 2px;
		margin-right: 15px;
		/* Added margin-right for mobile */
	}

	.project-feature h2 {
		font-size: 16px;
		margin-bottom: 5px;
	}

	.project-feature li {
		font-size: 14px;
	}
}

/* Adjustments for very small screens (optional) */
@media (max-width: 320px) {
	body {
		font-size: 18px;
		padding: 15px;
	}

	.container {
		padding: 20px;
		box-shadow: 4px 4px 0 var(--border);
	}

	h1 {
		font-size: 26px;
		margin-bottom: 15px;
		padding-bottom: 10px;
		border-bottom: 2px dotted var(--border);
	}

	label {
		font-size: 20px;
		margin-bottom: 6px;
	}

	input,
	input[type="submit"],
	.back-button {
		font-size: 20px;
		padding: 10px;
		margin-bottom: 12px;
	}

	.github-link {
		font-size: 14px;
		padding: 6px 10px;
		top: 10px;
		right: 10px;
		border-width: 1px;
	}

	.project-feature {
		font-size: 12px;
		padding: 8px;
		bottom: 10px;
		left: 10px;
		border-width: 1px;
		margin-right: 10px;
		/* Also added margin-right for very small screens */
	}

	.project-feature h2 {
		font-size: 14px;
		margin-bottom: 3px;
	}

	.project-feature li {
		font-size: 12px;
	}
}
