/* /activities/Peter's Brain Games 2/iGrow/styles.css */
*:focus {outline: none;} /* prevents outline on clicked items */
* { /* reset */
	padding:0;
	margin:0;
	box-sizing:border-box;
}
body {
	background-color:lightgreen;
	font-family:sans-serif;
	font-size:24px;
	color: #007;
}
#main {
	width:960px;
	margin: 0 auto;
	text-align: center;
}
#head {
	display:flex;
	width:96%;
	padding-top:5px;
	justify-content:space-around;
	align-items: center;
}
#head div {
	color:blue;
	font-style:italic;
	font-size:1.4em;
	font-family:serif;
	letter-spacing: 1px;
}
#head img {
	width:60%;
}
#grid1 {
	width:82%;
	display:flex;
	flex-wrap:wrap;
	margin-bottom:10px;
}
#grid2 {
	width:95%;
	display:flex;
	flex-wrap:wrap;
}
.cell1 {
	width:46px;
	height:46px;
	outline:1px solid brown;
	background-color:ivory;
}
.cell2 {
	width:43px;
	height:43px;
	outline:1px solid brown;
	background-color:ivory;
	cursor:pointer;
}
#buttons {
	display:flex;
	width:96%;
	justify-content:space-around;
}
.butn {
	height: 44px;
	padding: 7px 18px 3px 18px;
	text-transform: uppercase;
	border:2px solid #db2;
	border-radius:5px;
	color:ivory;
	cursor:pointer;
	border-radius:10px;
	background-color:#00f;
}
#colours {
	display:flex;
	width:90%;
	justify-content:space-around;
}
.cell3 {
	width:40px;
	height:40px;
	outline:4px solid brown;
	background-color:green;
	cursor:pointer;
}
#panel {
	display:table;
	outline:2px solid mediumblue;
	background-color:#ffebcd;
	color:black;
	text-align: left;
	font-family:sans-serif;
	line-height: 1.1;
}
#panel p {
	padding:10px 10px 7px 15px;
}
#grid1, #grid2, #buttons, #colours, #panel {
	margin: 0 auto 50px auto;
}
#grid1 {
	margin-bottom: 20px;
}

.smiley {
	display:none;
	margin:5px 0 0 5px;
	position:absolute;
	left:0;
	top:0;
}
#reward img {
}
#sad img {
}
@media screen and (orientation:landscape) {
	#main {
		width:1200px;
		display:flex;
		justify-content: space-between;
		align-items: flex-end;
	}
	#grid1 {
		width: 748px;
	}
	#grid2 {
		width:861px;
	}
	.cell1 {
		width:42px;
		height:42px;
	}
	.cell2 {
		width:41px;
		height:41px;
	}
	#panel {
		margin: 10px auto;
	}
	#colours {
		order:1;
	}
	#head, #landscape_centre {
		order:2;
	}
	#buttons {
		order:3;
	}
	#buttons, #colours {
		flex-direction: column;
		align-items: center;
		width: 120px;
		height: 550px;
	}
	#buttons, #colours, #grid2 {
		margin-bottom:0;
	}
}

