/* Color Legend */
/* #e2e2e2; --- Light Grey */
/* #f2f2f2; --- Lighter Grey */
/* #ffffff; --- White */
/* #000000; --- Black */
/* #1d1d1d; --- Darkest Charcoal */
/* #232324; --- Darker Charcoal */
/* #2B2C2F; --- Charcoal */
/* #34373C; --- Slate Blue */
/* #3b3c42; --- Lighter Slate Blue */
/* #C2AB72; --- Gold */
/* #cdc092; --- Cream */
/* #f7eed0; --- Lighter Cream */
/* rgba(0, 0, 0, 0); --- Transparent RGBA */

body {
	color: #ffffff;
	margin: 0;
	padding: 0;
	background-color: #343a47;
	font-family: "Cabin";
	transition: all linear 300ms;
}

h1, h2, h3, h4, h5, h6 {
	padding: 0;
	margin: 0 auto;
	transition: all linear 200ms;
	text-align: center;
	max-width: 700px;
	font-weight: normal;
}

h1 {font-size: 38px;}
h2 {font-size: 32px;}
h3 {font-size: 29px;}
h4 {font-size: 26px;}
h5 {font-size: 24px;}
h6 {font-size: 20px;}

p {
	padding: 0;
	margin: 0;
	transition: all linear 200ms;
	font-size: 18px;
	line-height: 1.15;
}

a {
	text-decoration: none;
	color: #C2AB72;
	margin: 0;
	padding: 0;
	display: block;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
	font-size: 19px;
}

a:hover {
	color: #f7eed0;
}

button {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

ul {
	margin: 0;
	padding: 0;
	display: flex;
	transition: all linear 400ms;
}

ul li {
	list-style-type: none;
	font-size: 18px;
}

.bold {
	font-weight: bold;
}

.italic {
	font-style: italic;
}

.underline {
	text-decoration: underline;
}

.visibilityOn {
	opacity: 1 !important;
	visibility: visible !important;
}

.visibilityOff {
	opacity: 0 !important;
	visibility: hidden !important;
}

.noselect {
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}


/* ******************** */
/* ******* MTG ******** */
/* ******************** */

.main_wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	height: 100vh;
	padding: 20px;
	box-sizing: border-box;
}

.cblogo {
	max-width: 804px;
	width: 80%;
}

.mtg_wrapper {
	color: #f2f2f2;
	max-width: 540px;
	margin: 0 auto;
	background-color: #2B2C2F;
	position: relative;
}

.mtg_wrapper::after {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
	z-index: -1;
}

.life_container {
	width: 100%;
	height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #34373C;
	border-bottom: 2px solid #C2AB72;
	box-sizing: border-box;
	position: fixed;
	max-width: 540px;
	top: 0;
	left: 50%;
	transform: translate(-50%);
	z-index: 5;
	padding: 10px;

}

.life_btn {
	position: relative;
	width: 25%;
	height: 100%;
	cursor: pointer;
	font-size: 46px;
	margin: 0;
	padding: 0;
	outline: none;
	border: none;
	background-color: #34373C;
	color: #f2f2f2;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.life_value {
	position: relative;
	width: 50%;
	font-size: 66px;
	text-align: center;
}

.life_title {
	position: absolute;
	bottom: 8px;
	font-size: 18px;
}

.toast_container {
	width: auto;
	height: auto;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #2B2C2F;
	border: 2px solid #232324;
	border-radius: 2px;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 10px;
	transition: all linear 200ms;
}

.toast_container p {
	font-size: 48px;
}

.pw_container {
	position: relative;
	display: block;
	box-sizing: border-box;
	margin: 0 auto;
	min-height: 100vh;
	padding: 160px 10px 65px 10px;
	background-color: #2B2C2F;
	overflow: hidden;
}

.planeswalker {
	height: auto;
	width: 100%;
	max-width: 780px;
	background-color: #34373C;
	border: 2px solid #232324;
	border-radius: 2px;
	box-sizing: border-box;
	display: block;
	text-align: center;
	margin: 0 auto;
	margin-bottom: 5px;
}

