*{
    box-sizing: border-box;
    font-size: 18px;
    background-color:darkblue;
    margin: 0px;
    padding: 0px;
    color: white;
    font-family: sans-serif;
}
.title{
    font-size: 32px;
    font-weight: bold;
    color: yellow;
    text-align: center;
}
.title2{
    font-size: 24px;
    color: orange;
    text-align: center;
}
.speed{
    position: absolute;
    right: 0px;
    top: 0px;
}
.speed div{
    font-size: 12px;
}
#score{
    font-size: 18px;
}
.message{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#message1,#message2{
    color:red;
}
.rankMessage{
    display: flex;
    align-items: center;
}
#rankImage{
    justify-content:left;
}
#winStreakNotification{
    justify-content:left;
}
.cardsArea{
    border: 2px solid black;
    align-items: center;
    display: flex;
    position:relative;
}
#dock{
    position:absolute;
    left: 95px;
    z-index: 3;
}
#field{
    border: 0px solid black;
    width: 250px;
    height: 250px;
    justify-content: center;
    align-items: flex-end;
    margin: 0 auto;
    position: absolulte;
    background-color: transparent;
    z-index:2;
}
.horizontalPlayer{
    width: 100%;
    height: 80px;
}
.horizontal{
    width: 100%;
    height: 50px;
}
.vertical{
    width: 50px;
    height: 250px;
}
.handCards{
    background-color: lightyellow;
}
.card{
    border: 1px solid black;
    border-radius:  5px;
    width: 50px;
    height: 70px;
    margin: 5px;
    text-align: center;
    line-height: 70px;
    background-color: white;
    color:black;
    z-index: 2;
}
.blue{
    color: blue;
}
.red{
    color: red;
}
.selected{
    border: 5px solid black;
    background-color: gray;
}
.highlight{
    background-color: yellow;
}
.button{
    width: 100%;
    height: 60px;
    border: 3px solid black;
    text-align: center;
    line-height: 60px;
    background-color: lightgray;
    color:black;
}
#personselect{
    text-align: center;
}
.cardback{
    background-color: lightgray;
}
#coms{
    display:grid;
    grid-template-columns: 50px 1fr 50px;
    grid-template-rows: 1fr 250px;
}
#img{
    margin: 0 auto;
    grid-column-start:1;
    grid-column-end:4;
    grid-row-start:1;    
    grid-row-end:3;    
}
#comWest{
    flex-direction: column;
    grid-column-start:1;
    grid-row-start:2;    
}
#comNorth{
    grid-column-start:2;
    grid-row-start:1;    
}
#comEast{
    flex-direction: column;
    grid-column-start:3;
    grid-row-start:2;    
}
#comNorth .card{
    font-size: 12px;
    width: 30px;
    height: 40px;
    line-height: 40px;
}
#comWest .card{
    font-size: 12px;
    width: 40px;
    height: 30px;
    line-height: 30px;
}
#comEast .card{
    font-size: 12px;
    width: 40px;
    height: 30px;
    line-height: 30px;
}
#center{
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-column-start:2;
    grid-row-start:2; 
    width: 250px;
    height: 250px;
    position: relative;
    margin: 0 auto;
}
#layer1,#layer2{
    display: none;
    position: absolute;
    left: 0px;
    top: 40px;
    width: 100%;
    height: 100%;
    background-color: darkblue;
    /* opacity: 0.9; */
    z-index: 4;
}
.icon{
    z-index: 1;
    display:block;
    width: 64px;
    height: 64px;

}
.icon2{
    position: absolute;
}
#iconsArea{
    width: 250px;
    height: 250px;
    background-color: transparent;
    z-index: 1;
    position: absolute;
}