body {
	background-color: green;
}

/*********************
** Welcome block
**********************/

#welcome {
	text-align: center;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(2, 44, 2, 0.8);
    z-index: 2;
}

#welcome h2 {
	color: #fff;
	font-size: 32px;
	line-height: 46px;
	margin: 30vh 0 60px;
}

#welcome button {
	border-radius: 10px;
	border: unset;
	background-color: #fff;
	padding: 20px 50px;
	transition: all 500ms;
}

#welcome button:hover {
	color: white;
	background-color: green;
}


/*********************
** Game Styles
**********************/
#root {
	max-width: 995px;
	min-height: 100vh;
	position: relative;
}

.hit-btn {
	position: absolute;
    bottom: 20%;
	right: 20%;

	padding: 16px 46px;

    border: 1px solid #1b761b;
	border-radius: 10px;

    background-color: rgba(255, 255, 255, 0.69);
    box-shadow: 1px 4px 10px 0px rgba(0, 0, 0, 0.28);
}

.hit-btn:hover {
    box-shadow: 1px 4px 10px 0px rgba(0, 0, 0, 0.50);
}


/*********************
** Card Style
** NOTE: 216px/314px is basic width/height of card image
** And yes.. Generally, we have the option of doing it with transform: scale(X).
**********************/
.card {
	width: calc(216px / 2);
	height: calc(314px / 2);

	position: relative;

	transition: transform 1s;
	transform-style: preserve-3d;
}

.card.is-flipped {
	transform: rotateY(180deg);
}

.card__face {
	width: 100%;
	height: 100%;

	position: absolute;

	line-height: 260px;
	color: white;
	text-align: center;
	font-weight: bold;
	font-size: 40px;

	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.card__face--front {
	background-image: url('https://deckofcardsapi.com/static/img/6D.png');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 100% 100%;

	transform: rotateY(180deg);
}

.card__face--back {
	background-image: url('images/back-card.png');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
}


/*********************
** Deck
**********************/
.deck .card {
	position: absolute;
	top: 20px;
	left: 80%;

	transition: all 1s;

	width: calc(216px / 1.75);
	height: calc(314px / 1.75);
}

/*********************
** Dealer's cards
**********************/
.dealers-cards .card {
	position: absolute;
	top: 30px;
}

.dealers-cards .card.place-1 {
	left: 10%;
}

.dealers-cards .card.place-2 {
	left: 30%;
}

.dealers-cards .card.place-3 {
	left: 50%;
}


/*********************
** Players's cards
**********************/
.players-cards .card {
	position: absolute;
	top: calc(314px * 1.5);
}

.players-cards .card.place-a {
	left: 25%;
}

.players-cards .card.place-b {
	left: 50%;
}


/*** By default everything is hidden ***/
.dealers-cards .card,
.players-cards .card {
	display: none;
}


/*****************************
** A little bit of glitz :D
*****************************/
@media only screen and (max-width: 825px) {
	.hit-btn {
		right: 5%;
	}

	.players-cards .card.place-a {
		left: 15%;
	}

	.players-cards .card.place-b {
		left: 40%;
	}

	.deck .card {
		left: 75%;
	}
}
