/* Do you remember when I said that "style.css" was gonna be global for all pages and it would have everything I ever needed? */
/* Well that was a fucking lie. */

/* About - 2026 */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Lucida Sans", "Helvetica", sans-serif;
	background: #000;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	overflow: hidden;
}

#desktop-container {
	width: 1024px;
	height: 820px;
	background-image: url("backgroundpattern.png");
	position: relative;
	overflow: hidden;
}

/* toolchest (top LEFT) */
.toolchest {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 105px;
	height: 133px;
	background-image: url('toolchest.png');
	background-size: 100% 100%;
}

.toolchest-menu {
	position: absolute;
	top: 31px;
	left: 7px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-style: italic;
}

.toolchest-item {
	font-size: 12px;
	cursor: pointer;
}

.toolchest-item a {
	color: inherit;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-grow: 1;
}

.toolchest-item a:visited {
	color: inherit;
}

.console-icon {
	position: absolute;
	top: 10px;
	left: 120px;
	cursor: pointer;
}

.desktop-icons {
	position: absolute;
	right: 20px;
	top: 10px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	align-items: center;
}

.desktop-icon {
	text-align: center;
	cursor: pointer;
	width: 80px;
}

.desktop-icon-img {
	width: auto;
	height: auto;
	margin: 0 auto 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
}

.desktop-icon-label {
	font-size: 11px;
	color: #fff;
	text-shadow: 1px 1px 2px #000;
	font-style: italic;
}

/* windows (not the one by micro$oft) */
.window {
	position: absolute;
	background: transparent;
	border: none;
	width: 600px;
	height: 400px;
	display: none;
}

.window.active {
	display: block;
}

.window::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('blankwindowtemplate.png');
	background-size: 100% 100%;
	pointer-events: none;
	z-index: 10;
}

.window-titlebar {
	display: none;
}

.window-menubar {
	display: none;
}

.window-title {
	font-size: 13px;
	font-style: italic;
	color: #000;
	flex-grow: 1;
	margin-left: 8px;
}

.window-controls {
	position: absolute;
	top: 10px;
	left: 13px;
	z-index: 11;
	display: flex;
	gap: 4px;
	order: -1;
}

.window-btn {
	width: 16px;
	height: 16px;
	border: none;
	background: transparent;
	cursor: pointer;
	font-size: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	color: transparent;
}

.window-btn:hover {
	background: transparent;
}

.window-content {
	position: absolute;
	left: 8px;
	top: 32px;
	width: 584px;
	height: 360px;
	background: #aabbcc;
	padding: 10px;
	overflow-y: auto;
	overflow-x: hidden;
	z-index: 5;
	white-space: pre-wrap;
}

#main-window .window-content {
	white-space: normal;
}

.window-content h2 {
	margin-bottom: 15px;
	font-size: 18px;
	color: #000044;
}

.window-content p {
	margin-bottom: 12px;
	line-height: 1.5;
}

.window-content img {
	max-width: 50%;
	margin: 10px 0;
}

/* main window stuff handler */
#main-window {
	background: transparent;
	border: none;
	width: 626px;
	height: 508px;
	top: 50px;
	left: 200px;
	position: absolute;
}

#main-window::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('dtoolwm.png');
	background-size: 100% 100%;
	pointer-events: none;
	z-index: 10;
}

#main-window .window-titlebar,
#main-window .window-menubar {
	display: none;
}

#main-window .window-content {
	position: absolute;
	left: 41px;
	top: 61px;
	width: 555px;
	height: 367px;
	background: #aabbcc;
	padding: 10px;
	overflow-y: auto;
	overflow-x: hidden;
	z-index: 5;
}

/* move around close button kinda important */
#main-window .window-controls {
	position: absolute;
	top: 10px;
	left: 13px;
	z-index: 11;
	display: flex;
	gap: 4px;
}

.icon-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px;
	padding: 10px;
}

.grid-icon {
	text-align: center;
	cursor: pointer;
}

.grid-icon-img {
	margin: 0 auto 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.grid-icon-label {
	font-size: 11px;
	color: #000;
	font-style: italic;
}

/* command prompt or terminal */
.terminal-window {
	position: absolute;
	background: transparent;
	border: none;
	width: 600px;
	height: 400px;
	display: none;
}

.terminal-window.active {
	display: block;
}

.terminal-window::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('terminal.png');
	background-size: 100% 100%;
	pointer-events: none;
	z-index: 10;
}

.terminal-window .window-controls {
	position: absolute;
	top: 10px;
	left: 13px;
	z-index: 11;
	display: flex;
	gap: 4px;
}

.terminal-window .window-content {
	position: absolute;
	left: 26px;
	top: 32px;
	width: 566px;
	height: 360px;
	background: #000040;
	color: #ffffff;
	font-family: 'Courier New', monospace;
	font-size: 16px;
	padding: 10px;
	overflow-y: auto;
	overflow-x: hidden;
	z-index: 5;
       scrollbar-width: none; /* Firefox */
       -ms-overflow-style: none; /* IE/Edge */
}

.terminal-window .window-content::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

@keyframes blink {

	0%,
	50% {
		opacity: 1;
	}

	51%,
	100% {
		opacity: 0;
	}
}

/* CRT STUFF UNDER BELOW DOWN DOWN */
/* CRT STUFF UNDER BELOW DOWN DOWN */
/* CRT STUFF UNDER BELOW DOWN DOWN */
/* CRT STUFF UNDER BELOW DOWN DOWN */
/* CRT STUFF UNDER BELOW DOWN DOWN */
/* CRT STUFF UNDER BELOW DOWN DOWN */
/* CRT STUFF UNDER BELOW DOWN DOWN */

#desktop-container::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 9999;
/* scanlines */
	background: repeating-linear-gradient(0deg,
	rgba(0, 0, 0, 0.15) 0px,
	rgba(0, 0, 0, 0.15) 1px,
	transparent 0.2px,
	transparent 2px);
/* the black glow around the screen also called a vignette see i know my fancy names */
	box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.3);
}

/* blur-brightness b00st */
#desktop-container {
	filter: brightness(1.1) contrast(1.05);
}

#desktop-container > * {
	filter: blur(0.5px);
}

/* she's got curves. i wish i had curves too. */
#desktop-container {
	border-radius: 15px;
}