/* colors:
BLUE: #1B99E8
RED: #D61043
YELLOW: #FFE33B
*/

body {
    margin: 0px;
    font-family: "Museo Slab 300";
    color: black;
    font-size: 13px;
}

body a {
    cursor: pointer;
    color: #1B99E8;
}

body a:hover {
    color: #D61043;
}

.pointer {
    cursor: pointer;
}

.main {
    text-align: center;
    background: #F3F3F3;
}

.title {
    font-size: 100px;
    color: red;
    padding: 20px;
}

.board {
    margin: auto;
    padding-bottom: 150px;
    text-align: center;
    /* width: 1000px; */
}

.controls {
    border-top: 1px solid black;
    position: fixed;
    top: 100vh;
    transform: translateY(-100%);
    width: 100%;
    background: white;
}

.mobile .controls {
    top: 91vh;
}

.help {
    padding: 26px;
    background: orange;
    color: white;
    font-size: 40px;
    display: inline-block;
    vertical-align: top;
    margin-top: 25px;
}

.deal {
    padding: 26px;
    background: brown;
    color: white;
    font-size: 40px;
    display: inline-block;
    vertical-align: top;
    margin-top: 25px;
}

.notify {
    color: blue;
    display: inline-block;
    margin: 10px;
}

.notification {
    padding: 20px;
    font-size: 50px;
    border: 1px solid blue;
    display: inline-block;
    min-width: 100px;
}

.your-score {
    color: green;
    display: inline-block;
    margin: 10px;
}

.ys-msg {
    padding: 20px;
    font-size: 50px;
    border: 1px solid green;
    display: inline-block;
    min-width: 100px;
}

.comp-score {
    color: black;
    display: inline-block;
    margin: 10px;
}

.cs-msg {
    padding: 20px;
    font-size: 50px;
    border: 1px solid black;
    display: inline-block;
    min-width: 100px;
}

.cards-remaining {
    color: purple;
    display: inline-block;
    margin: 10px;
}

.cr-msg {
    padding: 20px;
    font-size: 50px;
    border: 1px solid purple;
    border-radius: 10px;
    background: #C154C1;
    color: white;
    display: inline-block;
    min-width: 100px;
}

.card {
    height: 300px;
    width: 160px;
    background: white;
    border: 2px solid black;
    text-align: center;
    display: inline-block;
    position: relative;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

.card.selected {
    box-shadow: 0 4px 50px 0 #FF9800, 0 6px 15px 0 #FF9800;
}

.pieces {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

.piece {
    height: 50px;
    width: 115px;
    display: inline-block;
    margin: 10px;
}

/* ---------------------------------------------------------------------------- */

.red.full .piece {
    background: red;
}

.green.full .piece {
    background: green;
}

.blue.full .piece {
    background: blue;
}

.red.empty.circle .piece {
    border: 4px solid red;
}

.green.empty.circle .piece {
    border: 4px solid green;
}

.blue.empty.circle .piece {
    border: 4px solid blue;
}

.circle .piece {
    border-radius: 30px;
    box-sizing: border-box;
}

.red.striped .piece {
    background: repeating-linear-gradient(to right, red, red 2px, white 2px, white 8px);
}

.green.striped .piece {
    background: repeating-linear-gradient(to right, green, green 2px, white 2px, white 8px);
}

.blue.striped .piece {
    background: repeating-linear-gradient(to right, blue, blue 2px, white 2px, white 8px);
}

.diamond .piece {
    display: inline-block;
    position: relative;
    width: 116px;
    height: 50px;
    box-sizing: border-box;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    -webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.diamond .piece .inside {
    background: white;
    position: absolute;
    top: 5px; /* equal to border thickness */
    left: 10px; /* equal to border thickness */
    width: 96px; /* container height - (border thickness * 2) */
    height: 40px; /* container height - (border thickness * 2) */
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    -webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.red.empty.diamond .piece {
    background: red;
}

.green.empty.diamond .piece {
    background: green;
}

.blue.empty.diamond .piece {
    background: blue;
}

.curve .piece {
    border-radius: 60px 0px 60px 0px;
    box-sizing: border-box;
}

.red.empty.curve .piece {
    border: 4px solid red;
}

.green.empty.curve .piece {
    border: 4px solid green;
}

.blue.empty.curve .piece {
    border: 4px solid blue;
}


























