* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    width: 100%;
    height: 100%;
    background: #020607;
    overflow: hidden;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Courier New", monospace;
}

#game {
    position: relative;
    width: 1280px;
    height: 720px;
}

canvas {
    width: 100%;
    height: 100%;
    display: block;
    background: #031014;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

#menu {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background:
        radial-gradient(
            circle,
            rgba(50, 255, 255, .13),
            rgba(0, 0, 0, .96) 65%
        );

    color: white;
    text-align: center;
}

.title {
    font-size: 54px;
    font-weight: bold;
    letter-spacing: 7px;
    color: #9dff38;
    text-shadow:
        0 0 8px #7cff00,
        4px 4px #064b45;
}

.subtitle {
    margin-top: 8px;
    color: #55eaff;
    letter-spacing: 4px;
}

#menu p {
    color: #b8eeee;
}

button {
    margin: 25px;
    padding: 15px 35px;

    background: rgba(10, 70, 80, .65);
    color: #baffff;

    border: 2px solid #57ffff;

    font-family: inherit;
    font-size: 18px;

    cursor: pointer;

    box-shadow:
        0 0 15px rgba(0,255,255,.25);
}

button:hover {
    background: rgba(30, 160, 170, .6);
}

small {
    color: #799;
    line-height: 1.7;
}

#hud {
    position: absolute;
    top: 20px;
    left: 25px;

    padding: 10px 15px;

    color: #dfffff;

    background: rgba(0, 20, 25, .7);

    border-left: 3px solid #7dff31;

    font-size: 20px;

    pointer-events: none;
}

#counter {
    color: #9dff38;
}

#status {
    margin-left: 30px;
    color: #ff4b4b;
}

#message {
    position: absolute;
    left: 50%;
    bottom: 45px;

    transform: translateX(-50%);

    color: white;

    font-size: 28px;
    font-weight: bold;

    text-shadow: 0 0 10px #00ffff;

    pointer-events: none;
}

.hidden {
    display: none !important;
}