/*create responsive container*/
body {
	background-color: #BBB;
	margin: 0px;
	font-family: 'roboto',
		sans-serif;
	background-image: url("../images/old-grunge-black-gray-background.png") !important;
	background-position: center center;
	background-repeat: none;
	background-attachment: fixed;
	background-size: cover;
}

h1 {
	color: black;
    font-family: "diazo-mvb-rough1-ex-cond", sans-serif;
    font-weight: 900;
    font-style: bolder;
	text-align: center;
    font-size: 5rem;
    margin: 10px;
}

.back_val {
	font-family: 'roboto', sans-serif;
}

.back_val h2 {
	font-weight: normal;
	color: black;
	text-decoration: none;
}

button {
	width: 20%;
	margin-left: 20px;
	font-weight: bold;
}

a {
	color: black;
}

a:hover {
	color: #7298a3;
}

button:hover {
	background-color: #FFFF00;
}

button:active {
	background-color: #00FFFF;
}

#standard-deck {
	width: 1420px;
	margin: 0px auto;
	position: relative;
	/*add overflow hidden to get rid of the flash inbetween cards*/
	overflow: hidden;
	min-height: 800px;
}

/*showing multiple hovers at once*/
#standard-deck:hover .card_front {
	background-color: #fffcf6;
}

#info_cont,
#deck_cont,
#discard_cont {
	position: relative;
}

#info_div {
	background-color: rgba(255, 0, 255, 0.5);
	padding: 1em;
	margin-bottom: 1em;
}


/*deck position*/
#deck_div {
	min-height: 400px;
	width: 55%;
	float: right;
	margin: 2em 11em;
	position: relative;
}



.suit_container {
	height: 60px;
	width: 30px;
	position: absolute;
	font-size: 1.5em;
	text-align: center;
}



.suit_container:last-child {
	right: 10px;
	bottom: 10px;
	-ms-transform: rotate(180deg);
	/* IE 9 */
	-webkit-transform: rotate(180deg);
	/* Chrome, Safari, Opera */
	transform: rotate(180deg);
}

.card_container {
	float: left;
	margin-right: 40px;
	margin-bottom: 40px;
	width: 200px;
	height: 300px;
	cursor: pointer;
	position: relative;
}

.card_front,
.card_back {
	backface-visibility: hidden;
	position: absolute;
	top: 0;
	left: 0;
	cursor: pointer;
	border: thin solid #ADD8E6;
	border-radius: 10px;
	padding: 20px;
	width: 180px;
	height: 300px;
	background-color: white;
	text-align: left;
	line-height: 1.75em
}

.card_front {
    background-image: url("../images/card_back_02.png");
	z-index: 2;
	transform: rotateY(0deg);
	background-position: -80px -50px;
}

.card_back {
	transform: rotateY(180deg);
	background-position: -915px -867px;
}

.back_val img {
	width: 40px;
	display: block;
	margin: 0 auto;
}

.back_val a {
	display: block;
	padding: 10px;
}


.card_category,
.category_val {
	position: absolute;
	bottom: 20px;
	width: 100%;
	text-align: center;
	text-transform: uppercase;
	position: absolute;
	left: 0px;
	font-size: .8em;
	letter-spacing: 0.5px;
}

.stacked_card {
	position: absolute;
}


.row {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	min-height: 320px;
}

.row.zone {
	margin-bottom: 2em;
	padding: 1em;
}

button {
	border-radius: 0px;
	padding: 5px 10px;
	background-color: white;
	border: thin solid #ccc;
	font-size: 1.1em;
    font-weight: normal;
}


img {
	width: 40px;

}

html,
body {
	/* Allows content to span entire width of page */
	margin: 0;
	padding: 0;
	height: 100%;
	text-align: center;
}

footer {
	background-color: rgba(0, 255, 255, 0.7);
	color: black;
	/* Ensures footer to stay in place */
	position: absolute;
	bottom: 0;
	width: 100%;
}