/*
   New Perspectives on HTML5 and CSS3, 8th Edition
   Personal Webpage
   
   
   Layout of the content on the webpage

   
   Filename: layout_index.css

*/

@charset "utf-8";

h1 {
	grid-area: h1;
	background: none;
	color: gold;
	font: Italic bold 4em/1em 'Courier New', Courier, monospace;
	text-decoration: underline;
	padding: 0px 30px 0px 100px;
	text-shadow: purple 10px 10px 10px;
}
	
input {
	grid-area: input;
	border-radius: 20px;
	width: 25px;
	height: 25px;
	}

aside {
	grid-area: aside;
	background: gold;
	border-radius: 20px;
	font: 1em/1em 'Courier New', Courier, monospace;
	padding: 20px;
	text-align: center;
	vertical-align: justify;
	box-shadow: purple 10px 10px 10px;
	}
	
aside img {
	width: 150px;
	height: 150px;
}

footer {
	grid-area: footer;
	padding-top: 16px;
	color: gold;
	font: Italic bold 1.2em/1em 'Courier New', Courier, monospace;
	text-shadow:purple 10px 10px 10px;
}


ul {
	grid-area: button;
	background: white;
}
	
li {
	float: right;
}

li a {
	font-family: 'Courier New', Courier, monospace;
	color: black;
	background: gold;
	border-radius: 20px;
	display: block;
	padding: 12px;
	border: 1px solid #ddd;
}

li a:hover {
	background-color: #f1f1f1;
}

body {
	display: grid;
	background: repeating-radial-gradient(circle 1px, purple 10%, violet 50%);
	grid-gap: 5px;
	grid-template-columns: 2fr 10fr 3.5fr;
	grid-template-rows: auto auto 5fr;
	grid-template-areas: "h1 h1 button "
						 "input table table "
						 "aside	table table "
						 "footer footer footer";
						 
	margin: 50px;
	overflow: hidden;	
}
