html {
    font-family: "Play", sans-serif;
    font-size:1rem;
}

body {
    margin: 0 0;
    line-height: 1.2;
    font-size:1em;
    color:#444;
    background: url("/images/background.webp");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    transition: background-image 1s;
}

.dimmer {
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    position: fixed;
    width: 100%;
    height: 100%;
    background: black;
}

.dimmer-background {
    width: 100%;
    height: 100%;
    background-color: black;
    position: absolute;
    z-index: -1;
}

.dimmer-image {
    border: 1px solid #250020;
    border-radius: 1em;
    width: 514px;
    height: 514px;
}

.mono {
    font-family: "LXGW WenKai Mono TC", monospace;
    font-weight: 400;
    font-style: normal;
}

.container {
    background-color: black;
    border: 1px solid #333333;
    border-radius: 1em;
    padding: 1em 2em;
    color: white;
    font-size: 1em;
    margin-bottom: 1em;
    width: 12em;
    text-align: center;
}

h1 {
    margin: 0 0;
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #242424;
}

.keyboard {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
}

.keyboard-base:hover {
    .key-description {
        display: block;
    }
}

.keyboard-base {
    max-width: 990px;
    padding: 20px;
    border-radius: 10px;
    background: url(/images/white_grain.png);
    box-shadow: inset 4px 2px 4px 0px black;
}

.keyboard-row {
	display: flex;
}



.key {
    background-color: rgb(243, 243, 243);
    border: 2px solid black;
    border-radius: 5px;
    grid-column: span 2;
    font-size: 20px;
    text-align: center;
    padding-top: 17px;
    cursor: pointer;
}

.key:not(.selected):hover {
    border: 3px solid #7b7ba9;
    background-color: #bed2ff;

}

.delete {
    grid-column: span 4;
}

.tab {
    grid-column: span 3;
}

.backslash {
    grid-column: span 3;
}

.capslock {
    grid-column: span 4;
}

.return {
    grid-column: span 4;
}

.leftshift {
    grid-column: span 5;
}

.rightshift {
    grid-column: span 5;
}

.leftctrl {
    grid-column: span 3;
}

.command {
    grid-column: span 3;
    font-size: 14px;
}

.space {
    grid-column: span 13;
}

@keyframes grow-animation {
    0% { transform: scale(1); }
    50% {transform: scale(2); }
    100% {transform: scale(3); }
}

.grow {
    text-align: center;
    animation: grow-animation 1s linear infinite;
    font-size: 2em;
    color: #a70000;
    background-color: #c6dfff;
    padding-top: 6px;
    .key-description {
        display: none !important;
    }
}

.selected {
    background: rgb(201,26,231);
    background: linear-gradient(0deg, rgba(201,26,231,1) 0%, rgba(34,199,209,1) 100%);
    color: white;
    text-shadow: #474747 3px 5px 2px;
}

.key-description {
    position: relative;
    font-size: 0.7em;
    /* bottom: 48px; */
    display: none;
    /* text-align: center; */
    bottom: 2px;
}

.button {
    width: 100%;
}

.space {
    background: rgb(201,26,231);
    background: linear-gradient(0deg, rgba(201,26,231,1) 0%, rgba(34,199,209,1) 100%);
    color: white;
    text-shadow: #474747 3px 5px 2px;
}


/* CSS */
.button {
  color: #fff;
  padding: 15px 25px;
  background-color: #38D2D2;
  background-image: radial-gradient(93% 87% at 87% 89%, rgba(0, 0, 0, 0.23) 0%, transparent 86.18%), radial-gradient(66% 66% at 26% 20%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 69.79%, rgba(255, 255, 255, 0) 100%);
  box-shadow: inset -3px -3px 9px rgba(255, 255, 255, 0.25), inset 0px 3px 9px rgba(255, 255, 255, 0.3), inset 0px 1px 1px rgba(255, 255, 255, 0.6), inset 0px -8px 36px rgba(0, 0, 0, 0.3), inset 0px 1px 5px rgba(255, 255, 255, 0.6), 2px 19px 31px rgba(0, 0, 0, 0.2);
  border-radius: 14px;
  font-weight: bold;
  font-size: 16px;

  border: 0;

  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;

  cursor: pointer;
}

.button:hover {
    background-color: #3899d2;
}

.button:active {
    background-color: #196999;
}

.mobile-message {
        display: none;
    }








@media (max-width: 767px) {

    .keyboard {
        display: none !important;
    }

    .mobile-message {
        display: block;
        max-width: fit-content;
        margin: auto;

        padding-top: 2em;
    }
}








button.kbc-button {
    width: 38px;
    height: 38px;
    font-weight: bold !important;
    font-size: 12px !important;
    padding: 0 !important;
    text-align: center !important;
    margin: 3px !important;
    border-color: #a9a9a9 !important;
}

a.kbc-button:after, button.kbc-button:after {
    border-color: #8d8d8d !important;
}
button.kbc-button.colored {
    background: #b1b1b1;
    box-shadow: 0 0 #aeaeae,0 0 #aeaeae,0 1px #aeaeae,0 2px #aeaeae,0 3px #aeaeae,0 4px #aeaeae,0 5px #aeaeae,2px 2.5px 4px #adb5bd,0 -1px 2.5px #adb5bd;
    border-color: #777777 !important;
}

