@font-face {
  font-family: "PixelOperator";
  src: url("PixelOperatorMonoHB.ttf");
}

body {
	margin: 0;
	color: white;
	font-family: "PixelOperator", monospace;
	background: #79addd;
	background-image: url('img/bg.jpg');
	background-repeat: no-repeat;
	background-size: cover;
}

body::before {
	content: "";
	display: block;
	position: fixed;
	left: 0;
	top: 0;
	width: calc(100% + 32px);
	height: calc(100% + 32px);
	background-image: url("img/scanlines.png");
	background-position: 0 0;
	background-repeat: repeat;
	z-index: 10000000;

	animation: scanLinesFrames 1s linear infinite;
	pointer-events: none;
	opacity: 0.8;
}

.center {
	margin: 0 auto;
}

.win {
	border-style: outset;
	border-top-color: #ffffff;
	border-left-color: #ffffff;
	border-bottom-color: #000000;
	border-right-color: #000000;
	overflow: hidden;
}

.win-in{
	border-style: inset;
	border-top-color: #000000;
	border-left-color: #000000;
	border-bottom-color: #ffffff;
	border-right-color: #ffffff;
}

.window {
	position: absolute;

}

.taskbar {
	background: #aaaaaa;
	height: 2em;
	vertical-align:middle;
	color: black;
}

.taskbar > * > img {
	height: 1.5em;
}

.taskbar > * {
	margin: 0.2em;
}

.taskbar > * > img {
	vertical-align: middle;
	height: 1.5em;
}

.taskbar-right{
	float: right;
	padding-right: 0.5em;
	padding-left: 0.5em;
}

.window-title{
	background: #0000cc;
	text-align: left;
	padding: 0.25em;
	cursor: move;
}

.window-title > img {
	height: 1em;
	padding-right: 0.5em;
}

.window-title-buttons {
	float: right;
}

.window-title-buttons > button {
	width: 2em;
	height: 1.75em;
	font-size: 0.75em;
}

@keyframes scanLinesFrames {
	100% {
		transform: translateX(-32px) translateY(-32px);
	}
}

* {
	/* chromatic aberration */
	text-shadow: 4px 2px 0 rgba(255, 0, 0, 0.2), -4px 0px 0 rgba(0, 255, 0, 0.2), 2px -4px 0 rgba(0, 0, 255, 0.2), 0 0 15px white;
}

@keyframes rotateFrames {
	0% {
		rotate: -5deg;
	}
	50% {
		rotate: 5deg;
	}
	100% {
		rotate: -5deg;
	}
}

.rotate {
	  animation: rotateFrames 1s infinite;
}

.desktop-application {
	display: block;
	width: 52px;
	color: black;
	text-decoration: None;
	text-align: center;
	position: relative;
	z-index: -1;
}
a:hover{
	border: 0.1rem dotted;
}

h1::after {
	content: "";
	width: 0.25em;
	height: 0.75em;
	background: #ffffff;
	display: inline-block;
	animation: cursor-blink 1.5s steps(2) infinite;
	box-shadow: 0 0 25px white;
}

#paintCanvas:hover {
  cursor: url('img/paint_pencil_cursor.png'), auto;
}

.paint-pixel {
	box-shadow:0px 0px 0px 0.05em #222 inset;
	background: white;
}
