:root {
   /* == COLORS =================== */
   --shadow-color: #222222;
}

/* ================================
	BANDEAU LATERAL 
	================================ */
#banner {
	display: flex;
	flex-direction: column;
	min-width: 200px;
	height: 100%;
	background-color: rgb(68, 84, 106);
}
.logo {
	width: 100%;
	/*height: var(--header-height);*/
}
#gameData {
	min-height: 180px;
	margin: 10px;
	color: whitesmoke;
}
#options {
	margin: 10px;
	padding-bottom: 20px;
}
.hidden {
	visibility: hidden;
}

#message {
	text-align: center;
	height: 20px;
	font-size: 12px;
	color: whitesmoke;
}

#playerRound {
	margin: 10px;
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	color: gold;
}
#cancelAction {
	margin-top: 24px;
}

#win {
	display: flex;
	flex-direction: row;
	margin-top: 60px;
	margin-bottom: 3px;
	height: 20px;
	min-width: 180px;
	justify-content: space-around;
	font-family: 'PerryGothic';
	font-size: 15px;
	color:antiquewhite;
}

#wb {
	width: 180px;
}

.cover {
	display: flex;
	position: absolute;
	width: 100%;
	height: 100%;
	margin: auto;

	background-color: rgba(255,255,255,0.4);
	font-family: 'PerryGothic';
	font-size: 112px;
	color: gold;
	-webkit-text-stroke-width: 2px;
	-webkit-text-stroke-color: black;
}
p {
	margin: auto; /* important */
	text-align: center;
}

/* ================================
	PLATEAUX
	================================ */
#boards {
	width: 100%;
	display: flex;
	justify-content: space-between;
}
/* ZONE PLATEAU DES JETONS				*/
#tokenBoard {
	background-image: url("../images/board.png");
	background-size: cover;
	width: 430px;
	height: 520px;
	padding: 0 10px 10px 4px;
}
#boardCmd {
	width: 80px;
	height: 89px;
	align-items: center;
}
.tokenBoardSlot {
	display: flex;
	justify-content: center;
	position: relative;
	align-items: center;
	/*border: solid 1px black;*/
	min-width: 77px;
	min-height: 78px;
	margin: 5px 0 0 6px;
}

/* ZONE DES CARTES						*/
#cardBoard {
	width: 696px;
	height: 520px;
}
div.stack {
	display: block;
	position: relative;
	/*justify-content: center;
	align-items: center;*/
	width: 110px;
	height: 167px;
	margin-right: 6px;
	margin-bottom: 6px;
	box-shadow: 3px 3px 2px var(--shadow-color);
	border-radius: 8px;
}
.cardBoardSlot {
	display: block;
	position: relative;
	/*justify-content: center;
	align-items: center;*/
	width: 110px;
	height: 167px;
	margin-right: 6px;
	margin-bottom: 6px;
	border: solid 1px #DDDDDD;
	border-radius: 8px;;
}

/* ================================
	PRIVILEGES ET CARTES ROYALES 
	================================ */
#stuff {
	display: flex;
	flex-direction: column;
	width: 232px;
	height: 520px;
}

.privilegeBoardSlot {
	display: flex;
	position: relative;
	width: 67px;
	height: 70px;
	margin-bottom: 24px;
	margin-right: 12px;;
	border: solid 1px #DDDDDD;
}

/* ================================
	ZONE DES JOUEURS 
	================================ */
#playersBoard {
	display: flex;
	flex-direction: row;
	flex-grow: 1;
	justify-content: space-around;
}
.deck {
	position: relative;
	width: calc(742px + var(--spacing-default-size));
	margin-top: 12px;
	padding-left: 6px;
	padding-bottom: 6px;
}

