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

@font-face
{
	font-family: "Pixel-Bold";
	src: url("PixelOperator-Bold.ttf") format("truetype");
}

p 
{
	font-family: "Pixel";
	color: white;
	font-size: 1.4em;
}

#text
{
	order: 2;
}

#debug
{
	order: 3;
}

#reactorHolder
{
	display: flex;
	justify-self: flex-end;
	height: 99.8%;
	align-items: flex-end;
	flex-direction: column-reverse;
	margin-left: 2px;
}

.progress-bar 
{
	display: flex;
	justify-content: center;
	order: 1;
    background-color: #4C4C4C;
}

#mainBar
{
	align-self: center;
	order: 1;
	width: 65%;
    max-width: 100%;
	transform: rotate(180deg);
	margin-bottom: 13%;
	flex-grow: 1;
	margin-top: 10px;
}

#mainBar .progress
{
	transition: height 0.5s ease-in;
}

#progressPercent
{
	transform: rotate(180deg);
	margin: 0%;
	position: absolute;
	margin-top: 5px;
}

#debugBox
{
	position: absolute;
	margin: 20px;
}

.progress {
	justify-content: center;
    background: #CC4C4C;
    height: 50%;
    width: 100%;
    transition: width 0.5s ease-in;
}

.OnOffReactorButton {
    margin-top: 10px;
    background: rgb(97, 255, 110);
}

.ImageCenter
{
	width: 100%;
	height: 100vh;
	margin: auto;
}

.centerInner
{
	display: flex;
	padding: 5px;
	padding-top: 5px;
	border-style: solid;
	border-color: gold;
	border-width: 10px;
	width: 100%;
	box-shadow: 0px 0px 20px inset black;

	flex-direction: column;
}

.top
{
	display: flex;

	height: auto;

	position: relative;
}

.top p
{
	margin: auto;

	font-size: 2.5em;
}

.under
{
	display: flex;

	flex-grow: 1;
}

.rightContainer
{
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	margin-left: 7.5px;
}

.guiContainer
{
	order: 1;
	display: flex;
	flex: 0 1 auto;
	height: 512px;
}

.gui
{
	width: 512px;
	height: 512px;
	margin: auto;
	position: relative;
}

.guiImage
{
	width: 100%;
	height: 100%;

	background-image: url("reactorGUIMask.png");
	background-position: center;
  	background-repeat: no-repeat;
  	background-size: cover;
	position: relative;
	z-index: 10;
}

.dataHolder
{
	order: 2;

	flex: 1 1 auto;
}

.dataInnerContainer
{
	display: flex;

	flex-direction: row;

	height: 200px;
}

.dataInnerContainer p
{
	padding: 0px;
	margin: 0px;
}

.leftDataContainer
{
	display: flex;
	flex-direction: column;
	gap: 20px;
	flex-grow: 1;
}

.leftDataContainer p
{
	color: #3366CC
}

.rightDataContainer
{
	display: flex;
	flex-direction: column;
	gap: 20px;
	flex-grow: 1;
}

.rightDataContainer p
{
	color: #57A64E
}

.center
{
	display: flex;
	width: 800px;
	height: 100%;
	background-color: black;
	z-index: 5px;
	box-shadow: 0px 0px 20px black;
	order: 1;
	position: relative;
}

body, html
{
	height: 100%;
	width: 100%;
	margin: 0;
}

body 
{
	display: flex;
	justify-content: center;

	background-image: url("backgroundHTML.png");

	/* Center and scale the image nicely */
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;

	font-family: "Pixel";
}

.pushable 
{
    position: relative;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    outline-offset: 4px;
    transition: filter 250ms;
	width: 100px;
	height: 50px;
}

.settingsButton
{
	margin: 0px;
	padding: 0px;
	height: 100%;
	width: 100%;
	border: none;
	background-color: white;
	cursor: pointer;
}

.settingsButton p
{
	color: black;
}

.shadow 
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
    transform: translateY(2px);
	background: hsl(0deg 0% 0% / 0.25);
    transition: transform 600ms cubic-bezier(.3, .7, .4, 1);
 }

.edge 
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background: hsl(140, 63%, 30%);
}

