:root {
    --primary: #0089F9;
    --secondary: #B200ED;
    --tertiary: #F4C513;
}

* {
    box-sizing: border-box;
}


body {
    font-family: Lato, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    background-color: #111;
}

main {
    margin: 0 auto;
    min-height: 100vh;
}

button {
    display: inline-block;
}

.container {
}

.text-center {
    text-align: center;
}

.hud {
    color: red;
    background-color: #333;
}

.hud .controls {
    padding: 0px 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.hud .controls button {
    width: 100px;
}

.hud .controls div {
    width: 100%;
}

.you {
    border-bottom: 10px solid #333;
}

.card-well {
    padding: 5px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.hand {
    display: flex;
    flex-direction: row;
}

.card {
    visibility: visible;
    position: relative;
    width: 240px;
    height: 155px;
    border: 1px solid var(--secondary);
    outline: 5px solid #000;
    border-radius: 5px;
    margin: 10px;
    font-size: 14px;
    background-color: #000;
    color: var(--primary);
}

.equipment .card {
    margin: 5px 10px;
}

.card.empty {
    visibility: hidden;
}

.jewelry {
    outline: 5px solid var(--secondary);
    position: relative;
}

.ring {
    right: 30px;
}

.amulet {
    left: 30px;
}

.card-top {
    padding: 3px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: stretch;
}

.card-name {
    width: 100%;
    display: flex;
    flex-direction: column;
    font-weight: bold;
}

.card-name-text, 
.card-name-image,
.card-stats div {
    padding: 3px;
}

.card-stats div {
    padding: 5px 3px;
    font-size: 12px;
}

.card-name-image {
    height: 120px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.card-bottom {
    padding: 5px;
    border-top: 1px solid #ccc;
    font-size: 14px;
    line-height: 14px;
}

.card-detail{
    margin-bottom: 10px;
}

.card:hover .card-actions {
    display: flex;
}

.card-actions {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, .7);
    top: 0;
    height: 100%;
    width: 100%;
    padding: 5px;
    flex-direction: column;
    justify-content: space-between;
}

.card-buttons {
    display: flex;
    flex-direction: row;
}

button {
    width: 100%;
    margin: 10px;
    padding: 10px;
    font-weight: bold;
    border-radius: 5px;
    border: 2px solid var(--secondary);
    cursor: pointer;
    color: var(--secondary);
    background-color: #000;
}

button:hover {
    color: var(--tertiary);
    border-color: var(--tertiary);
}

.card-back {
    width: 100%;
    height: 100%;
    background-image: url('/img/card-back-sideways.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
}




