@font-face {
	font-family: "pixelfont";
	src: url("assets/04b_03.ttf") format("truetype");
}

* {
	image-rendering: pixelated;
	text-decoration: none;

	/* no scrollbar */
	-ms-overflow-style: none;
    scrollbar-width: none;
}

body {
	margin: 0px;
	background-color: #2e4b3f;
	height: 100vh;
	width: 100vw;
	overflow:hidden;

	/* no selecting txt */
	-webkit-touch-callout: none;
    -webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

::-webkit-scrollbar {
    display: none;
}

::selection {
    background: #4b7c68;
}

::-moz-selection {
    background: #4b7c68;
}

input:focus {
	/* fuck chrome */
    outline: none;
}

.window {
	position: absolute;
	background-color: #4b7c68;
	display: inline-block;
	padding-top: 14px;
	left: 0px;
	top: 0px;
	overflow: hidden;
	filter: drop-shadow(rgba(0, 0, 0, 0.133) 4px 4px 0px);
}

.window .window-close {
	position: absolute;
	font-family: pixelfont;
	font-size: 16px;
	line-height: 0px;
	right: 2px;
	top: 9px;
	color: #9fc5b6;
}

.window .window-min {
	position: absolute;
	font-family: pixelfont;
	font-size: 16px;
	line-height: 0px;
	right: 14px;
	top: 9px;
	color: #9fc5b6;
}

.window .window-title {
	position: absolute;
	font-family: pixelfont;
	font-size: 16px;
	line-height: 0px;
	left: 50%;
	transform: translate(-50%, 0);
	top: -8px;
	color: #9fc5b6;
	pointer-events: none;
}

.resizer {
	position:absolute;
	width:16px;
	height:16px;
	bottom:0px;
	right:0px;
	background-image: url("assets/resizer.png");
	background-size: cover;
}

#main-window {
	overflow: visible;
}

#main-header {
	background-image: url("assets/header.png");
	height: 244px;
	width: 936px;
	margin: 2px;
}

#main-nav {
	background-color: #4b7c68;
	height: 10px;
	padding: 2px;
    display: flex;
    align-items: center;
}

#main-nav {
	font-family: pixelfont;
	font-size: 16px;
	color: #9fc5b6;
}

#main-nav a {
	padding: 0 30px;
	color: #9fc5b6;
	transition: all 200ms;
}

#main-nav a:hover {
	color: #c1d9cf;
	padding: 0px 36px;
}

#main-content-container {
	display: flex;
	height: 505px;
    justify-content: center;
    align-items: center;
	background-color: #9fc5b6;
	margin: 0px 2px 2px 2px;
	overflow-y: auto;
}

#main-content-container p {
	padding: 0.5px;
}

#main-content {
	background-repeat: no-repeat;
	background-size: contain;
	width: 95%;
	height: 95%;
}

#main-content p {
	font-family: pixelfont;
	font-size: 24px;
	color: #4b7c68;
	line-height: 25px;
	margin: 10px;
}

#main-content a {
	color: #5e937d;
	transition: all 200ms;
}

#main-content a:hover {
	color: #70a992;
	padding: 0px 6px;
}

/* menu memes */

#menubar {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    width: 100vw;
	height: 24px;
    background-color: #4b7c68;
}

#menu-button {
    font-family: pixelfont;
    font-size: 20px;
    color: #9fc5b6;
    line-height: 24px;
    transition: all 200ms;
    margin-left: 4px; 
}

#current-time {
    font-family: pixelfont;
    font-size: 20px;
    color: #9fc5b6;
    line-height: 24px;
    transition: all 200ms;
    margin-right: 4px; 
}

#menu-button:hover {
	color: #70a992;
	padding: 0px 6px;
}

#menu {
	position: absolute;
	top: 27px;
	left: 0px;
	min-width: 100px;
	background-color: #4b7c68;
	z-index: 10002;
	filter: drop-shadow(rgba(0, 0, 0, 0.133) 4px 4px 0px);
}

