@font-face {
	font-family: Rubik;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(rubik.woff2) format('woff2');
}

@font-face {
	font-family: Montserrat;
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(montserrat.woff2) format('woff2');
}

:root {
	color-scheme: light dark;
}

* {
	box-sizing: border-box;
}

::selection {
	color: #fff;
	background: #888;
}

.light {
	display: inherit;
}

.dark {
	display: none;
}

.nowrap {
	white-space: nowrap;
}

.noselect {
	user-select: none;
}

body {
	background-color: #444;
	color: #fff;
	font-family: Rubik, sans-serif;
	font-size: 16px;
	line-height: 1.4;
	padding: 0;
	margin: 0;
	overflow-x: hidden;
}

a:link, a:visited {
	color: inherit;
	text-decoration: underline 2px rgba(160, 160, 160, 0.8);
}

a:hover, a:active, a:focus {
	outline: none;
	color: inherit;
	background-color: rgba(160, 160, 160, 0.4);
}

header {
	user-select: none;
	position: relative;
	background-color: #fff;
	color: #222;
	text-align: center;
	margin: 0;
	padding: 10px 10% 0 10%;
}

h1 {
	position: relative;
	display: inline-block;
	font-family: Montserrat, sans-serif;
	font-weight: 900;
	font-size: 300%;
	margin: 0 auto;
	white-space: nowrap;
	text-transform: uppercase;
}

h1 svg {
	position: relative;
	fill: #000;
	width: 0.9em;
	height: 0.9em;
	top: 0.3em;
	margin-right: 0.4em;
}

#company {
	position: relative;
	top: 0.2em;
	letter-spacing: 0.3em;
	margin-right: -0.3em;
}

#hbar {
	display: block;
	position: relative;
	height: 10px;
	border: 3px solid #ccc;
	border-top: none;
}

#vbar {
	position: relative;
	width: 0;
	height: 20px;
	border-left: 3px solid #ccc;
	margin: 0 auto;
}

main {
	position: relative;
	background-color: #eee;
	color: #222;
	box-shadow: inset 0 5px 5px -5px #555,
	            inset 0 -5px 5px -5px #555;
	margin: 0;
	padding: 30px 10%;
}

main svg {
	position: absolute;
	left: calc(10% - 50px);
	fill: #ccc;
	width: 40px;
	height: 40px;
}

main h2 {
	font-family: Montserrat, sans-serif;
	font-weight: 900;
	font-size: 150%;
	margin: 0 0 0.4em 0;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

main p {
	margin: 0 0 1em 0;
}

main p:last-child {
	margin-bottom: 0;
}

address {
	color: #fff;
	font-size: 90%;
	font-style: normal;
	margin: 0;
	padding: 30px 10%;
}

.addressbox {
	position: relative;
	white-space: nowrap;
	float: left;
	display: inline-block;
	vertical-align: top;
	padding: 0 30px 0 0;
	width: 33%;
}

.addressbox svg {
	position: absolute;
	z-index: -1;
	left: -50px;
	fill: #666;
	width: 40px;
	height: 40px;
}

footer {
	clear: both;
	color: #888;
	text-align: center;
	font-size: 80%;
	margin: 0;
	padding: 30px 10%;
}

@media (max-width: 1200px) {
	.addressbox {
		width: 50%;
	}
}

@media (max-width: 900px) {
	.addressbox {
		width: 100%;
	}
}

@media (max-width: 620px) {
	header {
		padding: 10px 30px 0 30px;
	}

	h1 {
		font-size: 200%;
	}

	#vbar {
		height: 15px;
	}

	main {
		padding: 30px;
	}

	main svg {
		display: none;
	}

	address {
		padding: 30px;
	}

	.addressbox svg {
		left: auto;
		right: 0;
	}

	footer {
		padding: 30px;
	}
}

@media (prefers-color-scheme: dark) {
	.light {
		display: none;
	}

	.dark {
		display: inherit;
	}

	body {
		background-color: #222;
	}

	header {
		background-color: #666;
		color: #fff;
	}

	h1 svg {
		fill: #fff;
	}

	#hbar, #vbar {
		border-color: #444;
	}

	main {
		background-color: #444;
		color: #ddd;
		box-shadow: inset 0 5px 5px -5px #222,
		            inset 0 -5px 5px -5px #222;
	}

	main svg {
		fill: #585858;
	}

	address {
		color: #ddd;
	}

	.addressbox svg {
		fill: #444;
	}

	footer {
		color: #666;
	}
}

@media print {
	body {
		font-size: 14px;
	}

	* {
		background-color: #444;
		color: #fff;
	}

	a:link, a:visited {
		text-decoration: none;
	}

	header {
		padding: 0 10%;	
	}

	#hbar, #vbar, main svg, .addressbox svg {
		display: none;
	}

	main {
		box-shadow: none;
		padding-bottom: 0;
	}

	p, .addressbox {
		page-break-inside: avoid;
	}

	address {
		padding-top: 20px;
	}

	footer {
		display: none;
	}
}
