/* http://meyerweb.com/eric/tools/css/reset/ 
	v2.0 | 20110126
	License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*
	⬜-⬜-⬜-⬜-⬜-⬜-⬜-⬜-⬜-[∞]

	Blocksense — Main Site CSS

	⬜-⬜-⬜-⬜-⬜-⬜-⬜-⬜-⬜-[∞]
*/
/* Fonts */
@font-face {
	font-family: 'Hubot Sans';
	src:	url('Hubot-Sans-LightWide.woff2') format('woff2 supports variations'),
			url('Hubot-Sans-LightWide.woff2') format('woff2-variations');
	font-weight: 300;
	font-stretch: 125%;
}
/* Styles */
:root {
	--font-primary:	'Fragment Mono', monospace;
	--font-secondary:	'Hubot Sans', sans-serif;
	--font-sm: clamp(0.7rem, -0.08vw + 0.72rem, 0.66rem);
	--font-base: clamp(0.88rem, 0vw + 0.88rem, 0.88rem);
	--font-md: clamp(1.09rem, 0.13vw + 1.06rem, 1.17rem);
	--font-lg: clamp(1.37rem, 0.34vw + 1.28rem, 1.55rem);
	--font-xl: clamp(1.71rem, 0.66vw + 1.54rem, 2.07rem);
	--font-xxl: clamp(2.14rem, 1.14vw + 1.85rem, 2.76rem);
	--font-xxxl: clamp(2.67rem, 1.84vw + 2.21rem, 3.68rem);
	--color-primary: #001c31;
	--color-secondary: #cae9ff;
	--color-tertiary: #2d4f74;
	--color-white: #fff;
	--body-padding: 1.5rem;
}
html {
	height: 100%;
	font-size: 100%;
}
body {
	height: auto;
	min-height: 100vh;
	box-sizing: border-box;
	background: var(--color-primary);
	color: var(--color-white);
	font-family: var(--font-primary);
	font-weight: 400;
	line-height: 1.75;
	padding: var(--body-padding);
}
.container {
	display: grid;
	min-height: calc(100vh - (2 * var(--body-padding)));
	max-width: 1200px;
	grid-template-rows: minmax(6rem, auto) 1fr minmax(6rem, auto);
	gap: 2rem;
	margin: 0 auto;
}
nav img {
	height: clamp(3rem, 6vw, 5rem);
}
main {
	display: grid;
	 place-content: center;
}
aside {
	margin-top: 6rem;
	display: grid;
	gap: 2rem;
}
aside > div:last-child {
	display: flex;
	align-items: flex-end;
}
footer {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin-top: auto;
	padding-top: var(--body-padding);
	border-top: 1px solid var(--color-tertiary);
}
footer img {
	height: clamp(1.5rem, 3vw, 2.5rem);
	opacity: 0.4;
}
footer ul {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
h1, h2, h3 {
	font-family: var(--font-secondary);
	font-weight: 700;
	line-height: 1.3;
}
h1 {
	margin-top: 0;
	font-size: var(--font-xxl);
}
h2 {
	font-size: var(--font-xl);
	margin-bottom: 1rem;
}
h3 {
	font-size: var(--font-lg);
}
p, a {
	font-size: var(--font-md);
	color: var(--color-secondary);
}
small,
.text-small {
	font-size: var(--font-sm);
}
mark {
	background: linear-gradient(45deg, #ff47b8, #ff9f00);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
a {
	transition: all 0.2s;
}
.button {
	display: inline-flex;
	flex-direction: row;
	gap: 1rem;
	justify-content: space-around;
	align-items: center;
	background: var(--color-white);
	color: var(--color-primary);
	text-decoration: none;
	padding: 0.75rem 1.5rem;
	border: 2px solid transparent;
	border-radius: 0.5rem;
	white-space: nowrap;
}
.button:hover,
.button:focus {
	color: var(--color-white);
	background: var(--color-primary);
	border: 2px solid var(--color-white);
}
/* Desktop styles */
@media (min-width: 768px) {
	nav {
		padding-top: calc(2 * var(--body-padding));
	}
	h1 {
		max-width: 90%;
	}
	aside {
		grid-template-columns: 4fr minmax(auto, 1fr);
	}
	.button {
		margin-bottom: 0.6rem;
	}
	footer {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		gap: 6rem;
	}
	footer div {
		display: flex;
		align-items: center;
		gap: 1rem;
	}
	footer ul {
		flex-direction: row;
	}
}