/* 这个是网页样式的简化版 */
/* 注意vw代表的是屏幕的可用宽度分成100份,vh是可用高度 */

body {
	margin: 0;
	background-color: #faf8ef;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

p {
	margin: 0;
}

.title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 3.6vw;
	color: #776e65;
}

.title .right {
	display: flex;
	text-align: center;
}

.title .right p {
	margin-left: 2vw;
	padding: 2vw 0;
	width: 20vw;
	background-color: #bbada0;
	color: white;
	text-transform: uppercase;
	font-size: 3vw;
	border-radius: 5px;
}

.title .right p span {
	display: block;
	font-size: 6vw;
	font-weight: bold;
}

.newgame {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 3.6vw;
	font-weight: bold;
	color: #776e65;
}

.newgame button {
	background-color: #8f7a66;
	color: white;
	border: none;
	outline: none;
	width: 30vw;
	padding: 5vw 0;
	text-transform: capitalize;
	border-radius: 5px;
}

.game {
	margin: 3.6vw;
	padding: 1.4vw;
	background-color: #bbada0;
	border-radius: 5px;
}

.game .stage {
	position: relative;
}

.game .stage ul.bg {
	display: flex;
	flex-wrap: wrap;
}

.game .stage ul.cards {
	position: absolute;
	top: 0;
	left: 0;
	/* background-color: red; */
}

.game .stage ul li {
	width: 22.5vw;
	height: 22.5vw;
	padding: 1.4vw;
	box-sizing: border-box;
	background-clip: content-box;
	background-color: rgba(238, 228, 218, .35);
	border-radius: 10px;
}

.game .stage ul.cards li {
	background-color: #eee4da;
	color: #776e65;
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 10vw;
	font-weight: bold;
}