* {
    box-sizing: border-box;
    user-select: none;
}

html,
body {
    background: #333;
    color: limegreen;
    min-height: 100vh;
    width: 100%;
    font-family: "Courier New", sans-serif;
    font-size: 16px;
    overflow: hidden;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.controls {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
}

.units {
    position: absolute;
    bottom: 10px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid limegreen;
    padding: 0.5rem;
}

.units > div {
    display: flex;
    flex-direction: column;
    border: 1px solid limegreen;
    height: 100%;
    width: 20%;
    padding: 0.5rem;
    font-size: 0.75rem;
    background: rgba(0,0,0,0.1);
}

.units > div.selected {
    background: rgba(100, 100, 100, 0.5);
}

[onclick] {
    cursor: pointer;
}

.button {
    padding: 5px 20px;
    background: #444;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid limegreen;
    color: limegreen;
    opacity: .8;
    text-shadow: 0 0 2px limegreen;
}

.button:hover {
    text-shadow: 1px 1px 4px limegreen, -1px 1px 4px limegreen, 1px -1px 4px limegreen, -1px -1px 4px limegreen;
    opacity: 1;
}

.map-wrapper {
    position: relative;
}

.hidden {
    display: none;
}

.stats {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(100, 100, 100, 0.5);
    z-index: 1;
    padding: 10px;
    font-size: x-small;
}

.strong {
    font-weight: bold;
}