/* Generic */

html, body {
	color: #444;
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	font-family: monospace;
	background-color: #008080;
	cursor: url(data:application/cur;base64,AAACAAEAICAAAAAAAAAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAAAEAAAAAAAAAAAAAAgAAAAIAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYAAAAGAAAADAAAAAwAAAAYAAABGAAAAbAAAAHwAAAB/gAAAfwAAAH4AAAB8AAAAeAAAAHAAAABgAAAAQAAAAAAAAAAAAAAA//////////////////////////////////////////////////////////////////////5////8P////D////h///94f///MP///xD///8B////AB///wA///8Af///AP///wH///8D////B////w////8f////P////3////8=), auto;
	overflow: hidden;
}

p {
	margin: 0;
}

a {
	text-decoration: none;
	color:#444;
	cursor: url(data:application/cur;base64,AAACAAEAICAAAAoACgAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAAAAAAAAB/gAAAf4AAAP/AAAD/wAAB/8AAAf/gAAP/4AAC/+AABv/gAA7/4AAM/2AAANtgAADbQAAA2wAAANgAAADAAAAAwAAAAMAAAADAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA///////AD///wA///8AP//+AB///gAf//wAH//8AA//+AAP//gAD//wAA//4AAP/+AAD//iAA///gAf//4AP//+AP///gf///4f///+H////h////4f////P//////////////////////////////////////////////////8=), auto;
	
}

*, *:before, *:after {
	box-sizing: border-box;
}

* {
	user-select: none;
}

.underline {
	text-decoration: underline;
}

.full {
	z-index: 10;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #000;
	display: none;
}

.click {
	cursor: url(data:application/cur;base64,AAACAAEAICAAAAoACgAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAAAAAAAAB/gAAAf4AAAP/AAAD/wAAB/8AAAf/gAAP/4AAC/+AABv/gAA7/4AAM/2AAANtgAADbQAAA2wAAANgAAADAAAAAwAAAAMAAAADAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA///////AD///wA///8AP//+AB///gAf//wAH//8AA//+AAP//gAD//wAA//4AAP/+AAD//iAA///gAf//4AP//+AP///gf///4f///+H////h////4f////P//////////////////////////////////////////////////8=), auto;
}

.disabled {
	cursor: url(data:application/cur;base64,AAACAAEAICAAAAoACgAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPwAAAMDAAAEAIAACHhAABGGIAAiBBAAJAiQAEQRiABIIkgASERIAEiISABJEEgARiCIACRAkAAggRAAEYYgAAh4QAAEAIAAAwMAAAD8AAAAAAAA////////////////////////////////////////////////////////////A////AD///gAf//wAD//4Hgf/8H4D//D8A//g+AH/4fBh/+Hg4f/hweH/4YPh/+AHwf/wD8P/8B+D//geB//8AA///gAf//8AP///wP///////8=), auto;
}

.drag {
	cursor: url(data:application/cur;base64,AAACAAEAICAAAAoACgAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAABQAAAAiAAAAQQAAAICAAAD3gAADFGAABRRQAAkUSAAR98QAIAACABH3xAAJFEgABRRQAAMUYAAA94AAAICAAABBAAAAIgAAABQAAAAIAAA////////////////////////////////////////////////////////////3////4////8H///+A////AH///wB///zjn//444//8OOH/+AAA//AAAH/4AAD//Djh//444///OOf//8Af///AH///4D////B////4/////f//8=), auto;
}

.hourglass {
	cursor: url(data:application/cur;base64,AAACAAEAICAAAAoACgAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/4AAAAAAAACqgAAA1YAAAOuAAAD3gAAAfwAAADYAAAAcAAAACAAAAAgAAAAUAAAAPgAAAHcAAADrgAAA1YAAAP+AAAD/gAAAAAAAAP+AAAAAAAA//////////////////////////////////////////////////////AAf//wAH//8AB///gA///4AP//+AD///gA///4AP///AH///4D////B////wf///4D///8Af//+AD///gA///4AP//+AD///gA///wAH//8AB///AAf/8=), auto;
}

/* Desktop */

.desktop-app {
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 0;
	margin: 10px;
	font-size: 10px;
	align-items: center;
	z-index: 0;
}

.desktop-app img {
	width: 40px;
	margin-left: -10px;
}

.desktop-app p {
	margin: 5px 0;
	color: white;
	padding: 2px;
	border: 1px solid transparent;
	z-index: 0;
}

/* Taskbar */

footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 35px;
	background: #bfbfbf;
	display: flex;
	align-items: center;
	z-index: 4;
	overflow: hidden;
}

.taskbar-button {
	border-top: 1px solid #e0e0e0;
	border-left: 1px solid #e0e0e0;
	display: flex;
	align-items: center;
	height: 24px;
	box-shadow: 1px 1px 1px 0.5px #555;
	margin: 0 3px 2px 3px;
}

.taskbar-button a {
	display: flex;
	align-items: center;
}

.taskbar-button:hover {
	border-bottom: 1px solid #e0e0e0;
	border-right: 1px solid #e0e0e0;
	box-shadow: inset 1px 1px 1px 0.5px #555;
}

.taskbar-button svg {
	width: 22px;
	height: 22px;
	margin: 10px 3px;
}

.taskbar-button img {
	width: 18px;
	height: 18px;
	margin: 6px;
	filter: brightness(0%)
}

.taskbar-button #email {
	width: initial;
	display: none;
}

.taskbar-button p {
	margin: 0 5px 0 0;
	font-size: 18px;
}

.taskbar-inset {
	border-bottom: 1px solid #e0e0e0;
	border-right: 1px solid #e0e0e0;
	display: flex;
	align-items: center;
	height: 24px;
	box-shadow: inset 1px 1px 1px 0.5px #555;
	margin: 0 6px 0 3px;
	margin-left: auto;
}

.taskbar-inset p {
	margin: 0 5px;
	font-size: 18px;
}

/* Notepad */

#notepad {
	margin: 0 auto;
	margin-top: 30px;
	width: 650px;
	height: calc(100vh - 5vh - 100px);
	margin-bottom: 85px;
	border: 4px solid #d3d1c5;
	border-top: 3px solid #d3d1c5;
	z-index: 3;
	position: relative;
	background: red;
}

#notepad-title {
	height: 25px;
	background-image: linear-gradient(90deg,navy,#1084d0);
	display: flex;
	align-items: center;
}

#notepad-icon {
	height: 16px;
	width: 16px;
	margin: 0 0 0 4px;
}

#notepad-title p {
	font-weight: bold;
	color: white;
	font-size: 14px;
	margin: 0 4px;
}

#notepad-controls {
	margin-left: auto;
	margin-right: 4px;
	display: flex;
	gap: 4px;
}

