* {
	box-sizing: border-box;
	font-family: 'VT323';
    font-weight: normal;
    font-style: normal;
}

html, body {
	background-color: #0f0f23;
	color: #cccccc;
	font-family: "Source Code Pro", monospace;
	font-size: 14pt;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 10px;
}

body {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
}

h1 {
	text-shadow: 0 0 2px #00cc00, 0 0 5px #00cc00;
}

h1, h2, h3, h4, h5 {
	color: #00cc00;
}

.loading {
	background-color: black;
	height: 100%;
	width: 100%;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 999;
	padding: 20px;
}

.loading-container {
	max-width: 500px;
}

.loading-description {
	font-size: 12px;
}

.loadingbar-wrapper {
	width: 100%;
	height: 30px;
	position: relative;
	background-color: black;
	border-radius: 7px;
	overflow: hidden;
	border: 2px solid #cccccc;
}

.loadingbar-text {
	color: #cccccc;
	width: 100%;
	text-align: center;
	vertical-align: middle;
	font-size: 25px;
	position: absolute;
	left: 0;
	top: 0;
}

.loadingbar-progress {
	width: 0;
	height: 100%;
	background-color: #00cc00;
	border-radius: 5px;
	-moz-transition: width .2s ease;
	-ms-transition: width .2s ease;
	-o-transition: width .2s ease;
	transition: width .2s ease;
}


.game {
	border: 5px solid #cccccc;
	aspect-ratio: 1 / 1;
	height: 100%;
	max-height: 90vw;
	min-height: 300px;
	overflow: hidden;
	position: relative;
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
}

.level {
	width: 100%;
	height: 100%;
}

.button {
	background-color: transparent;
	color: #cccccc;
	border-top: 5px solid #cccccc;
	border-right: 5px solid grey;
	border-bottom: 5px solid grey;
	border-left: 5px solid #cccccc;
	cursor: pointer;
	text-decoration: none;
	font-size: 40px;
	padding: 0 5px;
}

.button:hover, .button:focus {
	-webkit-box-shadow: 0px 0px 10px 0px #00cc00;
	-moz-box-shadow: 0px 0px 10px 0px #00cc00;
	box-shadow: 0px 0px 10px 0px #00cc00;
}

.button:active {
	border-style: solid;
	border-top-color: grey;
	border-right-color: #cccccc;
	border-bottom-color: #cccccc;
	border-left-color: grey;
}

img.pixelated {
	image-rendering: pixelated;
}

.chat {
	display: none;
	width: 100%;
	height: 100%;
	position: relative;
}

.textballoon__container {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: flex-start;
	padding: 20px;
	width: 100%;
	height: 50%;
}

.textballoon {
	display: none;
	color: #0f0f23;
	position: relative;
	background-color: #cccccc;
	border-radius: 10px;
	padding: 20px;
	width: 100%
}

.textballoon:after {
	content: '';
    position: absolute;
    display: block;
    width: 0;
    z-index: 1;
    border-style: solid;
    border-color: #cccccc transparent;
    border-width: 20px 10px 0;
    bottom: -20px;
}

.textballoon-player:after {
    left: 10%;
    margin-left: -10px;
}

.textballoon-enemy:after {
    right: 10%;
    margin-right: -10px;
}

.talker__container {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: flex-end;
	padding: 20px;
	width: 100%;
	height: 50%;

	transform: rotate( 720deg ) scale( 0 );
	-webkit-transition: transform 2.5s linear;
	-moz-transition: transform 2.5s linear;
	-ms-transition: transform 2.5s linear;
	-o-transition: transform 2.5s linear;
	transition: transform 2.5s linear;
}

.talker__container.initialized {
	transform: rotate( 0deg ) scale( 1 );
}

.talker {
	width: 30%;
}

.talker > img {
	width: 100%;
}

.present {
	position: absolute;
	height: 20%;

	-moz-transition: all .5s linear;
	-ms-transition: all .5s linear;
	-o-transition: all .5s linear;
	transition: all .5s linear;
}

.flipped-horizontal {
	-webkit-transform: scaleX(-1);
	-moz-transform: scaleX(-1);
	-ms-transform: scaleX(-1);
	-o-transform: scaleX(-1);
	transform: scaleX(-1);
}

.instructions {
	background-color: rgba(0, 0, 0, 0.8);
	height: 100%;
	width: 100%;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 999;
	padding: 20px;
	display: none;
}

.instructions-text-container {
	max-width: 500px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: flex-start;
}

.results {
	background-color: rgba(0, 0, 0, 0.8);
	height: 100%;
	width: 100%;
	display: none;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 999;
	padding: 20px;
}

.results-option {
	width: 100%;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
}

footer {
	margin-top: 10px;
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 10px;
}

.volume-settings {
	max-width: 100%;
	width: 200px;
}

.copyright {
	margin: 0;
	padding: 0;
}

.slider {
	-webkit-appearance: none;  /* Override default CSS styles */
	appearance: none;
	width: 100%; /* Full-width */
	height: 10px; /* Specified height */
	background: #cccccc; /* Grey background */
	outline: none; /* Remove outline */
	opacity: 1; /* Set transparency (for mouse-over effects on hover) */
	border-radius: 10px;
}

.slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #00cc00;
	cursor: pointer;
}

.slider::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #00cc00;
	cursor: pointer;
}
