:root{
	font-family: "Times New Roman", Times, serif;
	font-weight: 400;
}
.h1, h2, h3{
	/* font-family: "Julius Sans One", sans-serif; */
	font-weight: normal;
}
body{
	margin: 0;
	display: grid;
	grid-template-rows: min-content 1fr;
	&.full-height{
		min-height: 100vh;
		overflow-x: clip;
	}
}


*{
	box-sizing: border-box;
}

a:focus-visible{
	outline: 1px solid black;
}

h1{
	font-size: 1.75rem;
	font-weight: inherit;
	margin: 0;
	margin-bottom: 1.5em;
}

header{
	gap: 1em;
	padding: 1em 1em 0;
	width: 100vw;
	height: min-content;
	display: flex;
	background-color: white;
	max-height: 100vh;
	overflow: auto; /* just in case crazy small screen width */
	& nav{
		display: grid;
		grid-template-columns: max-content 1fr;
		padding: 1em 0;
		gap: 1em;
		align-items: center;
	}
	& a{
		text-decoration:none;
		color: inherit;
		width: min-content;
		display: flex;
		align-items: center;
		& h1{
			margin: 0;
		}
	}
	& ul{
		padding: 0;
		list-style-type: none;
		margin: 0;
		&[aria-label=Main]{
			grid-column: 1 / 3;
			& li{
				margin: .5em 0;
				text-transform: uppercase;
				& a{
					width: 100%;
					display: inline-block;
					padding: .25em;
					&:is(:focus-visible, :hover){
						background-color: rgba(0, 0, 0, 0.1);
					}
				}
			}
		}
		&[aria-label=Socials]{
			display: flex;
			gap: .5em;
			color: grey;
			padding: 0 0.5em;
			width: min-content;
			height: min-content;
			& :is(svg, a){
				height: 1em;
				display: block;
			}
			& li{
				display: block;
				width: min-content;
				& a:is(:focus-visible, :hover){
					color: var(--brand-colour);
				}
			}
		}
	}
}
@media screen and (min-width: 500px) {
	header{
		width: min-content;
		flex-direction: column;
		padding-top: 2.6em;
		position: sticky;
		top: 0;
		& nav{
			grid-template-columns: 1fr;
		}
		& ul[aria-label=Main]{
			grid-column: 1;
		}
	}
	body{
		grid-template-rows: unset;
		grid-template-columns: min-content 1fr;
	}
}

.non-visual{
	opacity: 0 !important;
	outline-color: transparent !important;
	overflow: hidden !important;
	width: 1px !important;
	height: 1px !important;
	display: block !important;
	position: absolute !important;
}

.fancy-list{
	list-style: "- ";
	line-height: 1em;
	padding: 0;
	padding-left: 1.5ch;
	& > li{
		margin-bottom: 0.3em;
	}
}

.left-title{
	align-self: start;
	margin: 0;
}

.small-text{
	font-size: 0.75rem;
	color: rgba(80, 80, 80);
	margin: auto 0;
}