@charset "UTF-8";
/* CSS Document */

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-size: 14px;
}

body {
	font-family: 'Yanone Kaffeesatz', sans-serif;
	font-weight: 400;
	letter-spacing: .04em;
	color: black;
}

header #header_content {
    width: 100%;
	position: relative;
    background: url("images/cell_bars.svg");
    background-size: cover;
    padding-top: 56%;
    height: 0;
}

header h1 {
    position: absolute;
    top: 0;
    opacity: 0;
}

nav {
	position: absolute;
	top: 10%;
	margin-left: 50px;
	z-index: 2;
}

ul {
	display: flex;
	list-style-type: none;
}

nav ul li a {
	display: block;
	width: 80px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
	font-size: 1em;
    letter-spacing: .1em;
	color: white;
	background-color: black;
	margin-right: 50px;
}

nav a:hover {
    color: gold;
}

section {
	text-align: center;
}

#top {
	padding: 20px 20px;
}

section h2 {
	font-size: 1.9em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
}

section p {
	font-size: 1.5em;
}

article h1, footer h1 {
	font-size: 1.6em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
}

article p {
	font-size: 1.3em;
}

.grid {
    padding: 0;
}

.grid article div{
	padding: 30px;
}

.grid a {
    display: block;
    width: 130px;
	text-decoration: none;
	color: gold;
	padding:10px;
	line-height: 10px;
	background-color: black;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 1em;
	letter-spacing: .1em;
    margin: 5px auto;
}

.grid a:hover {
    color: white;
}

#cell1, #cell4 {
	background-color: coral;
}

#cell2, #cell5 {
	background-color: burlywood;
}

#cell3, #cell6 {
	background-color: gold;
}

#cell3 p {
	text-align: left;
}

#cell6 img {
    width: 20%;
    margin: 7px 7px 0 7px;
}

footer {
	background-color: black;
	line-height: 50px;
	padding: 20px;
	clear: both;
}

footer section {
	margin: 0px auto;
	display: flex;
    justify-content: center;
	width: 300px;
}

footer h1 {
	color: white;
	text-align: right;
    margin-right: 15px;
}

footer a {
	text-decoration: none;
    margin-right: 15px;
}

footer a:hover {
    background: coral; height: 35px;
	border-radius: 35px;
}


@media only screen and (min-width: 320px) {
        
    nav {margin-left: 20px; top: 8%; }
    
    nav ul li a { margin-right: 15px;}
    
    #cell6 img { width: 30%; margin: 7px;}
	
	#top { padding-left: 25px; padding-right: 25px; }
	
	#top h2 { font-size: 1.7em; }
    
}


@media only screen and (min-width: 700px)  {

	.grid {display: grid; grid-template-columns: 1fr 1fr; grid-gap: 0px; }

}



@media only screen and (min-width: 960px)  {
	header #header_content { display: block; width: 960px; margin: auto; background-size: contain; background-repeat: no-repeat;  height: 537px; padding-top: 0px; z-index: 2; }
	#black-bar { position: absolute; height: 366px; width: 100%; top: 172px; background-color: black; z-index: 1; }
	nav { top: 20%;}
	nav ul li a { font-size: 1.3em; }
	article div { width: 480px; }
	#cell1 div, #cell3 div, #cell5 div { float:right; }
	#cell1 div, #cell4 div { background-color: coral; height: 100%; }
	#cell2 div, #cell5 div { background-color: burlywood; height: 100%; }
	#cell3 div, #cell6 div { background-color: gold; height: 100%; }
	#cell1, #cell4  { background-color: #FD652D; }
	#cell2, #cell5 { background-color: #E1A454; }
	#cell3, #cell6 { background-color: #FFC600 }
	
}


