#main {
	margin: 30px 0px;
	text-align: center;
	white-space: nowrap;
}

#popup {
	display: none;
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100vw;
	height: 100vh;
	background-color: #0007;
	justify-content: center;
	align-items: center;
	z-index: 1001;
	user-select: none;
}

#popup-content {
	position: relative;
	width: 300px;
	height: 300px;
	background-color: var(--main-bg-color);
	margin: 0px;
	text-align: center;
	border-radius: 30px;
}

#popup-content::before,
#popup-content::after {
	content: '';
	position: absolute;
	display: block;
	left: 50%;
	transform: translate(-50%, -50%);
}

#popup-content::before {
	top: 120px;
}

#popup-content.black::before,
#popup-content.white::before {
	height: 90px;
	width: 90px;
	border-radius: 100%;
	border: 3px solid var(--main-text-color);
}

#popup-content.black::before {
	background-color: #000;
}

#popup-content.white::before {
	background-color: #fff;
}

#popup-content.draw::before {
	height: 8px;
	width: 50px;
	background-color: var(--main-text-color);
}

#popup-content::after {
	font-size: 30px;
	top: 210px;
}

#popup-content.black::after,
#popup-content.white::after {
	content: 'Winner!';
}

#popup-content.draw::after {
	content: 'Draw!';
}

#board {
	zoom: min(1, calc(100cqw / 670px));
}

.disc {
	position: relative;
	display: inline-block;
	width: 80px;
	height: 80px;
	margin: -0.75px;
	padding: 0px;
	line-height: 80px;
	color: var(--leaf-green-color);
	font-size: 70px;
	text-align: center;
	border-radius: 0px;
	border: 1.5px solid var(--black-color);
	background-color: var(--leaf-green-color);
	user-select: none;
}

.disc.black::after,
.disc.white::after,
.disc.valid::before {
	content: '';
	position: absolute;
	display: block;
	border-radius: 100%;
	top: 50%;
	left: 50%;
	height: 70px;
	width: 70px;
	transform: translate(-50%, -50%);
}

.disc.black::after {
	background-color: #000;
}

.disc.white::after {
	background-color: #fff;
}

.disc.valid::before {
	background-color: var(--grey-green-color);
	height: 15px;
	width: 15px;
}

.but {
	display: inline-block;
	font-family: var(--main-font);
	width: 130px;
	height: 40px;
	margin: 10px;
	font-size: 22px;
	line-height: 40px;
	border-radius: 10px;
	border: 0px;
	background-color: var(--main-light-color);
	user-select: none;
}

br {
	user-select: none;
}
