.game_canvas{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: #000;
}
.game_header{
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 80px;
    max-width: 800px;
    border: 2px dashed #FFF;
    border: none;
    border-bottom: none;
    font: 1em consolas;
    color: white;
}
.game_center{
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 800px;
    max-width: 800px;
    border: 2px dashed #FFF;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.game_footer{
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 50px;
    max-width: 800px;
    border: 2px dashed #FFF;
    border: none;
    border-top: none;
}
.game_render{
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}
.game_render > .game_sprite{
    position: relative;
    height: 32px;
    width: 32px;
    background: url(../sprites/map.png);
    background-size: 284px 212px;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}
.debug_svg{
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
}
.game_canvas.debug_lines .debug_svg {
    opacity: 1 !important;
}
.debug_svg > path{
    stroke-width: 12px;
    fill: none;
}
.debug_svg > path.blinky{
    stroke: #F00;
}
.debug_svg > path.pinky{
    stroke: #F5F;
}
.debug_svg > path.inky{
    stroke: #0FF;
}
.debug_svg > path.clyde{
    stroke: #FA0;
}
#head_blinky{fill: #F00}
#head_pinky{fill: #FDF}
#head_inky{fill: #AFF}
#head_clyde{fill: #FFA}

.game_title{
    color: white;
    text-align: center;
    font-size: 3em;
}
.game_subtitle{
    color: white;
    text-align: center;
    font-size: 1em;
}
.game_status{
    color: white;
    font-size: 3em;
}
.map_selector_container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0000;
    backdrop-filter: blur(0px);
    pointer-events: none;
    transform: translate(-100%, 0%);
}
.map_selector_container.open {
    background: #000A;
    backdrop-filter: blur(4px);
    pointer-events: all;
    transform: translate(0%, 0%);
}
.map_selector {
    width: 100%;
    max-width: 600px;
    padding: 16px;
    background: #444;
    color: white;
    font-size: 1.2em;
}
.map_selector > table {
    width: 100%;
    border-collapse: collapse;
    color: white;
}
.map_selector > table td, table th {
    border: 1px solid #fff;
    padding: 8px;
}

.button {
    padding: 4px 8px;
    border: 2px solid;
    border-radius: 8px;
    background: #fff;
    color: #000;
    font-size: 1em;
    cursor: pointer;
    box-sizing: border-box;
}
.button.secondary {
    background: #AF0;
    color: #000;
}
.button:active {
    background: #000;
    color: #fff
}
.button-and-img {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.button-and-img > .button {
    width: 100%;
    margin-bottom: 8px
}