* {
    font-family: "Prompt";
    box-sizing: border-box;
}

html, body {
    margin: 0px;
    position: relative;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
}

canvas.game {
    z-index: 0;
}

canvas.ui {
    z-index: 10;
}

div.escapeMenu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 20;
}

div.characterSelect {
    position: absolute;
    top: 180px;
    left: 50%;
    transform: translate(-50%, -50%);
}

div.characterSelect div {
    display: inline-block;
    border-radius: 50%;
    background: #000;
    padding: 10px;
    margin: 10px;
}

div.characterSelect div.selected {
    background: green;
}

button.backToGameBtn {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 60px;
    font-size: 20px;
    font-weight: bold;
}

div.settingsMenu {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    border-radius: 20px;
    background: #FFF;
}

div.inventory table {
    border-radius: 10px;
}

div.inventory table, div.inventory td {
    border: 2px solid white;
    border-collapse: collapse;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

div.inventory {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.5);
}

.primary, .secondary {
    width: 400px;
}

.slot {
    width: calc(400px / 3);
    height: calc(400px / 3);
}

.dropBtn, .swapBtn {
    font-size: 20px;
    font-weight: bold;
}

.optionWrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.optionWrapper button {
    flex-grow: 1;
}

.slotWrapper {
    display: flex;
    flex-direction: column;
    position: relative;
}

.slotContent {
    width: 100%;
    text-align: center;
}

.slotImage {
    width: 100%;
    height: 100%;
}