#myDeck{
	border: 3px solid gray;
}
#opponentDeck {
	border: 1px solid gray;
}
.tokenPlayerSlot {
	display: flex;
	position: relative;
	margin-top: 6px;
	margin-right: 12px;
	width: 70px;
	height: 70px;
	border: solid 1px #DDDDDD;
}
.cardPlayerSlot {
	display: flex;
	position: relative;
	margin-top: 10px;
	margin-right: 6px;
	width: 100px;
	height: 150px;
	border: solid 1px #DDDDDD;
	border-radius: 8px;;
}
.privilegePlayerSlot {
	display: flex;
	position: absolute;
	right: 6px;
	width: 112px;
	height: 70px;
	margin-top: 6px;
	/*border: solid 1px #DDDDDD;*/
}
.tag {
	font-size: 10px;
	position: absolute;
	bottom: -3px;
	right: -3px;
	width: 15px;
	height: 15px;
	text-align: center;
	color: white;
	background-color: darkblue;
	border-radius: 50%;
}

/* ================================
	JETONS
	================================ */
.token {
	display: flex;
	position: absolute;
	justify-content: center;
	align-items: center;
	height: 100%;
	width: 100%;
	border: solid 0.5px none;
	border-radius: 50%;
	box-shadow: 3px 3px 3px var(--shadow-color);
}
img.tokenImage {
	height: 100%;
}

/* ================================
	CARTES
	================================ */
div.card {
	display: flex;
	position: absolute;
	border: solid 1px grey;
	border-radius: 8px;
	box-shadow: 1px 1px 1px var(--shadow-color);
	width: 100%;
	height: 100%;
}
img.cardImage {
	height: 100%;
}

.ID {
	font-size: 10px;
	position: absolute;
	bottom: 3px;
	right: 3px;
	width: 20px;
	height: 20px;
	padding-top: 3px;
	text-align: center;
	color: white;
	background-color: darkgreen;
	border-radius: 50%;
}

.reserve:hover {
	z-index: 100;
}

/* ================================
	PRIVILEGES 
	================================ */
div.privilege {
	position: absolute;
	height: 100%;
}
/* ================================
	STYLES COMMUNS 
	================================ */
.selectable:hover {
	filter: brightness(80%) saturate(80%);
	cursor: pointer;
}
.unselectable:not(.mark) {
	/*filter: opacity(30%);*/
	filter: sepia(100%) brightness(120%) contrast(40%);
	cursor: default;
}

#snackbar {
	visibility: hidden; /* Hidden by default. Visible on click */
	min-width: 250px; /* Set a default minimum width */
	margin-left: -125px; /* Divide value of min-width by 2 */
	background-color: #333; /* Black background color */
	color: #fff; /* White text color */
	text-align: center; /* Centered text */
	border-radius: 2px; /* Rounded borders */
	padding: 16px; /* Padding */
	position: fixed; /* Sit on top of the screen */
	z-index: 1; /* Add a z-index if needed */
	left: 50%; /* Center the snackbar */
	bottom: 30px; /* 30px from the bottom */
 }
 
 /* Show the snackbar when clicking on a button (class added with JavaScript) */
 #snackbar.show {
	visibility: visible; /* Show the snackbar */
	/* Add animation: Take 0.5 seconds to fade in and out the snackbar.
	However, delay the fade out process for 2.5 seconds */
	-webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
	animation: fadein 0.5s, fadeout 0.5s 2.5s;
 }
 
 /* Animations to fade the snackbar in and out */
 @-webkit-keyframes fadein {
	from {bottom: 0; opacity: 0;}
	to {bottom: 30px; opacity: 1;}
 }
 
 @keyframes fadein {
	from {bottom: 0; opacity: 0;}
	to {bottom: 30px; opacity: 1;}
 }
 
 @-webkit-keyframes fadeout {
	from {bottom: 30px; opacity: 1;}
	to {bottom: 0; opacity: 0;}
 }
 
 @keyframes fadeout {
	from {bottom: 30px; opacity: 1;}
	to {bottom: 0; opacity: 0;}
 }