:root {
	--bg-color-dark: rgb(14 19 31);
	--bg-color: rgb(47 87 120);
	--fg-color: whitesmoke;
	--fg-color-light: gainsboro;
}

html {
	font-size: 1.2em;
}
html, body {

	margin: 0;
	padding: 0;
}
body {
	background-color: var(--bg-color-dark);
	padding-bottom: 30px;

	color: whitesmoke;
	text-align: center;
}

a {
	color: inherit;
	text-decoration: inherit;
}

.hidden {
	display: none !important;
}



/* ---- Banner ---- */
#banner {
	position: sticky;
	z-index: 10;
	top: 0;
	left: 0;
	width: calc(100vw - 40px);
	height: 80px;
	padding: 10px 20px;
	background-color: rgb(0 0 0 / .5);

	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 5px;

	text-align: center;
	font-size: 22px;
	cursor: default;
}
#name {

	font-family: monospace;
	cursor: default;
}
#name > span {

	font-family: cursive;
	font-size: 1.5em;
}
#links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	column-gap: 20px;
	row-gap: 3px;
}
#links > a {
	padding: 2px 5px;
	box-shadow: 2px 3px 5px color-mix(in srgb, var(--bg-color) 35%, rgb(0 0 0 / .5));

	border-radius: 10px;
}
#links > a:active {
	box-shadow: inset 2px 3px 5px color-mix(in srgb, var(--bg-color) 35%, rgb(0 0 0 / .5));
}
#email {
	padding: 5px 10px;
	background-color: #E3735E;

	border-radius: 20px;
}

:target { /* Prevents the banner from covering scrolled to content with href="#id" */
	scroll-margin-top: 100px;
}



/* ---- Title ---- */
h1#title {
	display: inline-block;
	background-color: var(--bg-color);
	padding: 15px 20px;

	border-radius: 20px;

	line-height: 1.2em;
}


/* ---- Flex based container with child boxes ---- */
.container {
	display: flex;
	margin: 15px;

	justify-content: center;
	flex-wrap: wrap;
	gap: 15px;
}
.container > div {
	background-color: var(--bg-color);
	padding: 10px 20px;

	border-radius: 25px;
}

/*
* Banner html:
	<div id="banner">
		<a href="/" id="name">Take It North<br><span>Repair</span></a>
		<div></div> <!-- To offset the links to the right a bit -->
		<div id="links">
			<a href="#id1">Text1</a>
			<a href="#id2">Text2</a>
		</div>
		<div id="email"><a href="mailto:elijah@takeitnorth.com">elijah@takeitnorth.com</a></div>
	</div>
*/
