html, body {
/*	background: rgb(100,100,100);
	background: linear-gradient(0deg, rgba(0,0,0,1) 27%, rgba(10,28,28,1) 100%);*/
	font-family: "Retro Gaming", "Courier New", monospace;
	src: url("/assets/fonts/Retro Gaming.ttf");
	color: #f6f6f6;
}

#bg-img {
	position: absolute;
	left: 0;
	display: block;
	top: 0;
	min-height: 100%;
	z-index: -2;
	background-attachment: fixed;
	background-image: url("/assets/home/home_bg.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 0;
}

.top-container {
	grid-area: header;
	margin: auto;
	width: 3fr;
	padding: 0;
}

#updates {
	grid-area: update;
	max-height: 500px;
}

#email-form {
	grid-area:mail;
	max-height: 500px;
}

.content {
	grid-area: main;
	height: 545px;
}

#planning {
	grid-area: plans;
	max-height: 500px;
}

#gifypet {
	grid-area: pet;
	max-height: 545px;
	min-width: 375px;
}

#gifypet iframe {
	display: block;
	margin: auto;
}

.sidebar {
	margin: calc(2em + 150px + 20px) 0 0 1em;
	padding: 20px;
	width: 15em;
	background: rgba(0,0,0,0.8);
	position: fixed;
	overflow: auto;
	height: 700px;
	border: #f6f6f6 3px ridge;
	box-shadow: 0 0 5px #fff, 0 0 15px #f6f6f6;
	list-style-type: square;
	list-style-position: inside;
}

.sidebar-item {
	border-top: #f6f6f6 3px ridge;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

.grid-container {
	display: grid;
	grid-template-areas: "header header header"
	"main main pet"
	"mail mail update"
	". . plans";
	gap: 0;
	width: 1fr;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: auto;
    overflow-y: auto;
	margin: 2em 2em 2em 20em;
	text-align: justify;
	text-justify: inter-word;
}

.grid-container > div {
	color: #e6e6e6;
	padding: 2em;
	font-size: 12pt;
	background: rgba(0,0,0,0.8);
	padding: 2em;
	height: minmax(0px, 700px);
	overflow: scroll;
	margin: 1em;
	border-radius: 2px;
	border: rgb(195,200,230) 3px solid;
	box-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #f6f6f6;
}

h1, h2, h3, h4, h5, h6 {
	color: #0099ff;
	font-weight: bold;
	font-style: italic;
	text-align: center;
	font-family: "Alagard", Garamond, serif;
	src: url("/assets/fonts/alagard.ttf");
	text-shadow: 0 0 10px #3399ff, 0 0 15px #0066ff, 0 0 30px #0066ff;
}


a {
	font-style: italic;
	color: #3399ff;
	text-shadow: 0 0 5px #009999, 0 0 10px #009999;
}

a:visited {
	color: #33cccc;
	text-shadow: 0 0 5px #33cccc, 0 0 10px #009999;
}

a:active {
	color: #66ccff;
	text-shadow: 0 0 10px #3399ff, 0 0 20px #0066ff, 0 0 40px #0066ff;
}

li {
	text-align: center;
	list-style-type: none;
}

.update {
	border-top: #f6f6f6 3px ridge;
}

#updates h2, #planning h2, #gifypet h2 {
	border: #f6f6f6 3px ridge;
	margin: 0;
	padding: 1em 2em 1em 2em;
	margin: 0 0 1em 0;
}

#updates li, #planning li {
	text-align: center;
	list-style-type: square;
}

@media screen and (max-width: 900px) {
	.sidebar {
		width: auto;
		height: auto;
		margin-right: 1em;
		position: relative;
		margin-left: 1em;
		margin-top: 1em;
	}
	.sidebar a {
		text-align: center;
		float: none;}
	.grid-container {
		margin: 1em 1em 0 1em;
		width: auto;
		height: auto;
		position: relative;
		grid-template-columns: 1fr;
		gap: 1em;
		grid-template-areas: "header"
		"main"
		"pet"
		"mail"
		"plans"
		"update";
	}
	.grid-container > div {
		padding-left: 1em;
		padding-right: 1em;
		width: auto;
		height: auto;
	}
	.top-container {
		height: auto;
		position: relative;
		margin: 0 0 0 0;
		padding: 0 0 0 0;
	}
}
