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

body {
	background: #9796f0;  /* fallback for old browsers */
	background: -webkit-linear-gradient(to right, #fbc7d4, #9796f0);  /* Chrome 10-25, Safari 5.1-6 */
	background: linear-gradient(to right, #fbc7d4, #9796f0); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
font-family: sans-serif;

}

h1, h2, h3, h4{
	font-family: 'Press Start 2P', cursive;
	color: indigo; 
	
}

#wrapper {
	width: 1024px;
	margin: 0 auto;
	
}

header, footer {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

header nav, footer nav  {
	text-align: right;
	margin-top: 30px;
}

header nav a, footer nav a {
	color: #491174;
	font-weight: bold;
	font-size: 18pt;
	text-decoration: none;
	margin-left: 10px;
}

header nav a:hover, footer nav a:hover{
	color: #FF0083;
}



.hero {
	display: grid;
	grid-template-columns: 1fr;
	height: 400px;
	border: 1px solid #4B4B4B;
	background-image:url("images/coding-g4cc591746_1280.jpg");
	background-position: top;
	background-size: cover;
	
	align-content: center;
	text-align: right;
	padding-right: 20px;
}

.hero h1 {
	color: white;
	text-shadow: 2px 2px blue;
	font-size; 3em;	
}




/* Row with three boxes */

.grid1 {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-column-gap: 10px;
	margin-top: 10px;
}

.grid1 div {
	height: 320px;
	background-color:#FCEBFA;
	text-align: center; 
	padding: 10px;
	box-sizing: border-box;
}
.grid1 i {
	color: darkmagenta;
	margin-top: 25px;
}



/* row with article and aside */

.grid2 {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-column-gap: 10px;
	background-color: white;
	margin-top: 10px;
}

.grid2 article {
  	border: 1px solid grey;
	height: 400px;
	text-align: center;
}

.grid 2 article iframe {
	width: 640px;
	height: 360px;
	margin-top: 20px;
	
}
.grid2 aside {
	border: 1px solid grey;
	height: 400px;
	padding: 10px;
	box-sizing: border-box;
	display: grid;
	align-content: center;
	text-align: center;
}




/* row with 2 boxes */

.grid3 {
	display: grid;
	grid-template-columns: 1fr 3fr;
	grid-column-gap: 10px;
	margin-top: 10px;
}

.grid3 section {
	height: 300px;
	background-color:#F8DAF4;
	padding: 10px;
	box-sizing: border-box;
	text-align: center;
	display: grid;
	align-content: center;
}

.grid3 article {
	height: 300px;
	background-color:#F8DAF4;
}

.grid3 iframe {
	width: 100%;
	height: 300px;
}






