#game {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-image: url(../assets/backgroundGame.png);
	background-repeat: repeat;
	background-size: 400px;
	overflow: hidden;
	width: 100vw;
	height: 100vh;
	display: none;
	position: relative;
	--card-height: 120px;
	--card-width: 90px;
}

#game #hand {
	flex-direction: row;
	justify-content: flex-start;
	overflow: auto hidden;
	position: absolute;
	border: medium solid;
	background: rgba(180, 180, 180, 0.66);
	padding: 10px 5px 26px 5px;
	left:25vw; 
	top: calc(100vh - (var(--card-height) + 58px)); 
	width: 50vw; 
	height: calc(var(--card-height) + 18px); 
	z-index: 75;
}

#handText {
	color: rgba(90, 90, 90, 1);
	position: absolute;
	font-size: 50px;
}

#game #buttonBox {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	position: absolute;
	bottom: 0;
	left: 0;
}

#game [role=button] {
	width: 100px; 
	height: 100px; 
	z-index: 75;
	margin:7px;
	cursor: pointer;
}

#game #zones {
	display: flex;
	flex-direction: column;
	margin: 5px;
}

#game #playerZones {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

#game .playerZone {
	overflow: hidden; 
	border: medium solid; 
	text-align: center; 
	font-weight: bold; 
	width: 250px; 
	height: 200px; 
	z-index: 0;
	margin: 5px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	 z-index: 0;
}

#game .playerZone span {
	margin: 2px;
}

#game .playerZone .playerZoneHeader {
	display: flex;
	flex-direction: row;
	justify-content: center;
}

#game .playerZone .playerZoneBody {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#game .playerZone .playerZoneBody button{
	width: 120px;
}

#game .playerZone .playerZoneFooter {
	display: flex;
	flex-direction: row;
}

#game .playerZone#serverZone {
	background-color: rgb(75, 75, 75); 
}

#game #buttonHelp {
	background-image:  url(../assets/ui/help_unpressed.png), url(../assets/ui/help_pressed.png);
	background-size: cover;
}

#game #buttonHelp:active {
	background-image:  url(../assets/ui/help_pressed.png);
}

#game #buttonAdd {
	background-image:  url(../assets/ui/add_unpressed.png), url(../assets/ui/add_pressed.png);
	background-size: cover;
}

#game #buttonAdd:active {
	background-image:  url(../assets/ui/add_pressed.png);
}

#game .popupMenu {
	position: absolute; 
	border: medium solid; 
	text-align: center; 
	background-color: white;
	overflow-x: auto;
	left: 12.5vw;
	top: 12.5vh; 
	width: 75vw; 
	height: 75vh; 
	z-index: 150;
}

#game .closeMenu {
	position: sticky;
	border: medium solid;
	border-color: rgb(220, 20, 20);
	color:  rgb(220, 20, 20);
	width: 25px;
	height: 25px;
	text-align: center;
	left:6px;
	top: 6px;
	cursor: pointer;
}

#game .popupMenu :not(h1, select, option) {
	font-size: 20px;
}

#game .pile {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
	color: white;
	z-index: 50;
}

#game .pile span {
	margin: 2px;
}

#game .cursor {
	position: absolute;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: medium solid;
	transform: translate(-50%, -50%);
	 z-index: 100;
}

#game .card {
	position: absolute;
	z-index: 50;
}

#game .selected {
	 z-index: 99;
}
