body {
	margin: 0;
	background: url('assets/bg.png') repeat;
	font-family: 'MS Sans Serif', 'Arial', sans-serif;
	height: 100vh;
	overflow: hidden;
	position: relative;
}

#desktop {
	position: relative;
	width: 100vw;
	height: 100vh;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-items: flex-start;
	padding: 32px;
	gap: 24px 0;
	height: calc(100vh - 50px);
	max-height: calc(100vh - 50px);
	overflow-y: auto;
}

.icon {
	width: 90px;
	text-align: center;
	cursor: pointer;
	user-select: none;
	transition: filter 0.2s;
	background: none;
	border: none;
	box-shadow: none;
	padding: 0;
	margin: 0 8px;
}

.icon img {
	width: 64px;
	height: 64px;
	margin-bottom: 6px;
	filter: drop-shadow(1px 1px 0 #000);
}

.icon span {
	display: block;
	font-size: 1rem;
	color: #fff;
	font-family: 'MS Sans Serif', 'Arial', sans-serif;
	text-shadow: 1px 1px 0 #000;
	margin-top: 2px;

	white-space: nowrap;
}

.icon {
	position: relative;
}

.icon-tooltip {
	position: absolute;
	left: 100%;
	top: 0;
	margin-left: 10px;

	background: #ffffe1;
	color: #000;
	border: 1px solid #000;
	padding: 6px 8px;

	font-size: 0.85rem;
	font-family: 'MS Sans Serif', 'Arial', sans-serif;
	box-shadow: 2px 2px 0 #000;

	white-space: nowrap;
	z-index: 100;
	display: none;
}

.icon:hover .icon-tooltip {
	display: block;
}

.icon.selected {
	background: rgba(110, 168, 255, 0.308);
	outline: 2px dotted #fff;
	outline-offset: 4px;
}



.window {
	position: absolute;
	top: 120px;
	left: 120px;
	width: 400px;
	min-height: 220px;
	background: #e5e5e5;
	border-radius: 0;
	box-shadow: 4px 4px 0 #000, 8px 8px 0 #888;
	border: 2px solid #fff;
	outline: 2px solid #2563eb;
	z-index: 10;
	display: flex;
	flex-direction: column;
	resize: both;
	overflow: auto;
}

.window-header {
	background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
	color: #fff;
	padding: 6px 12px;
	border-bottom: 2px solid #fff;
	cursor: move;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: 'MS Sans Serif', 'Arial', sans-serif;
	font-size: 1rem;
}

.window-title {
	font-weight: bold;
	letter-spacing: 0.5px;
}

.window-close {
	background: none;
	color: #fff;
	border: 2px solid #888;
	border-radius: 0;
	width: 22px;
	height: 22px;
	font-size: 1.1rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 2px 2px 0 #000;
	font-family: 'MS Sans Serif', 'Arial', sans-serif;
	text-shadow: 1px 1px 0 #000;
	outline: none;
}

.window-content {
	padding: 16px;
	color: #222;
	flex: 1;
	overflow-y: auto;
	font-family: 'MS Sans Serif', 'Arial', sans-serif;
	font-size: 1rem;
}

@media (max-width: 600px) {
	#desktop {
		padding: 8px;
		gap: 8px;
	}

	.window {
		width: 95vw;
		left: 2vw;
		top: 60px;
		min-width: 180px;
	}
}

#taskbar {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 40px;
	/* adjust as needed */
	background-color: #C0C0C0;
	/* Windows 95 gray */
	border-top: 2px solid #808080;
	/* darker gray border */
	display: flex;
	align-items: center;
	padding: 0 5px;
	box-sizing: border-box;
	z-index: 1000;
}

#start-btn {
	background: #e5e5e5;
	color: #222;
	font-family: 'MS Sans Serif', 'Arial', sans-serif;
	font-size: 1rem;
	border: 2px outset #fff;
	border-radius: 1px;
	padding: 4px 18px;
	cursor: pointer;
	box-shadow: 1px 1px 0 #000;
	height: 28px;
	display: flex;
	align-items: center;
}

#start-btn:active {
	border: 2px inset #2563eb;
}

#taskbar-windows {
	display: flex;
	align-items: center;
	flex: 1;
	height: 100%;
	overflow-x: auto;
}

.taskbar-window-btn {
	background: #e5e5e5;
	color: #222;
	font-family: 'MS Sans Serif', 'Arial', sans-serif;
	font-size: 0.8rem;
	border: 2px outset #fff;
	border-radius: 3px;
	margin: 0 4px;
	padding: 2px 14px;
	cursor: pointer;
	box-shadow: 1px 1px 0 #000;
	height: 100%;
	display: flex;
	align-items: center;
}

.taskbar-window-btn.active {
	background: #2563eb;
	color: #fff;
	border: 2px inset #888;
}