.kbc-button[data-key="Esc"] {
	margin-right: 40px !important;
}

.kbc-button[data-key="F4"], 
.kbc-button[data-key="F8"]
{
	margin-right: 30px !important;
}

.kbc-button[data-key="Backspace"] {
    width: 86px !important;
}
.kbc-button[data-key="Tab"] {
    width: 68px !important;
}
.kbc-button[data-key="CapsLock"] {
    width: 80px !important;
}
.kbc-button[data-key="LeftShift"] {
    width: 100px !important;
}
.kbc-button[data-key="RightShift"] {
    width: 112px !important;
}
.kbc-button[data-key="Enter"] {
    width: 88px !important;
}
.kbc-button[data-key="LeftCtrl"] {
    margin-right: 54px !important;
}
.kbc-button[data-key="RightAlt"] {
    margin-right: 86px !important;
}
.kbc-button[data-key="LeftCtrl"],
.kbc-button[data-key="LeftAlt"],
.kbc-button[data-key="RightAlt"],
.kbc-button[data-key="RightCtrl"] {
    width: 60px;
}
.kbc-button[data-key="Space"] {
    width: 260px;
}

.kbc-button[data-key="Tab"], 
.kbc-button[data-key="CapsLock"],
.kbc-button[data-key="LeftShift"] {
    text-align: left !important;
    padding-left: 4px !important;
}

.kbc-button[data-key="Insert"],
.kbc-button[data-key="Delete"],
.kbc-button[data-key="Left"],
.kbc-button[data-key="NumLock"],
.kbc-button[data-key="Num7"],
.kbc-button[data-key="Num4"],
.kbc-button[data-key="Num0"] {
    margin-left: 10px !important;
}

.kbc-button[data-key="Num0"] {
    width: 82px;
    text-align: left !important;
    padding-left: 15px !important;
}

.kbc-button[data-key="Num4"] {
    margin-left: 149px !important;
}
.kbc-button[data-key="Num+"],
.kbc-button[data-key="NumEnter"] {
    height: 83px;
    margin-bottom: -49px !important;
}

.kbc-button[data-key="Num1"] {
    margin-left: 54px !important;
}

.kbc-button[data-key="Up"] {
    margin-left: 54px !important;
}

.kbc-button[data-key="Backslash"] {
    width: 56px !important;
}

button.double.kbc-button {
    font-size: 10px !important;
}

button.other.kbc-button {
    font-size: 10px !important;
}

.keyboard-row:nth-child(2) button.kbc-button {
    margin-top: 20px !important;
}



div#pc {
    margin: auto;
    text-align: center;
    height: 514px;
}

img#display {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    z-index: 4;
}

img#screen {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 59px;
    z-index: 5;
    opacity: 1;
}

div.scanlines {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 60px;
    height: 300px;
    z-index: 4;
    border: 1px solid red;
    width: 400px;
}



img#fighter {
    top: 130px;
    left: 160px;
    border: 1px solid red;
}

img#fighter-shadow {
    position: absolute;
    filter: drop-shadow(0px 0px 2px black) brightness(0.0) opacity(0.5);
    top: 127px;
    left: 160px;
    transform: matrix3d(1, -0.2, 5, 0, 0.9, 0.3, 5, 0, -5, -8, 5, 9, -60, 44, 0, 1);
}

img#fighter-shadow.flipside {
    transform: scaleX(-1) matrix3d(1, -0.2, 5, 0, 0.9, 0.3, 5, 0, -5, -8, 5, 9, -76, 44, 0, 1);
}

img#arena {
	position: relative;
	scale: 120%;
	top: 20px;
}

img.flipside {
	transform: scaleX(-1);
	left: auto !important;
	right: 160px;
}

.arena-container {
    position: absolute;
    width: 400px;
    height: 300px;
    top: 0;
}

.arena-container img {
	position: absolute;
}

#power_button {
    position: absolute;
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 6;
    left: 0;
    right: 0;
    top: 421px;
    transform: translateX(158px);
    margin: auto;
}

#pc.powered div.scanlines {
	display: block;
}

#pc.powered img#screen {
	opacity: 0.1;
}



.jax-rocket {
	display: none;
}

#jax_rocket_01 {
    top: 160px;
}

#jax_rocket_02 {
    top: 180px;
    left: 220px;
}
#jax_rocket_03 {
    top: 187px;
    left: 240px;	
}
#jax_rocket_04 {
    top: 187px;
    left: 220px;
}
#jax_rocket_05 {
    top: 187px;
    left: 310px;
}
#jax_rocket_06 {
    top: 187px;
    left: 340px;
}
#jax_rocket_07 {
    top: 187px;
    left: 370px;
}

#jax_rocket_01.flipside {
	right: 200px;
}

#jax_rocket_02.flipside {
	left: auto !important;
	right: 220px;
}
#jax_rocket_03.flipside {
	left: auto !important;
	right: 240px;
}
#jax_rocket_04.flipside {
	left: auto !important;
	right: 220px;
}
#jax_rocket_05.flipside {
	left: auto !important;
	right: 310px;
}
#jax_rocket_06.flipside {
	left: auto !important;
	right: 340px;
}
#jax_rocket_07.flipside {
	left: auto !important;
	right: 370px;
}