html{
	place-items: center;
}

#board{
	position: fixed;
	left: 50%;
	transform: translate(-50%);
	width: 100%;
	max-width: 800px;
	height: 100%;
	display: grid;
	grid-template-columns: auto;
	grid-template-rows: 100px 100px auto auto;
	text-align: center;
	justify-content: center;
}

#images{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}
.img img{
	width: 120%;
}

#chance img{
	max-width: 50px;
	aspect-ratio: 1;
	margin-top: 20px;
}
#lock{
	width: 100%;
	height: 100%;
	position: fixed;
	left: 0px;
	top: 0px;
	background-color: rgba(0, 0, 0, 0.84);
	display: flex;
	justify-content: center;
	align-items: center;
}
#lock button,#play, #refresh{
	font-size: 1rem;
	font-family: 'Courier New', Courier, monospace;
	background-color: dodgerblue;
	color: white;
	border: none;
	padding: 20px;
	border-radius: 7px;
	cursor: pointer;
}
#play, #refresh{
	width: 40px;
	aspect-ratio: 1;
	padding: 0px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 2rem;
}

center{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}

@media screen and (max-width: 600px) {
	#images{
		grid-template-columns: repeat(3, 1fr);
	}
	#chance img{
		max-width: 40px;
		aspect-ratio: 1;
		margin-top: 20px;
	}
}