*{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
body{
	font-family: monospace, sans-serif;
}
main{
	width: 100vw;
	height: 100vh;
	background-color: #795548;

	display: flex;
	justify-content: center;
	align-items: center;
}

/*tabuleiro------------------*/
main .tabuleiro{
	width: 300px;
	height: 300px;
	display: grid;
	grid-template: repeat(3, 1fr)/repeat(3, 1fr);
	grid-gap:2px;
	background-color: #262120;
	
}
.tabuleiro .casa{
	box-shadow: inset 2px 2px 4px #aaa;
	background-color: ghostwhite;
	position: relative;
	cursor: pointer;
}
.casa::after{
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
}
.casa.o::after{
	background: url(../image/circle.png);
	background-size: 60%;
	background-position: center;
	background-repeat: no-repeat;
}
.casa.x::after{
	background: url(../image/time.png);
	background-size: 60%;
	background-position: center;
	background-repeat: no-repeat;
}
/*Erros-------------------*/
.erro{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: transparent;
	display: none;
	justify-content: center;
	align-items: center;
}
.texto{
	width: 350px;
	height: 150px;
	background-color: rgba(0, 0, 0, 0.8);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-size: 20pt;
	color: #fff;
}
.texto span:not(.txt-erro){
	font-family: ;
	font-weight: normal;
	font-size: 10pt;
}

/*Modal re fim do Jogo*/
.modal-fim{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.text-modal{
	margin-bottom: 30px;
	font-family: 'Comic Sans MS', sans-serif;
	font-size: 40pt;
	color: #fff;
	text-align: center;
}
.text-change{
	font-size: 25pt;
}
.btn-modal .btn{
	border: none;
	padding: 12px 18px;
	margin: 10px;
	background-color: ghostwhite;
	font-size: 13pt;
	cursor: pointer;
}

/*Pontos-------------*/
.pontos{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	justify-content: space-evenly;
	padding: 10px;

	background-color: ghostwhite;
	transition:all ease 0.5s;
}