/*
   New Perspectives on HTML5 and CSS3, 8th Edition
   Personal Webpage
   
   
   Layout of the content on the webpage for the store front 

   
   Filename: layout_other.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;
}

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;
	min-height: 640px;
}

aside img {
	width: 150px;
	height: 150px;
}

nav {
	grid-area: button;
}

ul {
	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;
}

article {
	grid-area: img;
	display: block;
	border-collapse: collapse;
	width: auto;
	min-height: 640px;
	box-shadow: purple 10px 10px 10px;
	align-content: center;
	border-radius: 20px;
}

article img{

	max-height: 220px; 
	margin: 1%;
}

article img:hover {
	background: purple url("poly.jpg") center/contain;
	border-radius:30px;

}

body {
	display: grid;
	background: repeating-radial-gradient(circle 1px, purple 10%, violet 50%);
	grid-gap: 5px;
	grid-template-columns: 2fr 10fr 10fr;
	grid-template-rows: auto;
	grid-template-areas: "h1    h1   button"
						 "aside img img";
						 
	margin: 50px;
	overflow: hidden;	
}

body > article{
	background-color: black;
	opacity: .9;
}