@font-face {
	font-family: 'Rubik';
	src: url('./fonts/Rubik-Regular.woff2') format('woff2');
	font-weight: 400;
	font-display: fallback;
}

@font-face {
	font-family: 'Rubik';
	src: url('./fonts/Rubik-Medium.woff2') format('woff2');
	font-weight: 500;
	font-display: fallback;
}

body {
	font-family: 'Rubik', sans-serif;
	font-weight: 400;
	font-size: 24px;
	line-height: 1.5;
	color: #1f1f1f;
}

.container {
	display: flex;
	gap: 30px;
	align-items: center;
	width: 390px;
	height: 100vh;
	margin: 0 auto;
	background-color: #dae4ed;
}

.wrapper {
	width: 390px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.playing-field {
	display: none;
	grid-template-columns: repeat(3, 100px);
	grid-template-rows: repeat(3, 100px);
	width: 300px;
	height: 300px;
	margin: 0 auto;
}

.playing-field__cell {
	background-color: #f7f7f7;
	border: 1px solid #eaeaea;
}
.playing-field__cell:nth-child(1) {
	border-radius: 20px 0px 0px 0px;
}
.playing-field__cell:nth-child(3) {
	border-radius: 0px 20px 0px 0px;
}
.playing-field__cell:nth-child(7) {
	border-radius: 0px 0px 0px 20px;
}
.playing-field__cell:nth-child(9) {
	border-radius: 0px 0px 20px 0px;
}

.player-choice {
	width: 300px;
	margin: 0 auto;
	text-align: center;
}

.player-choice__title {
	margin-bottom: 10px;
}
.player-choice__title span {
	font-weight: 500;
}

.player-choice__container {
	display: flex;
	width: 200px;
	margin: 0 auto;
	justify-content: space-between;
}

.player-choice__button {
	width: 100px;
	height: 100px;
	background-color: #f7f7f7;
	border: 1px solid #eaeaea;
	padding: 0;
}
.player-choice__button:nth-child(1) {
	border-radius: 20px 0px 0px 20px;
}
.player-choice__button:nth-child(2) {
	border-radius: 0px 20px 20px 0px;
}

.game-result {
	display: none;
	width: 200px;
	margin: 0 auto;
	text-align: center;
}

.game-result__text {
	margin-bottom: 10px;
}

.game-result__button {
	width: 200px;
	height: 100px;
	background-color: #f7f7f7;
	border: 1px solid #eaeaea;
	border-radius: 20px;
}
