@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Mouse+Memoirs&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bahianita&family=Do+Hyeon&family=Darumadrop+One&display=swap');
:root {
	--large-font-size: 24px;
	--body-font-size: 18px;
	--content-font-family: 'Barlow', sans-serif;
    --heading-font-family: 'Darumadrop One' , sans-serif;
	--game-width: 1024px;
	--game-height: 768px;
	--button-font-size: 34px;
	--button-font-family: 'Barlow Semi Condensed', sans-serif;
	--highlight-color: #00f4c6;
    --body-color:#15202a;
}

* {
	box-sizing: border-box;
	-webkit-user-select: none;  /* Chrome all / Safari all */
	-moz-user-select: none;     /* Firefox all */
	-ms-user-select: none;      /* IE 10+ */
	user-select: none;  
}

body {
	background-color: transparent;
	color: white;
	font-family: var( --content-font-family );
	font-size: var( --body-font-size );
	display: flex;
	align-items: center;
	justify-content: center;
	align-content: center;
}

a[href] {
	color: var( --highlight-color );
	font-weight: bold;
}

.centerer {
	display: flex;
	align-items: center;
	justify-content: center;
	align-content: center;
	width: var( --game-width );
	height: var( --game-height );
}

#APP {
	padding: 0px;
	background-color: #444;
	color: white;
	display: grid;
	align-items: center;
	justify-items: center;
	overflow: hidden;
	width: var( --game-width );
	height: var( --game-height );
	isolation: isolate;
	position: relative;
    box-shadow:0 0 1px rgba(0,0,0,.5);
}

#CONTROLLER-ROOT {
	width: var( --game-width );
	height: var( --game-height );
	left: 0px;
	top: 0px;
	position: relative;
}

.app-state {
	position: absolute;
	left: 0px;
	top: 0px;
	width: var( --game-width );
	height: var( --game-height );
	transition: opacity 0.5s, filter 0.5s;
	isolation: isolate;
}

.bonk {
	transform-origin: center center;
	transform: scale( 0.9925 );
	ztransform: scale3D( 0.9925 );
}

@keyframes bonk-animate {
    0% { transform: translate(0px, 0px); }
    50% { transform: translate(0px, 2px); }
    100% { transform: translate(0px, 0px); }
}
@keyframes bonk-animate2 {
    0% { transform: scale(1.0); }
    50% { transform: scale(0.9925); }
    100% { transform: scale(1.0); }
}



/*
	Sound menu
*/
#option-container {
    position: absolute;
    right: 0px;
    top: 0px;
}

/*
	Notifications

.notification {
	background-color: #ebd5ad;
	color: black;
	border: 2px solid black;
	box-shadow: 0px 10px 0px rgba(0,0,0,0.5);
	padding: 10px 20px;
	position: absolute;
	left: 100px;
	right: 100px;
	bottom: 100px;
	border-radius: 10px;
}
.notification .or {
	font-weight: bold;
}
.notification h1 {
	text-align: center;
	margin: 0px;
	font-size: var( --large-font-size );
}
.notification p {
	margin: 0px;
}
.notification button.tab-highlighted {
	outline: 5px dotted black;
}
*/


button {
	border: 2px solid black;
	border-radius: 10px;
	padding: 5px 10px;
	background-color: #653f42;
	color: white;
	font-weight: bold;
	font-family: serif;
	font-size: var( --body-font-size );
	box-shadow: 0px 5px 0px rgba(0,0,0,0.5);
	transform: translate( 0px, 0px );
	margin: 10px;
}
button b {
	text-decoration: underline;
	color: #2CBA8D;
}
button:active {
	box-shadow: 0px 0px 0px rgba(0,0,0,0.5);
	transform: translate( 0px, 5px );
}
button:hover {
	background-color: #ab7a54;
	color: white;
}
button.disabled, button[disabled] {
	opacity: 0.5;
	pointer-events: none;
}

.fade-in {
	animation-duration: 1s;
	animation-fill-mode: forwards;
	animation-name: fade-in;
	transform-origin: 50% 100%;
}
@keyframes fade-in {
	0% {
		transform: translateY( 50px );
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		transform:  translateY( 0px );
		opacity: 1;
	}
}

