@import url("https://pm25.github.io/css/master.css");
@import url("https://fonts.googleapis.com/css?family=VT323");

body {
    position: absolute;
    background-color: #556052;

    width: 100%;
    height: 100%;
}

#header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    user-select: none;
    font-family: "VT323", monospace;

    width: 100%;
    padding: 10px 0;
    font-size: 2.5em;
    color: wheat;
}

#header > img {
    height: 0.8em;
    margin: 0 10px;
}

#header .version {
    font-size: 0.6em;
}

#game {
    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 1;
}

#game-canvas {
    border: 0.15em solid wheat;

    width: 80vw;
    height: 80vh;
    border-radius: 0.8em;
}

.description-box {
    display: flex;
    position: absolute;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    flex-direction: column;
    user-select: none;
    cursor: pointer;
    background: #fff9;
    font-family: "VT323", monospace;

    min-width: 50vw;
    min-height: 50vh;
    color: #555;
    padding: 0.3em;
    font-size: 1.8em;
    border-radius: 0.3em;
    border: 0.1em solid #555;
    transition: 0.1s;
}

.description-box > div {
    margin: 0.05em;
    width: 9em;

    display: flex;
    flex-direction: row;
    align-items: center;
}

.description-box > h1 {
    margin: 0.1em;
}

.description-box:hover {
    background: #fffb;
}

.active {
    visibility: visible;
}

.key {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 1em;
    margin: 0.1em;
    padding: 0.1em;
    min-width: 1em;
    border: 0.1em solid;
    border-radius: 0.3em;
}
