body {
	height: 100vh;
	width: 100vw;
	max-width: 100vw;
}



#canvas {
	display: flex; /* or inline-flex */
	justify-content: space-around;
	flex-direction: column;
	width: 100%;
	height: calc(100% - 43px - 10px);
}
.top-bar {
	width: 100%;
	height: 20px;
	position: relative;
	top: 5px;
	left: 0px;
	margin-bottom: 10px;
}

.timer {
	font-size: 18px;
	color: #1095DC;
}
.timer span {
	margin-left: 5px;
}
.pile {
	width: 100%;
	height: 50%;
	display: flex; /* or inline-flex */
	justify-content: space-around;
	align-items: stretch;

}

#pile card front, #pile card back {
	box-shadow: none;
}

#pile card:last-child front, #pile card:last-child back {
  	box-shadow: 5px 5px 20px rgba(0,0,0,0.7);
}

.finish-modal h2 {
	width: 100%;
	text-align: center;
}


.card-container {
	display: flex; /* or inline-flex */
	justify-content: space-around;
	align-items: stretch;
	width: 100%;
	height: 25%;

}
card {
	height: 12vmax;
	width: 12vmax;
	/* margin-left: 2.5%;
	margin-right: 2.5%; */
	min-width: 80px;
	min-height: 80px;
}

card front, card back {
	display: flex;
  	align-items: center;
	background-color: white;
	border-radius: 12.5%;
	border: 1vw solid #F26E20;
  	box-shadow: 5px 5px 20px rgba(0,0,0,0.7);
  	width: 100%;
  	height: 100%;
}

card front icon {
	display: block;
	position: absolute;
	bottom: 10px;
	right: 10px;
	color: #333;
}

card front icon i{

}
card front label {
	display: table-cell;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    font-size: 5vmax;
    color: black;
    font-weight: 700;
    -webkit-user-select: none;  /* Chrome all / Safari all */
  	-moz-user-select: none;     /* Firefox all */
  	-ms-user-select: none;      /* IE 10+ */
 	user-select: none;          /* Likely future */      
}

card front label img {
	border-radius: 50%;
}
card back label img {
	border-radius: 50%;
}



card back label {
	display: table-cell;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    font-size: 5vmax;
    color: black;
    font-weight: 700;
    -webkit-user-select: none;  /* Chrome all / Safari all */
  	-moz-user-select: none;     /* Firefox all */
  	-ms-user-select: none;      /* IE 10+ */
 	user-select: none;          /* Likely future */      
}


card.orange front, card.orange back{
	border-color: #F26E20;
}


card.blue front, card.blue back{
	border-color: #1095DC;
}


#gameTitle {
	text-align: center;
    line-height: initial;
    font-weight: 700;
    color: #323C5A;
}
.modal {
	z-index: 1000000 !important;
}
@media (max-width: 768px){
	.card-container {
		flex-wrap: wrap;
	}
	icon {
		font-size: .75em;
	}
	card {
		margin-bottom: 2.5%;
	}

	card front icon {
		display: block;
		position: absolute;
		bottom: 5px;
		right: 5px;
		color: #333;
		font-size: .6em;
	}

	card back icon {
		display: block;
		position: absolute;
		bottom: 5px;
		right: 5px;
		color: #333;
		font-size: .6em;
	}
}

@media(max-width: 563px) and (orientation: portrait) {

	#canvas {
		height: calc(100% - 63px - 10px) !important;
	}



}







