@font-face {
	font-family: 'Drafting Mono';
	src: url(assets/drafting.ttf);
	font-display: swap;
}

:root {
	--col-black: 		#000000;
	--col-dark: 		#1A1A1A;
	--col-white: 		#FFFFFF;
	--col-light:		#F2F2F2;
	--col-red: 			#E10F71;
	--col-red-alt: 	#FF419A;

	--col-action: 	var(--col-red);
	--col-bg: 			var(--col-light);
	--col-text: 		var(--col-black);
}

* {
	margin: 0;
	padding: 0;
}
*::selection {
	background-color: var(--col-black);
	color: var(--col-white);
}

body, html {
	height: 100%;
}

html {
	font-family: 'Drafting Mono', Helvetica, -apple-system, Arial, sans-serif;
	font-size: 25px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	color: var(--col-text);
	background-color: var(--col-bg);
}

.main {
	position: relative;
	display: flex;
	/* flex-wrap: wrap; */
	flex-direction: column;
	justify-content: space-between;
	padding: .75rem;
	min-height: 100%;
	max-width: 1200px;
	margin: 0 auto;	
	box-sizing: border-box;
}

h1, h2, h3 {
	font-weight: normal;
	margin-bottom: 1.5em;
}

h1, h2 {
	font-size: 1rem;
}

h3 {
	font-size: .65rem;
}

a {
	position: relative;
	color: inherit;
	text-decoration: none;
}
a:hover {
	color: var(--col-action);
}

p > a:after {
	content: '';
	position: absolute;
	width: 100%;
	border-bottom: 2px solid currentColor;
	bottom: 1px;
	left: 0;
}

article p {
	margin-bottom: 1.5rem;
	max-width: 800px;
}
article p:last-of-type {
	margin: 0;
}

/* HEADER */
header {
	font-size: 1rem;
	display: flex;
	justify-content: space-between;
	margin-bottom: 2rem;
}

header a {
	text-decoration: none;
}


/* CONTENT */

.content {
	max-width: 1080px;
	margin-bottom: 2rem;
}

.wave {
	display: inline-block;
	font-size: inherit;
	margin-bottom: 1rem;
	transform: rotate(20deg);
	-webkit-touch-callout: none;
		-webkit-user-select: none;
		 -khtml-user-select: none;
			 -moz-user-select: none;
				-ms-user-select: none;
						user-select: none;
}

.wave:hover {
	animation: wave .33s ease-in-out 0s alternate infinite;
}

@keyframes wave {
	0% {
		transform: rotate(20deg);
	}
	100% {
		transform: rotate(-20deg);
	}
}

/* LEGAL SECTION */

.legal {
	font-size: .65rem;
}

.legal a {
	margin-right: 1rem;
}

.legal a:last-child {
	margin: 0;
}

/* LEGAL COPY */
.legal-copy {
	margin-bottom: 2rem;
}

.legal-copy h2, h3 {
	text-decoration: underline;
	margin-bottom: .5rem;
}

.legal-copy p, ul{
	margin-bottom: .5rem;
	font-size: .65rem;
}

.legal-copy ul {
	margin-bottom: 1.5rem;
}

.legal-copy ul li {
	margin-left: 1rem;
}

/* ICONS  */
.icn {
	display: block;
}

.icn.person:before {content: '👨🏻'; display: inline-block; width: 40px; margin-right: 12px;}
.icn.street:before {content: '☕️'; display: inline-block; width: 40px; margin-right: 12px;}
.icn.city:before {content: '🏢'; display: inline-block; width: 40px; margin-right: 12px;}
.icn.phone:before {content: '☎️'; display: inline-block; width: 40px; margin-right: 12px;}
.icn.mail:before {content: '📬'; display: inline-block; width: 40px; margin-right: 12px;}


/* RESPONSIVE */
@media only screen and (min-width: 780px) {
	html {
		font-size: 30px;
	}
	.main {
		padding: 1rem 2rem;
	}
	header {
		font-size: .5rem;
	}
	.legal{
		font-size: .5rem;
	}
}

@media only screen and (min-width: 1200px) {
	.main {
		padding: 4rem 2rem 2rem 2rem;
	}

	.content {
		margin-bottom: 6rem;
	}
}

/* DARKMODE */
@media (prefers-color-scheme: dark) {
	:root {
		--col-active: var(--col-red-alt);
		--col-bg: var(--col-dark);
		--col-text: var(--col-white);
	}
}
