.score {
	position: absolute;
	top: 20%;
	left: 50%;
	transform: translateX(-50%);
}

.card {
	position: absolute;
	width: 35%;
	height: 35%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	cursor: pointer;
	font-size: 3em;
	background-color: white;
}

.card p {
	font-size: 0.75em;
}

.cardFront, .cardBack, .pickGrid div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.cardFront, .cardBack {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	border: 1px solid #ccc;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
	transition: transform 0.15s ease-out;
	-webkit-backface-visibility: hidden; /* Safari */
	backface-visibility: hidden;
}

.cardFront {
	transform: rotateY(0deg);
}

.cardBack {
	transform: rotateY(180deg);
}

.pickGrid {
	position: absolute;
	display: grid;
	width: 35%;
	height: 50px;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 10px;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	gap: 5px;
	border: 1px solid #000;
	background-color: gray;
}

.pickGrid div {
	cursor: pointer;
	background-color: white;
	transition: color 0.15s ease-out, background-color 0.15s ease-out;
}

@media only screen and (max-width: 768px) and (orientation: portrait) {
	.card, .pickGrid {
		width: 80%;
	}
	.card p {
		font-size: 0.65em;
	}
}