/* css Zen Garden default style v1.02 */
/* css released under Creative Commons License - http://creativecommons.org/licenses/by-nc-sa/1.0/  */

/* This file based on 'Tranquille' by Dave Shea */
/* You may use this file as a foundation for any new work, but you may find it easier to start from scratch. */
/* Not all elements are defined in this file, so you'll most likely want to refer to the xhtml as well. */

/* Your images should be linked as if the CSS file sits in the same folder as the images. ie. no paths. */


/* basic elements */
html {
	margin: 0;
	padding: 0;
	background-color: #e0dccc;
	}
	body{
		margin: 0;

	}
	h1{
		margin: 0;
		padding-left: -30px;
		padding-top: 100px;
		font-size: 70px
	}
	h2{
		margin-top: 900px;
		padding-left: 13vh;
	}
	h3{
		text-align: center;
	}
.page-wrapper{
	display: grid;
	grid-template-columns: 1fr 1fr;
}

header {
	color: #cbc5ad;
	grid-column: span 2;
	height: 1000px;
}

.intro {
	background-color: black;
	background-image: url(imgs/chess-pieces.jpg);
	background-size: cover;
	background-repeat: no-repeat;
 	grid-column: span 2;
 	padding-left: 7em;
 	height: 180vh;
 	background-position: top center;
}

.preamble {
	width: 47.7%;
	position: absolute;
	top: 143.2vh;
	background: #e0dccc;
	right: 0;
	padding: 1em;
}

.preamble p {
	padding-right: 1em;
}


.main{
	display:grid;
	grid-template-columns: 50% 50%;
	grid-column: span 2;

}


.explanation {
	padding: 1em;
	color: black;
}


.benefits{
	padding: 1em;
	background: black;
	color: #cbc5ad;
}


.summary {
	position: absolute;
	color: #cbc5ad;
	top: 160vh;
	right: 102vh;
	width: 47.3%;
}



.requirements{
	padding: 1em;

}


.participation{
	background: black;
	color: #cbc5ad;
	padding: 1em;
}

footer {
	position: absolute;
	top: 135vh;
	right: 10vh;
	bottom: 0;
}



.design-selection ul{
	display:grid;
	grid-template-rows: 15em 15em;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	padding-left: 10em;

}

.design-selection ul li:nth-child(5), .design-selection ul li:nth-child(6), .design-selection ul li:nth-child(7), .design-selection ul li:nth-child(8) {
	position: relative;
	left: 50px;
	background-image: url(imgs/chip-black.png);
	background-repeat: no-repeat;
	background-size: 180px;
	color: #cbc5ad;
	padding-top: 4em;
	padding-left: 2em;
	padding-right: 10em;
	list-style: none;
}
.design-selection ul li:nth-child(1), .design-selection ul li:nth-child(2), .design-selection ul li:nth-child(3), .design-selection ul li:nth-child(4) {
	position:relative;
	right: 50px;
	background-image: url(imgs/chip-red.png);
	background-size: 180px;
	background-repeat: no-repeat;
	color: black;
	padding-top: 4em;
	padding-left: 2em;
	padding-right: 10em;
	list-style: none;
}
.design-selection ul li:nth-child(1) a, .design-selection ul li:nth-child(2) a, .design-selection ul li:nth-child(3) a, .design-selection ul li:nth-child(4) a{
	color: black;
}

.design-selection ul li:nth-child(5) a, .design-selection ul li:nth-child(6) a, .design-selection ul li:nth-child(7) a, .design-selection ul li:nth-child(8) a{
	color: #cbc5ad;
}

.sidebar{
	grid-column: span 2;
}

footer a{
	color:#cbc5ad;
}

.zen-resources ul{
	display:flex;
	flex-direction: row;
	justify-content: space-around;
	padding-bottom: 3em;
	list-style: none;
}

nav ul{
	display:flex;
	flex-direction: row;
	justify-content: space-around;
	list-style: none;
}

@media only screen and (max-width: 600px) {

	.main{
		display: block;
		padding-top: 12em;
	}

	.intro {
		background-color: black;
		background-image: url(imgs/chess-pieces.jpg);
		background-size: 100;
		background-repeat: no-repeat;
	 	grid-column: span 2;
	 	padding-left: 2em;
	 	height: 65vh;
	 	background-position: top center;
	}

	h1{
		margin: 0;
		padding-right: 170px;
		padding-top: 20px;
		font-size: 40px;
	}

	.preamble {
		width: 95%;
		position: absolute;
		top: 360px;
		background: black;
		right: 0;
		padding: 1em;
		color:#cbc5ad;
		padding-left: 3em;
	}
	footer {
		position: absolute;
		top: 45vh;
		right: 5vh;
		bottom: 0;
	}

	.design-selection ul{
		display:grid;
		grid-template-rows: 15em 15em 15em 15em;
		grid-template-columns: 15em 15em;
		padding-left: 4em;
	}

	.design-selection ul li:nth-child(1), .design-selection ul li:nth-child(2), .design-selection ul li:nth-child(3), .design-selection ul li:nth-child(4) {
		position:relative;
		right: 0px;
		background-image: url(imgs/chip-red.png);
		background-size: 180px;
		background-repeat: no-repeat;
		color: black;
		padding-top: 4em;
		padding-left: 2em;
		padding-right: 5em;
		list-style: none;
	}

	.design-selection ul li:nth-child(5), .design-selection ul li:nth-child(6), .design-selection ul li:nth-child(7), .design-selection ul li:nth-child(8) {
		position: relative;
		left: 0px;
		background-image: url(imgs/chip-black.png);
		background-repeat: no-repeat;
		background-size: 180px;
		color: #cbc5ad;
		padding-top: 4em;
		padding-left: 2em;
		padding-right: 5em;
		list-style: none;
	}

	.zen-resources ul{
		display:flex;
		flex-direction: row;
		justify-content: space-around;
		padding-bottom: 3em;
		list-style: none;
		padding-left:0;
	}

	nav ul{
		display:flex;
		flex-direction: row;
		justify-content: space-around;
		list-style: none;
		padding-left:0;
	}

}
