/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
.layout {
	display: grid;
	grid:
		"nav nav nav" 6%
		". header ." 1fr
		". header ." 1fr
		". article ." 1fr
		". article ." 1fr
		". article ." 1fr
		". article ." 1fr
		". article ." 1fr
		". article ." 1fr
		". footer ." 1fr
		/ 30% 30% 30%;
	gap: 5px 5%;
}

* {
	box-sizing: border-box;
}

nav {
	grid-area: nav;
	position: sticky;
	top: 0;
	overflow: hidden;
	padding-left: 10px;
	border-image-slice: 20 11 20 19 fill;
	border-image-width: 20px 11px 20px 19px;
	border-image-repeat: repeat round;
	border-style: solid;
	border-color: transparent;
	image-rendering: pixelated;
	border-image-source: url(images/notepaper.png);
}
nav a {
	float: left;
	display: block;
	border-radius: 5px;
	color: #11394a;
	text-align: center;
	margin-left: 10px;
	padding: 14px 14px 8px 14px;
	text-decoration: none;
}
nav a:visited {
	color: #11394a;
}
nav a:hover {
	color: rebeccapurple;
}
nav a.active {
	background-color: rgba(0, 63, 223, 0.3);
	color: white;
}
header {
	grid-area: header;
	text-align: center;
	display: block;
	margin: auto;
}
article {
	grid-area: article;
	overflow: auto;
	outline: 2px dashed;
	background-color: #f2f3f4;
	padding: 5% 5% 5% 5%;
}
article a {
	color: cadetblue;
}
article a:hover {
	color: OrangeRed;
}
article a:visited {
	color: cadetblue;
}
footer {
	grid-area: footer;
}
footer span {
	background-color: #f2f3f4;
	outline-style: solid;
	outline-width: 1px;
	text-align: center;
}
footer a {
	color: cadetblue;
}
footer a:hover {
	color: OrangeRed;
}
footer a:visited {
	color: cadetblue;
}

body {
	height: 100vh;
	background: url(images/beach1.png) no-repeat center center fixed;
	background-size: cover;
	font-family: "Toshiba", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
h7 {
	font-family: "kindergarten", serif;
}

@font-face {
	font-family: "Magics Flavor";
	src: url("fonts/magics flavor.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Toshiba";
	src: url("fonts/Px437_ToshibaTxL2_8x16.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "kindergarten";
	src: url("fonts/kindergarten.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}
