@charset "UTF-8";

body {
	padding: 10px;
	font-family:"lucida console","courier new";
	color:black;
	background-image:url(images/bluewater.jpg);
}

.container {
	max-width: 55rem;
	margin: 5vw auto 12px auto;
	outline: 3px solid violet;
	outline-offset: 4px;
	border-radius: 10px;
	display: flex;
	flex-wrap: wrap;
	padding: 5px;
	gap: 5px;

	/* container background pattern */
	background-image:url(images/water.jpg);
}
/* these control the column widths */
.small { flex: 1 1 9%; }
.large { flex: 1 1 82%; }
.full { flex: 1 1 100%; }
.half { flex: 1 1 49%; }


header {
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 120px; /* change banner height here*/
	border: 2px ridge;
	border-radius: 5px;
	position: relative;
	background-image:url(images/bluesatin.jpg);
}
header span {
	font-size: 2.5rem;
	position: absolute;
	bottom: 0;
	right: 10px;
	margin: 10px;
	font-weight: bold;
}

nav {
	border: 2px ridge;
	border-radius: 5px;
	padding: 5px;
}
nav div {
	text-align: center;
	font-size: 1.25rem;
	margin: 5px 5px 10px 5px;
}
nav a {
	display: block;
	margin: 5px;
	border-radius: 5px;
	padding: 2px 7px;
	text-decoration: none;
}
nav a:link, nav a:visited { 
	color:purple;
}
nav a:hover, nav a:focus {
	background-color:white;
}

/* optional button styling like in the preview */
div.small > img {
	display: block;
	margin: 5px auto;
	border:2px ridge pink;
	border-radius: 5px;
}

section {
	border: 2px ridge;
	border-radius: 5px;
	padding: 5px;
	background-color:lightblue;
}

footer {
	text-align: center;
	margin-bottom: auto;
	font-size: 1rem;
	font-weight:bold;
}
footer a { 
	text-decoration: none;
}


h1, h2, h3, h4, h5, h6, p  { 
	margin: 5px;
	line-height: 1.2;
}
h1 { 
	font-size: 1.4rem;
	letter-spacing: 2px;
	font-weight: normal;
	text-align: center;
	padding-bottom: 5px;
}
h2 { 
	font-size: 1.25rem;
	font-weight: normal;
	text-align: center;
}
h3 { 
	font-size: 1.1rem;
}
h4 { 
	font-size: 1rem;
	padding-left: 12px;
}

/* prevents overflow on smaller screens */
img { max-width: 100%; }
pre { overflow-x: auto; }


a:hover, a:focus {
	font-style: italic;
}
a:visited {
	color: green;
}