html, body {
	height: 100%;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

body {
	font-family: sans-serif ;
	background: url('/Test.jpg');
	background-size: cover;
	color: #e0e0e0 ;
	line-height: 1.6;
}

main {
	max-width: 800px ;
	margin: auto ;
	padding: 0 1rem;
}

img {
	max-width: 100% ;
	height: auto;
}

header h1 {
	text-align: left ;
	color: #e0e0e0;
	margin-bottom: 1rem;
	background: #556b2f;
	padding: 1rem;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

footer {
	text-align: center ;
	clear: both ;
	margin-top: 2rem;
	padding: 1rem 0;
	border-top: 1px solid #556b2f;
	background: #054122;
	border-radius: 8px;
	margin-bottom: 1rem;
}

/* Navigation styles */
nav {
	margin-bottom: 2rem;
	background: #556b2f;
	padding: 1rem;
	border-radius: 20px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

nav a {
	color: #e0e0e0;
	text-decoration: none;
	padding: 0.5rem 1rem;
	border-radius: 4px;
	transition: background-color 0.2s;
	border: 2.5px solid #8fbc8f;
}

nav a:hover,
nav a.menuactive {
	background-color: #6b8e23;
	border-width: 3.5px;
}

/* For TAGLIST.HTML */
.taglist {
	text-align: center ;
	clear: both ;
	margin-top: 2rem;
	background: #556b2f;
	padding: 1rem;
	border-radius: 20px;
}

.taglist a {
	color: #e0e0e0;
	text-decoration: none;
	padding: 0.25rem 0.5rem;
	margin: 0.25rem;
	background-color: #6b8e23;
	border-radius: 3px;
	display: inline-block;
}

.taglist a:hover {
	background-color: #8fbc8f;
}

/* For NEXTPREV.HTML */
#nextprev {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 18px solid #556b2f;
	background: #556b2f;
	padding: 1rem;
	border-radius: 18px;
}

#prevart {
	text-align: left;
	flex: 1;
}

#nextart {
	text-align: right;
	flex: 1;
}

#nextart,#prevart {
	max-width: 100%;
}

#nextart a, #prevart a {
	color: #e0e0e0;
	text-decoration: none;
}

#nextart a:hover, #prevart a:hover {
	text-decoration: underline;
}

/* Game terminal styling */
.tycoon-terminal {
	background: #000000 !important;
	color: #ffffff !important;
	border: 2px solid #556b2f !important;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
	outline: 2px solid #8fbc8f;
	outline-offset: 2px;
}

/* Skip link for screen readers */
.skip-link {
	position: absolute;
	top: -40px;
	left: 6px;
	background: #556b2f;
	color: #e0e0e0;
	padding: 8px;
	text-decoration: none;
	z-index: 1000;
}

.skip-link:focus {
	top: 6px;
}

/* Article styling */
article {
	background: rgba(58,58,58,0.92);
	padding: 3rem;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.3);
	margin-bottom: 1rem;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
	color: #8fbc8f;
}

/* Links */
a {
	color: #8fbc8f;
}

a:hover {
	color: #9acd32;
}

/* Code blocks */
pre, code {
	background: #1a1a1a;
	border: 1px solid #556b2f;
	border-radius: 4px;
}

/* Blockquotes */
blockquote {
	border-left: 4px solid #556b2f;
	background: #3a3a3a;
	padding: 1rem;
	margin: 1rem 0;
	border-radius: 4px;
}