.menu-item {
	background-color: #70a992;
	margin:2px;
	padding: 2px;
	font-family: pixelfont;
	font-size: 16px;
	color: #4b7c68;
	transition: all 200ms;
}

.menu-item:hover {
	background-color: #0001;
	color: #9fc5b6;
	padding-left: 8px;
}

.menu-folder {
	max-height: 16px;
	overflow: hidden;
}

.menu-folder:hover {
	max-height: 999px;
	overflow: hidden;
}

.menu-folder > .menu-item {
	padding-left: 4px;
}

/* color settings */

#color-container {
	background-color: #9fc5b6;
	width: calc(100% - 4px);
	height: calc(100% - 18px);
	margin: 2px;
	position: absolute;
}

#color-container * {
	font-family: pixelfont;
	font-size: 16px;
	color: #4b7c68;
	margin-left: 20px;
	line-height: 0px;
}

#color-container a:hover {
	color: #5e937d;
}

#color-container:first-child {
	padding-top: 10px;
}

#hueslider, #satslider, #conslider {
	-webkit-appearance: none;
	background-color: #5e937d;
	width: 120px;
	height: 4px;
	outline: 0;
}

input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	background-color: #4b7c68;
	width: 8px;
	height: 8px;
    border: none;
    border-radius: 0;
}

input[type="range"]::-moz-range-thumb  {
	background-color: #4b7c68;
	width: 8px;
	height: 8px;
    border: none;
    border-radius: 0;
}

/* animes */

#kyouko {
  position: absolute;
  margin: auto;
  top: 82px;
  left: 756px;
  width: 154px;
  height: 194px;
  background-image: url("assets/kyouko.gif");
}

#akarin { /*top -92px up, 261px down*/
	position: absolute; margin: auto;
	left: 250px;
	top: 261px;
	width: 246px;
	height: 352px;
	background-image: url("assets/akarin.png");
	transition: all 1s;
	transition-timing-function: cubic-bezier(0.0, 0.0, 0.2, 1);
	pointer-events: none;
	clip-path: inset(0% 0% 100% 0%);
}

#akarin-window {
	position: absolute; margin: auto;
	top: 131px;
	left: 468px;
	width: 40px;
	height: 40px;
}

#mascot {
	position: absolute;
	right: 5px;
	width: 207px;
	height: 528px;
	background-image: url("assets/mascot.png");
	background-color: #0000;
	transition: none !important;
	opacity: 1 !important;
}

/* boot/loading meme */

#boot-animation {
	position:absolute;
	width:100%;
	height:100%;
	left:0;
	top:0;
	background-color: #2e4b3f;
	z-index: 999999;
	transition: all 200ms;
}

#boot-code {
	color: #9fc5b6;
	font-family: pixelfont;
	font-size: 16px;
	padding: 10px;
	position: absolute;
	top: 0px;
}

/* scanline */

#scanlines {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAEklEQVQImWNgYGD4z8DAwMAAAAYEAQD7YNrQAAAAAElFTkSuQmCC"); /* data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAFElEQVQImWNkYGD4z4AE4BwmZFEAOS8CAjfPJu8AAAAASUVORK5CYII= */
	z-index: 1000000;
	opacity: 0.1;
	pointer-events: none;
}

/* cheatsheet */

#cheatsheet {
	position:absolute;
	top: 16px;
	right:0px;
	margin:50px 40px;
	width: 400px;
	pointer-events: none;
}

#cheatsheet * {
	font-family: pixelfont;
	font-size: 16px;
	color: #4b7c68;
}

.cheatsheet-row {
	display: flex;
	justify-content: space-between;
	margin: 5px 0px;
}

.cheatsheet-left {
	text-align: left;
}

.cheatsheet-right {
	text-align: right;
}

.cheatsheet-hr {
	height: 2px;
	background-color: #4b7c68;
	border: none;
}

.cheatsheet-title {
	font-size: 24px !important;
}
