@charset "utf-8";

html *{
	box-sizing: border-box;
}

:root {
	--primary-color: rgba(12, 16, 19, 0.85);
	--secondary-color: #FCF1ED;
	--tertiary-color: rgba(135, 186, 171, 0.6);
}

body {
	font-family: "Avenir Next", system-ui, sans-serif;
	font-size: 100%;
	line-height: 135%;
	background-color: var(--primary-color);
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(/bg.jpg);
	color: var(--secondary-color);
	background-position: center;
	text-decoration: none;
	text-shadow: -1px 1px 2px #000,
				1px 2px 6px #000,
  				1px -1px 0 #000,
  			    -1px -1px 0 #000;
}

section {
	border-radius: 5px;
	border: var(--secondary-color) 1px solid;
	box-shadow: -1px 1px 2px #000,
				1px 2px 6px #000,
				1px -1px 0 #000,
				-1px -1px 0 #000;
	padding: 1rem;
	margin: 1rem;
}

a { color: var(--secondary-color);}

header {
	min-height: 30vh;
	background-color: var(--tertiary-color);
	display: flex;
	flex-direction: column;
	justify-content: center;
	
}

h1 {
	line-height: 1.2em;
	/*outline: 1px solid red;*/
	text-align: center;
}

.topnav {
	list-style: none;
	display: flex;
	justify-content: space-evenly;
	font-size: 120%;
}

.first {
	grid-column: 1fr / auto;
}

.second {
	grid-column: auto / 1fr;
}

main {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto;
	gap: 1em;
}