.pw_name {
	padding-top: 4px;
	padding-bottom: 6px;
	height: 30px;
	box-sizing: border-box;
	border-bottom: 2px solid #232324;
}

.pw_loyalty_container {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 120px;
	box-sizing: border-box;
	position: relative;
	background-position: center;
    background-size: cover;
	stroke-width: 5px;
}

.pw_loyalty_btn {
	position: relative;
	width: 22%;
	height: 100%;
	cursor: pointer;
	font-size: 30px;
	margin: 0;
	padding: 0;
	outline: none;
	border: none;
	box-sizing: border-box;
	background-color: #34373C;
	background-color: rgba(0, 0, 0, 0);
	color: #f2f2f2;
	z-index: 0;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	stroke-width: 5px;
}

.pw_loyalty_value {
	position: relative;
	width: 56%;
	font-size: 44px;
	text-align: center;
	background-color: rgba(0, 0, 0, 0.5);
}

.loyalty_title {
	position: absolute;
	font-size: 12px;
	width: 50px;
	stroke-width: 5px;
}

.planeswalker_template {
	display: none;
}

svg {
	paint-order: stroke;
}

.svgText {
	fill: #f2f2f2;
	stroke: black;
	stroke-linejoin: round;
	text-anchor: middle;
	dominant-baseline: central;
	font-family: "Cabin";
}

audio {
	display: none;
}

.mtg_options_container {
	display: flex;
	max-width: 540px;
	margin: 0 auto;
	position: fixed;
	bottom: 0;
	width: 100%;
	left: 50%;
	transform: translate(-50%);
	z-index: 5;
	border-top: 2px solid #C2AB72;
	box-sizing: border-box;
	background-color: #34373C;
}

.mtg_options_btn {
	height: 48px;
	cursor: pointer;
	font-size: 18px;
	margin: 5px;
	padding: 0;
	outline: none;
	box-sizing: border-box;
	color: #f2f2f2;
	z-index: 1;
	border-radius: 2px;
	border: 2px solid #232324;
	background-color: #2B2C2F;
	overflow: hidden;
	transition: all linear 200ms;
}

.mtg_options_btn:last-of-type {
	margin-left: 0;
}

.mtg_options_btn:first-of-type {
	margin-right: 0;
}

[data-type="dice"] {
	width: 25%;
	font-size: 34px;
	transition: all linear 0ms;
}

[data-type="planeswalker"] {
	width: 50%;
}

[data-type="options"] {
	width: 25%;
	font-size: 28px;
	transition: all linear 0ms;
}

.dice_container {
	position: fixed;
	bottom: -106px;
	left: 0;
	right: 0;
	margin: auto;
	display: inline-block;
	justify-content: center;
	background-color: #34373C;
	border-top: 2px solid #C2AB72;
	box-sizing: border-box;
	max-width: 540px;
	height: 106px;
	padding: 5px;
	transition: all linear 200ms;
	overscroll-behavior-y: contain;
	z-index: 1;
}

.options_container {
	position: fixed;
	bottom: -58px;
	left: 0;
	right: 0;
	margin: auto;
	display: inline-block;
	justify-content: center;
	background-color: #34373C;
	border-top: 2px solid #C2AB72;
	box-sizing: border-box;
	max-width: 540px;
	height: 58px;
	padding: 5px;
	transition: all linear 200ms;
	overscroll-behavior-y: contain;
	z-index: 1;
}

.pw_options_container {
	position: fixed;
	bottom: -250px;
	left: 0;
	right: 0;
	margin: auto;
	display: inline-block;
	justify-content: center;
	background-color: #34373C;
	border-top: 2px solid #C2AB72;
	box-sizing: border-box;
	max-width: 540px;
	height: 250px;
	overflow-y: scroll;
	padding: 5px;
	transition: all linear 200ms;
	overscroll-behavior-y: contain;
	z-index: 1;
}

