:root {
    --doc-width: 100%;
    --doc-height: 100%;
    --atom-gray: #343233;
    --atom-tan: #EFDAB9;
    --atom-yellow: #FFD152;
    --atom-green: #3B9B6D;
    --atom-red: #C13F21;
    --atom-orange: #D36E2d;
    --atom-gold: #DDA032;
    --atom-steel: #78AF9F;
    --atom-blue: #659CC8;
    --atom-ice: #DEECE8;
}

html {
    width: 100vw;
    width: var(--doc-width);
    height: 100vh;
    height: var(--doc-height);
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    font-family: 'Bebas Neue', sans-serif;
}

body {
    width: 100%;
    width: var(--doc-width);
    height: 100%;
    height: var(--doc-height);
    margin: 0;
    overflow: hidden;
    background-color: #2A2A2A;
}

.wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.arena {
    width: min(75vh, 90vw);
    height: min(75vh, 90vw);
    display: grid;
    grid-auto-flow: row;
    grid-gap: 0;
    border: min(2.5vh, 3vw) solid #1E5631;
    box-sizing: border-box;
    position: relative;
}

.arena-cell {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.heading {
    margin: 0 0 min(-1.5vh, 2vw) 0;
    color: #FFF;
    font-size: 4em;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 30%;
    top: 35%;
    z-index: 1;
    background-color: #1D1D1D;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.death-message {
    margin: 0;
    color: #FFF;
    font-size: min(5vh, 8vw);
}

.score-message {
    margin: min(-1.5vh, 2vw) 0 min(1vh, 1.75vw) 0;
    color: #FFF;
    font-size: min(2.5vh, 4vw);
}

.retry {
    width: 25%;
    height: 20%;
    background-color: #FFF;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.high-score {
    color: #FFF;
    font-size: min(2.5vh, 4vw);
    margin: 0 0 15px 0;
}