﻿body {
    background-color: darkgreen;
    color: white;
}

.helpText {
    color: #AAA;
    line-height: .5em;
    padding: .5em;
}

.resultText {
    font-size: x-large;
    font-weight: bold;
    margin-top: 1em;
    color: yellow;
}

.resultBet {
    font-size: large;
    margin-bottom: 1em;
    color: lightyellow;
}

.buttons {
    display: inline-block;
    width: 200px;

    button {
        margin: .25em;
    }
}

.money {
    font-size: x-large;
    color: #00FF00;
}

.playingcards {
    display: inline-flex;
    width: 3.3em;
    height: 4.6em;
    line-height: 1;
    border: 1px solid #666;
    border-radius: .3em;
    -moz-border-radius: .3em;
    -webkit-border-radius: .3em;
    padding: .25em;
    margin: 0 .5em .5em 0;
    text-align: center;
    font-size: large;
    font-weight: normal;
    font-family: Arial, sans-serif;
    position: relative;
    background-color: #fff;
    -moz-box-shadow: .2em .2em .5em #333;
    -webkit-box-shadow: .2em .2em .5em #333;
    box-shadow: .2em .2em .5em #333;
    color: black;

    .back {
        background-image: repeating-radial-gradient(circle, #000022, #0000FF);
        background-image: -moz-repeating-radial-gradient(circle, #000022, #0000FF);
        background-image: -webkit-repeating-radial-gradient(circle, #000022, #0000FF);
        width: 100%;
    }

    .red {
        color: red;
    }

    .face::before {
        content: attr(data-value);
    }

    .face::after {
        position: absolute;
        content: attr(data-value);
        bottom: .25em;
        right: .25em;
        rotate: 180deg;
    }
}

.cardsWrapper {
    display: flex;
    width: 100%;
    height: 96px;
    justify-content: center;
}

ul.cardtable,
ul.deck {
    list-style-type: none;
    padding: 0;
    margin: 0 0 1.5em 0;
    position: relative;
    clear: both;
}

    ul.cardtable li,
    ul.deck li {
        margin: 0;
        padding: 0;
        list-style-type: none;
        float: left;
    }

ul.deck {
    height: 8em;
}

    ul.deck li {
        position: absolute;
    }