.pw_option_btn, .dice_btn, .options_btn  {
	height: 46px;
	cursor: pointer;
	font-size: 18px;
	margin: 0;
	padding: 0;
	outline: none;
	box-sizing: border-box;
	color: #f2f2f2;
	z-index: 1;
	border-radius: 2px;
	border: 2px solid #232324;
	background-color: #2B2C2F;
	overflow: hidden;
	margin-bottom: 2px;
	width: 100%;
}

.pw_option_btn:last-of-type, .dice_btn:last-of-type, .options_btn:last-of-type {
	margin-bottom: 0;
}

.mtg_red {
	background: linear-gradient(90deg, rgba(89,6,6,1) 7%, rgba(161,20,20,1) 42%, rgba(170,41,41,1) 83%, rgba(208,32,32,1) 100%);
}

.mtg_black {
	background: linear-gradient(90deg, rgba(31,31,31,1) 7%, rgba(59,59,59,1) 61%, rgba(68,68,68,1) 94%);
}

.mtg_green {
	background: linear-gradient(90deg, rgba(27,54,25,1) 7%, rgba(62,99,65,1) 61%, rgba(54,117,61,1) 94%);
}

.mtg_white {
	background: linear-gradient(90deg, rgba(212,207,186,1) 7%, rgba(244,242,235,1) 61%, rgba(241,240,233,1) 94%);
	color: #232324;
}

.mtg_golgari {
	background: linear-gradient(90deg, rgba(27,27,27,1) 7%, rgba(50,50,50,1) 42%, rgba(29,92,42,1) 83%, rgba(32,125,42,1) 100%);
}

.mtg_rakdos {
	background: linear-gradient(90deg, rgba(27,27,27,1) 7%, rgba(50,50,50,1) 41%, rgba(149,4,4,1) 89%, rgba(191,6,6,1) 100%);
}

.mtg_boros {
	background: linear-gradient(90deg, rgba(89,6,6,1) 0%, rgba(161,20,20,1) 36%, rgba(212,207,186,1) 100%);
}

.mtg_orzhov {
	background: linear-gradient(90deg, rgba(212,207,186,1) 0%, rgba(217,212,192,1) 15%, rgba(50,50,50,1) 57%, rgba(27,27,27,1) 100%);
}

.gg {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
    height: 100%;
    width: 100%;
	max-width: 540px;
    background-color: #2B2C2F;
	border: 2px solid #232324;
	border-radius: 2px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 56px;
	z-index: 10;
	box-sizing: border-box;
	transition: all linear 100ms;
}

.loading {
	position: absolute;
	margin: auto;
	right: 0;
	left: 0;
	top: 0;
	bottom: 0;
	border: 3px solid #C2AB72;
	border-radius: 50%;
	border-top: 3px solid #34373C;
	width: 20px;
	height: 20px;
	animation: spinner 1.75s linear infinite;
	text-align: center;
	display: none;
}

@keyframes spinner {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}


/* ************************** */
/* ******* Sheepshead ******* */
/* ************************** */

.gen_wrapper {
	color: #f2f2f2;
	max-width: 540px;
	margin: 0 auto;
	background-color: #2B2C2F;
	position: relative;
}

.gen_wrapper::after {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
	z-index: -1;
}

.top_container {
	width: 100%;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #34373C;
	border-bottom: 2px solid #C2AB72;
	box-sizing: border-box;
	position: fixed;
	max-width: 540px;
	top: 0;
	left: 50%;
	transform: translate(-50%);
	z-index: 5;
	padding: 10px;
}

.game_container {
	position: relative;
	display: block;
	box-sizing: border-box;
	margin: 0 auto;
	height: 100vh;
	padding: 42px 2px 162px 2px;
	background-color: #2B2C2F;
}

.players_container {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
	height: 75%;
}

.player {
	width: 50%;
	height: 50%;
	flex: 50%;
	box-sizing: border-box;
	padding: 2px;
	border-radius: 4px;
}

.player > div {
	background-color: #232324;
	height: 100%;
	width: 100%;
	box-sizing: border-box;
	border-radius: 4px;
	border: 1px solid #e2e2e2;
	padding: 10px;
	text-align: center;
}

