#cpu {
	background: var(--cpu-bg-color);
	height: calc(100% - 20px);
	width: 490px;
	padding: 10px;
}

#cpu h1 {
	font-size: 5vh;
	color: var(--label-text-color);
}

#cpu h2 {
	position: relative;
	color: var(--label-text-color);
}

#cpu #execute-label {
	top: 20px;
}

#cpu #assembly-label {
	top: 30px;
}

#cpu div {
	position: relative;
}

#cpu #registers {
	top: 10px;
}

#cpu #execution {
	top: 30px;
}

#cpu #assembly {
	top: 40px
}

#cpu .register {
	width: 158px;
	height: 40px;
	font-size: 35px;
	padding-left: 2px;
}

#cpu .button {
	width: 160px;
	height: 40px;
	font-size: 35px;
	background: var(--button-bg-color);
	color: var(--button-text-color);
	border: none;
	outline: none;
	text-align: left;
	padding-left: 2px;
}

#cpu .button:hover {
	background: var(--button-hover-bg-color);
	color: var(--button-hover-text-color);
}

#cpu .button:active {
	background: var(--button-clicked-bg-color);
	color: var(--button-clicked-text-color);
}

#cpu .button.singleLine {
	position: relative;
	top: -8px;
}

#cpu #PI {
	width: 100%;
	position: relative;
	top: -4px;
}

#cpu #elemCode {
	position: relative;
	top: 4px;
	width: 100%;
	height: 480px;
	padding: 10px;
	font: 16px monospace;
}

#RAM {
	position: absolute;
	left: 510px;
	padding: 10px;
	width: calc(100% - 530px);
	height: calc(100% - 20px);
	top: 0px;
	font: 24px monospace;
}

#RAM, #elemCode {
	overflow-y: scroll;
}

#cpu button.red {
	background: var(--run-disabled-bg-color)!important;
	color: var(--run-disabled-text-color);
}

#cpu button.green {
	background: var(--run-enabled-bg-color)!important;
	color: var(--run-enabled-text-color);
}

textarea {
	resize: none;
	border: none;
	outline: none;
	color: var(--textarea-text-color);
	background: var(--textarea-bg-color);
}

::-webkit-scrollbar {
	width: 10px
}

::-webkit-scrollbar-track {
	background: 0
}

::-webkit-scrollbar-thumb {
	background: #888
}

::-webkit-scrollbar-thumb:hover {
	background: #555
}

* {
	padding: 0;
	margin: 0;
	font-family: sans-serif;
	overflow: hidden;
}

body, html {
	min-height: 100%!important;
	height: 100%
}