.rotate-in {
	animation-duration: 1s;
	animation-fill-mode: forwards;
	animation-name: rotate-in;
	transform-origin: 50% 100%;
}
@keyframes rotate-in {
	0% {
		transform: perspective( 1000px ) rotateX(-90deg) translateY( 50px );
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		transform: perspective( 1000px ) rotateX(0deg) translateY( 0px );
		opacity: 1;
	}
}

.isTabbable {
	filter: brightness( 85% );
}
.tab-highlighted {
	outline-offset: 5px;
	outline: 4px dashed white;
    
	filter: brightness( 100% );
}

.close-button {
	position: absolute;
	right: 10px;
	top: 10px;
	width: 40px;
	height: 40px;
	border-radius: 20px;
	display: grid;
	align-items: center;
	justify-items: center;
	background-color: #900;
	color: white;
	font-weight: bold;
	font-size: var( --body-font-size );
	border: 3px solid black;
	z-index: 1000;
}

.button {
	transform-origin: center center;
	color: white;
	display: flex;
	align-items: center;
	justify-items: center;
    justify-content: center;
	font-weight: bold;
	font-size: var( --button-font-size );
	font-family: var( --button-font-family );
	text-transform: capitalize;
}
.button:hover {
	filter: brightness( 1.3 );
}
.button:active {
	transform: scale( 0.95 );
	filter: brightness( 0.9 );
}
.button.tab-highlighted {
	border-radius: 20px;
}
.button.has-shortcut > div:first-child:first-letter {
	color: var( --highlight-color );
	text-decoration: underline;
}
/*
.button.blue, .button.red, .button.green {
	width: 165px;
	min-width: 165px;
	height: 97px;
	color: white;
	text-align: center;
	font-size: 25px;
    text-shadow:-2px -2px 0px rgba(10,80,80,.5),
        -2px 2px 0px rgba(0,0,0,.5),
         2px 2px 0px rgba(0,0,0,.5),
           2px -2px 0px rgba(0,0,0,.5);
 
    letter-spacing: 0.05rem;
    
    text-transform:uppercase;
	padding: 20px;
	line-height: 1.1;
}
*/

.button.blue, .button.red, .button.green {
    position:relative;
	max-width:250px;
	min-width: 165px;
	height: 60px;
	color: white;
	text-align: center;
    background-color:#888;
    border:3px solid black;
    box-shadow:inset 4px -5px 0 0  rgba(0,0,0,.2), inset -4px 5px 0 0 rgba(255,255,255,.2);
	font-size: 23px;
/*
    text-shadow:
        -2px -2px 0px rgba(10,80,80,.5),
        -2px 2px 0px rgba(0,0,0,.5),
         2px 2px 0px rgba(0,0,0,.5),
         2px -2px 0px rgba(0,0,0,.5);
*/
 
    text-shadow:2px 3px 0 rgba(0,0,0,.4);
    letter-spacing: 0.05rem;
    display:flex;
    justify-content: center;
    align-items: center;
    border-radius:22px;
    text-transform:uppercase;
	padding: 20px;
	line-height: 1.1;
    
    
}
.button.blue:before, .button.red:before, .button.green:before {
    content:'';
    position:absolute;
    left:0;
    top:0;
    right:0;
    bottom:0;
        background-image:url('../images/buttons/button-texture.png');
    background-repeat:space repeat;
    background-position: center;
    background-size:auto 105%;
}
.button.blue:after, .button.red:after, .button.green:after {
    content:'';
    position:absolute;
    left:-6px;
    right:-6px;
    top:-6px;
    bottom:-6px;
    border-radius:26px;
    border:3px solid #888;
}

.button.blue {
    background-color:#17658D;
/*	background-image: url( '../images/buttons/button-blue.png' );*/
}
.button.blue:after {
    border-color:#17658D;
}
.button.red {
    background:#9A2A32;
/*	background-image: url( '../images/buttons/button-red.png' );*/
}
.button.red:after {
    border-color:#9A2A32;
}
.button.green {
    background:#1C8A6D;
/*	background-image: url( '../images/buttons/button-green.png' );*/
}
.button.green:after {
    border-color:#1C8A6D;
}

.help-message {
	position: absolute;
	border-style: ridge;
	border-width: 20px;
	border-image-source: url('../images/hud/hud-notify-ur.png');
	border-image-slice: 30% fill;
	border-image-repeat: repeat; 
	color: black;
	max-width: 400px;
	transform-origin: 100% 0%;
	width: 300px;
	right: 50px;
	top: 30px;
}

