/*
   New Perspectives on HTML5 and CSS3, 8th Edition
   Personal Webpage
   
   
   Layout of the history info for the page

   
   Filename: layout_history.css

*/

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;
}

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: text;
	display: block;
	font: 1.5em/1em 'Courier New', Courier, monospace;
	background: gold;
	box-shadow: purple 10px 10px 10px;
	border-radius: 20px;
}

h2 {
	text-indent: .5em;
	font: Bold Italic 2em/1em 'Courier New', Courier, monospace;
	border-bottom: 3px solid black;
}
	

p {
	text-indent: 1.5em;
	display: block;
	margin: 1em;
}

article::first-line {
	text-transform: uppercase;
}

aside {
	grid-area: aside;
	background-color: black;
	border-radius: 20px;
	opacity: .9;

}


img {
	background:url(yugioh_back_background.webp);
	background-repeat:space;
	background-position: center;
}

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 text text";
						 
	margin: 50px;
	overflow: hidden;	
}
