@charset "utf-8";


.playarea {
	max-width: calc(100vh * 0.7);
	position: relative;
  margin: auto;
  background: #000000;
}

.wall {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	grid-template-rows: repeat(15, 1fr);
	gap: 0px 0px;
	padding: 8px;
}
.wall.player {
	box-sizing: border-box;
	width: 100%;
	transition: width 1s ease;
}
.wall.editor {
	grid-template-columns: repeat(4, 1fr) 2fr;
}
.wall.links {
	grid-template-columns: 1fr;
}
.brick-cell {
  background: #000000;
}
@media screen and (orientation:landscape) {
	.wall.player.won {
		width: 66%;
	}
	.wall.links {
		box-sizing: border-box;
		width: 33%;
		position: absolute;
		right: 0;
		top: 0;
	}
}

.wall > div {
	position: relative;
}
.wall.player .brick,
.wall.links .link {
	height: 100%;

	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}
.wall.player .brick {
	position: relative;
	top: 0;
	left: 0;
	transition: top 1s ease, left 1s ease;
}

.brick {
	border-radius: 5px;

	color: #000000;
	background: #c99868;
}

.brick.groupfound {
	color: #FFFFFF;
	background: #a97746;
}
.brick.group0 {
	color: #FFFFFF;
	background: #c99868;
}


.link.group0 {
	border: 2px solid #054872;
}
.link .hidden {
	font-style: italic;
}

.wall.editor input {
	box-sizing: border-box;
	width:100%;
	padding:3px;
	background: transparent;
	border: none;
	outline: none;
	color:#FFFFFF;
}
input[type=button] {
	margin: 10px;
	padding: 5px;
	background: #FFFFFF;
	border-radius: 5px;
	outline: none;
}
textarea {
	margin: 10px;
	width: 800px;
	height: 100px;
	outline: none;
}