body {
    background-color: white;
    color: black;
    font-family: sans-serif;
}
a {
   /* color: black;*/
     color: #8cd5e0;
     text-decoration: none;
}
.content {
    max-width: 560px;
    margin: auto;
}
input {
    font-size: 30px;
}
button {
    font-size: 30px;
    margin: 10px 0;
}

@media only screen and (max-width: 600px) {
    .content {
        max-width: 400px;
        margin: auto;
    }
}

#header {
    text-align: right;
    min-height: 1.5em;
}

.playerscards {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    min-height: 168px;
}

img {
    width: 158px;
    height: 222px;
}
.cardframe {
    padding: 4px;
    border: 2px dashed #ccc;
    display: inline-block;
    margin: 4px;
}
.cardframe.clickable {
    cursor: pointer;
}
.cardframe.clicked {
    /* background-color: blue; */
    /* border: 2px solid blue; */
    z-index: 100;
}
.cardframe.discard {
    background-color: red;
    border: 2px solid red;
}

.flatten .cardframe {
    position: absolute;
}
.flatten .cardframe.clicked {
    position: static;
}

.msg {
    margin-top: 20px;
    text-align: center;
}
.emptycard {
    /* border: 2px dashed #ccc; */
    background-color: #ccc;
    width: 158px;
    height: 222px;
    display: inline-block;
}

.placeholdercard {
    border: 2px dashed #ccc;
    width: 158px;
    height: 222px;
    display: inline-block;
}

.orderwrap {
    border: 2px dashed #ccc;
    padding: 4px;
    display: inline-block;
    margin-bottom: 4px;
    cursor: pointer;
}
.orderwrap img,
.orderwrap div {
    margin: 4px;
}

details {
    margin-top: 10px;
}
summary {
    font-size: 1.5em;
    font-weight: bold;
}

.username {
    color: #8cd4e0;
    font-weight: bold;
}

/* The Modal (background) */
.modal-backdrop {
    /* display: none;  */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    max-width: 560px;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#ruleslink {
    float: left;
}


/*CUSTOM CSS*/ 
body {
        background: #333;
    color: #fff;
    margin: 0;
    
}

#header a {
    color: #000 !important; 
}

div#header {
    color: #000 !important; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #8cd5e0;
    padding: 10px;
}

div#header h1 {
    margin: 0;
    font-size: 19px;
}

div#header .username {
    
    color: #000;
}
.content {
    
    padding: 15px;
}

button {
    background: #8cd4e0;
    border: 0;
    font-size: 17px;
    padding: 10px 20px;
    font-weight: 900;
    text-transform: lowercase;
    border-radius: 10px;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    margin-top: 40px;
}

img {
    border-radius: 5px;
}

.cardframe {
   border: 0;  
}

.playerscards {
 justify-content: center;  
}

input#gamename {
     max-width: 280px;
        max-width: 280px;
    margin: 0 auto;
    display: flex;
   
    margin-top: 20px;
}


input#username {
    max-width: 280px;
    margin: 0 auto;
    display: flex;
    margin-top: 10px;
}

#debug {
 display:none;   
}