#notepad-controls div {
	text-align: center;
	margin: 0;
	width: 15px;
	height: 15px;
	background-color: #bfbfbf;
	border-top: 1px solid #e0e0e0;
	border-left: 1px solid #e0e0e0;
	box-shadow: 1px 1px 1px 0.5px #555;
}

#notepad-alt {
	display: flex;
	background-color: #bfbfbf;
	font-size: 14px;
	gap: 8px;
	padding-bottom: 2px;
}

#notepad-alt a {
	padding: 3px;
	border: 1px solid transparent;
}

#notepad-alt a:hover {
	border-top: 1px solid #e0e0e0;
	border-left: 1px solid #e0e0e0;
	border-bottom: 1px solid #444;
	border-right: 1px solid #444
}

main {
	overflow-y: scroll;
	box-shadow: -2px -2px 1px 0.5px #555;
	background: white;
	padding: 5px;
	display: flex;
	flex-direction: column;
	height: calc(100% - 50px);
}

.post {
	display: flex;
	margin: 10px auto;
	font-family: monospace;
	background-color: #ddd;
	border-top: 1px solid #e0e0e0;
	border-left: 1px solid #e0e0e0;
	box-shadow: 1px 1px 5px 0px #555;
	max-width: 611px;
}

.post:hover {
	margin: 10px auto;
	background: #f4f4f4;
}

.post img {
	height: 125px;
	width: 125px;
	align-self: center;
}

.post-header {
	display: flex;
}

.post-content {
	width: 100%;
	padding: 0 4px;
}

.post h2 {
	width: 86%;
	margin: 6px;
	display: inline;
	font-size: 20px;
}

.post time {
	margin: 6px;
	min-width: 50px;
}

.post p {
	font-size: 16px;
	line-height: 1.2;
	text-align: justify;
	margin: 6px;
	margin-top: 0;
}

main pre {
	text-align: center;
	margin: 0;
	padding: 0;
}

/* Easter Egg - BSOD */

#bsod-container {
	background-color: #0078d7;
	align-items: center;
}

#bsod {
	max-width: 60%;
	margin-left: 10%;
	color: white;
	font-family: sans-serif;
}

#bsod-sad {
	font-size: 120px;
}

.bsod-desc {
	font-size: 30px;
	line-height: 1.4em;
	margin: 20px 0;
}

#bsod img {
	width: 100px;
	height: 100px;
}

#bsod-flex {
	display: flex;
}

#bsod-flex p {
	margin-left: 20px;
	font-size: 14px;
}

/* Easter Egg - Lock the Taskbar */

#taskbah {
	display: none;
	position: absolute;
	background-color: #bfbfbf;
	z-index: 5;
}

#taskbah img {
	width: 16px;
	height: 16px;
	border: 1px solid black;
	padding: 3px;
}

#taskbah audio {
	display: none;
}

/* Easter Egg - Delete PC Load Letter */

#pc-delete-container p {
	font-size: 40px;
	color: #0f0;
	animation: blink 1.5s step-start 1s infinite;
	margin: 20px;
}

#delete-computer {
	display: none;
	position: absolute;
	background-color: #bfbfbf;
	z-index: 4;
}

@keyframes blink {
	50% {
		opacity: 0.0;
	}
}

/* Easter Egg - Shutdown 502 */

#start-menu {
	position: absolute;
    bottom: 35px;
	left: -3px;
	background: #bfbfbf;
	display: none;
	z-index: 5;
}

#start-menu img {
	filter: brightness(100%)
}

#shutdown-container {
	background-color: #fff;
}

#shutdown-container iframe {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}

/* Tablet */

@media screen and (max-width: 930px) {
	.hide-tablet {
		display: none;
	}

	#bsod {
		max-width: 80%;
	}

	#bsod-sad {
		font-size: 25px;
	} 

	.bsod-desc {
		font-size: 18px;
	} 
}

/* Mobile */

@media screen and (max-width: 750px) {
	#notepad {
		width: 100%;
		position: relative !important;
		top: 0 !important;
		left: 0 !important;
		margin: 0;
		height: calc(100% - 35px);
	}

	#notepad-title p {
		font-size: 12px;
		font-family: sans-serif
	}

	main {
		max-height: calc(100% - 45px);
	}

	.post img {
		width: 100px;
		height: 100px;
	}

	.hide-mobile {
		display: none;
	}

	#bsod {
		max-width: 80%;
	}

	.bsod-desc {
		font-size: 24px;
	}
}
