html * {box-sizing: border-box;}

:root {
	--headerbg: #5e548e;
	--dark: #231942;
	--bg1: #9f86c0;
	--bg2: #be95c4;
	--bg3: #e0b1cb;
	--bg4: #9f86c0;
}

body {
	font-family: "Avenir Next", system-ui, sans-serif; 
	font-size: 100%; 
	line-height: 1.4rem; 
	margin: 0; 
	color: var(--dark); 
}

body>* {padding: 0 1em;}

header {
	min-height: 50vh;
	background-color: var(--headerbg);
	display: flex; 
	flex-direction: column; 
	justify-content: space-between; 
}

.home header {
	background-color: var(--bg1);
}

.aus header {
	background-color: var(--bg2);
}

.orfl header {
	background-color: var(--bg3);
}

.ys header {
	background-color: var(--bg4);
}

.kau header {
	background-color: var(--bg2);
}

h1 {
	font-size: 1.5rem; 
	margin: 0; 
}

h2 {
	font-size: 8vw; 
	line-height: 1.1em; 
}

nav {
	padding-bottom: 1em;
}

ul.toplinks {
	list-style: none; 
	padding: 0; 
	display: flex; 
	flex-direction: column; 
	justify-content: center; 
	gap: .5em; 
}

.toplinks a.cr {
	pointer-events: ; 
	text-decoration: ; 
}

main {
	display: flex; 
	flex-direction: column; 
	gap: 1em; 
}

.aus section.primary {
	display: flex; 
	flex-direction: row; 
	justify-content: space-evenly; 
	flex-wrap: wrap; 
	gap: 1em; 
	padding-top: 1em; 
}

.aus figure {
	background-color: var(--dark);
	height: 10em; 
	width: 20vw; 
	margin: 0; 
	color: var(--bg3);
	margin: .2em;
}

@media (min-width: 600px) {

main {
	flex-direction: row;
	gap: 1em; 
}
.orfl main {
	flex-direction: column; 
	padding: 0 20vw; 
}

section.primary {flex: 89;}
section.secondary {flex: 55;}

ul.toplinks {
	flex-direction: row; 
	gap: 2em; 
}

@media (min-width: 900px) {
	body {
	display: flex;
	flex-direction: row; 
	align-items: stretch;
	}
	header {
		align-self: stretch; 	
	}
	
	main {
	flex-direction: column; 
}
footer {
	position: absolute; 
	bottom: 1em; 
}