body {
    background-color: rgb(37, 38, 42);
    font-family: sans-serif;
}

div {
    margin: 0;
    padding: 0;
    border: none;
}

div.Container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

img.Title {
    display: block;
    width: 768px;
    height: 85px;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}

div#Panel {
    display:flex;
    justify-content: center;
    align-items: stretch;
    margin-bottom: 4px;
    width: 768px;
    height: 48px;
    font-size: 0;
}

div.PlayerSetup {
    display:inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    margin: 4px;
    padding-left: 4px;
    padding-right: 4px;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}

div#PlayerSetup1 {
    background-color: rgba(37, 197, 218, 0.5);
}

div#PlayerSetup2 {
    background-color: rgba(103, 218, 37, 0.5);
}

div#PlayerSetup3 {
    background-color: rgba(218, 61, 37, 0.5);
}

div#PlayerSetup4 {
    background-color: rgba(152, 37, 218, 0.5);
}

div.PlayerSetup img {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin: 4px;
    padding: 0;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}

div.PlayerSetup select {
    display: inline-block;
    height: 24px;
}

div.PlayerSetup div.PlayerPoints {
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    margin: 4px;
    color: black;
    height: 24px;
    width: 50px;
}

div.PlayerSetup.Winner {
    border: 1px solid #F9C255;
}

button {
    background-color: rgb(37, 38, 42);
    border: none;
    margin: 4px;
    border-radius: 8px;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}

button:disabled {
    color: #656565;
    border: 1px solid #656565;
}

button#StartGame:enabled {
    color: #F9C255;
    border: 1px solid #F9C255;
}

canvas#GemField {
    display:block;
    background: url("../images/Background.png") repeat top left;
    border-radius: 4px;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}

div#Resources {
    display: flex;
    color: white;
    font-size: 10px;
    align-items: center;
    margin-top: 8px;
}

img#GemA, img#GemB, img#GemC {
    margin-left: 8px;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}

@media only screen and (-moz-min-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 2/1),
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
    canvas#GemField { background-image: url("../images/Background@2x.png"); background-size: 24px 24px; }
}