.pov_container {
	position: relative;
	display: block;
	box-sizing: border-box;
	height: 25%;
}

.pov {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding: 2px;
	border-radius: 4px;
}

.pov > div {
	background-color: #232324;
	height: 100%;
	width: 100%;
	box-sizing: border-box;
	border-radius: 4px;
	border: 1px solid #e2e2e2;
	padding: 10px;
	text-align: center;
}

.pov_hand {
	position: fixed;
	bottom: 60px;
	display: flex;
	height: 100px;
	width: 100%;
	max-width: 540px;
	box-sizing: border-box;
	padding: 5px;
	border-top: 2px solid #C2AB72;
	background-color: #34373C;
}

.pov_hand_cards {
	position: relative;
	box-sizing: border-box;
	border-radius: 4px;
	background-color: #e2e2e2;
	height: 100%;
	width: 100%;
	margin-right: 4px;
	padding: 10px;
	cursor: pointer;
	max-width: 85px;
}

.pov_hand_cards:last-of-type {
	margin-right: 0;
}













[data-card-card="Q"]::before {
	content: "Q";
}

[data-card-card="J"]::before {
	content: "J";
}

[data-card-card="A"]::before {
	content: "A";
}

[data-card-card="10"]::before {
	content: "10";
}

[data-card-card="K"]::before {
	content: "K";
}

[data-card-card="9"]::before {
	content: "9";
}

[data-card-card="8"]::before {
	content: "8";
}

[data-card-card="7"]::before {
	content: "7";
}

[data-card-suit="Clubs"]::after {
	content: "♣";
	margin-left: 5px;
}

[data-card-suit="Spades"]::after {
	content: "♠";
	margin-left: 5px;
}

[data-card-suit="Hearts"]::after {
	content: "♥";
	margin-left: 5px;
}

[data-card-suit="Diamonds"]::after {
	content: "♦";
	margin-left: 5px;
}

[data-card-color="Red"] {
	border: 1px solid red;
	color: red;
}

[data-card-color="Black"] {
	border: 1px solid black;
	color: black;
}

/* ********************** */
/* ******* Fonts ******* */
/* ********************* */

@font-face {
	font-family: "Cabin";
	src: url(../fonts/Cabin-Regular.ttf);
	font-weight: normal;
}

@font-face {
	font-family: "Cabin";
	src: url(../fonts/Cabin-Bold.ttf);
	font-weight: bold;
}

@font-face {
	font-family: "Cabin";
	src: url(../fonts/Cabin-Italic.ttf);
	font-style: italic;
}

/* ***************************** */
/* ******* Media Queries ******* */
/* ***************************** */

/* --- Smaller.. --- */
@media (max-width : 1040px) {
	h1 {font-size: 36px;}
	h2 {font-size: 31px;}
	h3 {font-size: 28px;}
	h4 {font-size: 25px;}
	h5 {font-size: 23px;}
	p  {font-size: 18px;}
	a  {font-size: 19px;}
}

/* --- Smaller.. --- */
@media (max-width : 860px) {
	h1 {font-size: 34px;}
	h2 {font-size: 30px;}
	h3 {font-size: 27px;}
	h4 {font-size: 24px;}
	h5 {font-size: 22px;}
}

/* --- Anything not mobile... --- */
@media (min-width : 759px) {

}

/* --- Essentially Mobile... --- */
@media (max-width : 760px) {
	h1 {font-size: 31px;}
	h2 {font-size: 28px;}
	h3 {font-size: 26px;}
	h4 {font-size: 22px;}
	h5 {font-size: 21px;}
	p {font-size: 18px;}
	a {font-size: 18px;}
}

/* --- Actual Mobile... --- */
@media (max-width : 540px) {
	p {font-size: 17px;}
	ul li {font-size: 17px;}
}

/* --- Smaller.... --- */
@media (max-width : 450px) {

}

/* --- Smaller.... --- */
@media (max-width : 400px) {

}