.front
{
	text-align: center;
    display: flex;
    position: relative;
	height: 100%;
    background: hsl(140, 63%, 46%);
    will-change: transform;
    transform: translateY(-4px);
    transition: transform 600ms cubic-bezier(.3, .7, .4, 1);
	justify-content: center;
}

.front p
{
	font-family: "Pixel";
    font-size: 1.25rem;
    color: white;
	position: absolute;
	top: -5px;
}

.pushable:hover 
{
    filter: brightness(110%);
}

.pushable:hover .front
{
    transform: translateY(-6px);
    transition: transform 250ms cubic-bezier(.3, .7, .4, 1.5);
}

.pushable:active .front 
{
	transform: translateY(-2px);
    transition: transform 34ms;
}

.pushable:hover .shadow 
{
    transform: translateY(4px);
    transition: transform 250ms cubic-bezier(.3, .7, .4, 1.5);
}

.pushable:active .shadow 
{
    transform: translateY(1px);
    transition: transform 34ms;
}

.pushable:focus:not(:focus-visible) 
{
    outline: none;
}

#redstoneL
{
	width: 184px;
	height: 232px;

	position: absolute;
	left: 0px;
	bottom: 32px;
	z-index: 5;

	transform: rotate(180deg);
}

#redstoneL .progress
{
	transition: height 0.5s ease-in;
}

#iceL
{
	width: 184px;
	height: 232px;

	position: absolute;
	right: 0px;
	bottom: 32px;
	z-index: 5;

	transform: rotate(180deg);
}

#iceL .progress
{
	background: lightskyblue;
	transition: height 0.5s ease-in;
}

#burnFuelL
{
	width: 240px;
	height: 184px;

	position: absolute;
	left: 24px;
	top: 0px;
	z-index: 5;
	justify-content: left;
}

#burnFuelL .progress
{
	background: #F2B233;
    height: 100%;
    width: 50%;
}

#fuelL
{
	width: 144px;
	height: 144px;

	position: absolute;
	
	margin: auto;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;

	background: #393939;

	z-index: 5;

	transform: rotate(180deg);
}

#fuelL .progress
{
	background: #57A64E;
	transition: height 0.5s ease-in;
}

.mIco
{
	position: absolute;

	width: 64px;
	height: 64px;

	z-index: 15;
}

#icoRedstone
{
	background: url("redstone.png");

	background-position: center;
  	background-repeat: no-repeat;
  	background-size: cover;

	left: 40px;
	bottom: 52px;
}

#icoIce
{
	background: url("blueIce.png");

	background-position: center;
  	background-repeat: no-repeat;
  	background-size: cover;

	right: 64px;
	bottom: 48px;
}

#icoBurnFuel
{
	background: url("coal.png");

	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;

	left: 40px;
	top: 37px;
}

#icoFuel
{
	background: url("uraninite.png");

	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;

	margin: auto;

	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
}

.leftButton
{
	display: flex;
	order: 1;
	width: 64px;
	height: 100%;

	background: gold;

	position: relative;

	border: none;
    padding: 0;
}

.leftButton p
{
	margin: auto;
	font-size: 3.5em;
	color: black;
}

.rightButton
{
	display: flex;
	order: 3;
	width: 64px;
	height: 100%;

	background: gold;

	position: relative;

	border: none;
    padding: 0;
}

.rightButton:disabled
{
	background: #999999;
}

.rightButton:disabled p
{
	color: #4C4C4C;
}

.leftButton:disabled
{
	background: #999999;
}

.leftButton:disabled p
{
	color: #4C4C4C;
}

.rightButton p
{
	margin: auto;
	font-size: 3.5em;
	color: black;

	padding: 0;
	border: none;
}

.leftButton:hover:enabled p
{
	color: white;
}

.rightButton:hover:enabled p
{
	color: white;
}

*:focus {
    outline: none;
	border: 0px;
}

.settingsHolder
{
	order: 3;
	flex: 0 1 60px;
}

.dataTitle
{
	width: 100px;
	text-align: center;
	align-self: center;
	font-size: 2.0em;
	border-bottom: 3px solid #57A64E;
}

#energyTitle
{
	border-color: #3366CC;
}
