@font-face {
	font-family: 'Pixel Operator';
	font-style: normal;
	font-weight: normal;
	src: url('/fonts/PixelOperator.ttf');
}

@font-face {
	font-family: 'Pixel Operator Bold';
	src: url('/fonts/PixelOperator-Bold.ttf');
}

@font-face {
	font-family: 'Pixel Operator HB';
	src: url('/fonts/PixelOperatorHB.ttf');
}

@font-face {
	font-family: 'Toshiba';
	font-style: normal;
	font-weight: normal;
	src: url('/fonts/ToshibaSat.ttf');
}

@font-face {
	font-family: '04B03';
	font-style: normal;
	font-weight: normal;
	src: url('/fonts/04B03.ttf');
}

@font-face {
	font-family: 'NecAPC3';
	font-style: normal;
	font-weight: normal;
	src: url('/fonts/NecAPC3.ttf');
}

@font-face {
	font-family: 'IBMPS5';
	font-style: normal;
	font-weight: normal;
	src: url('/fonts/IBMPS5.ttf');
}

@font-face {
	font-family: 'IGS VGA';
	font-style: normal;
	font-weight: normal;
	src: url('/fonts/IGS_VGA.ttf');
}

@font-face {
	font-family: 'PMingLiU';
	src: url('/fonts/PMINGLIU.ttf');
	unicode-range: U+0020-007E;
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'MSGOTHIC';
	font-style: normal;
	font-weight: normal;
	src: url('/fonts/MSGOTHIC.ttf');
}

* {
	margin: 0;
	padding: 0;
	cursor:
		url('/assets/cursor.png') 0 0,
		auto;
}

:root {
	color-scheme: dark;
	/* dark scrollbarz! */
	font-family: 'Pixel Operator', 'Courier New', Courier, monospace;

	/* fun fact all of this is non standard!! */
	-webkit-font-smoothing: none;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeSpeed;

	/* disable font anti aliasing and sub pixel rendering */
	font-size: 16px;
	background-color: #000;
	color: #fff;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	overscroll-behavior: none;
}

/* safari chrome scrollbar */
:root {
	::-webkit-scrollbar {
		width: 0 !important;
	}

	::-webkit-scrollbar-track {
		background: #000000;
	}

	::-webkit-scrollbar-thumb {
		background: rgba(255, 255, 255, 0.9);
		border: 2px solid #000000;
	}
}

body {
	width: 100%;
	height: 100%;
	overflow: auto;
	overscroll-behavior: none;
	/* firefox scrollbar */
	/* scrollbar-width: auto;
	scrollbar-color: #ffffff #000000; */
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	scrollbar-width: none !important;
}

a {
	color: white;
}

#noise-bg {
	position: fixed;
	top: -50%;
	left: -50%;
	right: -50%;
	bottom: -50%;
	width: 400%;
	height: 400vh;
	background: transparent url('/assets/noise.png') repeat 0 0;
	background-repeat: repeat;
	animation: 1000ms infinite noise;
	pointer-events: none;
	opacity: 0.3;
	mix-blend-mode: soft-light;
	z-index: 9999;
}

@keyframes noise {
	0%,
	100% {
		background-position: 0 0;
	}
	10% {
		background-position: -5% -10%;
	}
	20% {
		background-position: -15% 5%;
	}
	30% {
		background-position: 7% -25%;
	}
	40% {
		background-position: 20% 25%;
	}
	50% {
		background-position: -25% 10%;
	}
	60% {
		background-position: 15% 5%;
	}
	70% {
		background-position: 0 15%;
	}
	80% {
		background-position: 25% 35%;
	}
	90% {
		background-position: -10% 10%;
	}
}
