:root {
  --maxWidth: 960px; /* global scope */
}

@media (max-resolution: 2.1dppx) {

	header {
     padding: 18px 48px;
  }
	
	header img {
		width: 70px;
		height: 70px;
	}
    
  article {
		font-size: 26px;
    margin-bottom: 10vh;
		padding: 36px 48px 0 48px;
	}
	
	nav {
		font-size: 36px;
		margin-top: 24px;
	}

	h1 {
		font-size: 60px;
        margin-bottom: 48px;
	}

	time {
		font-size: 24px;
        margin-bottom: 18px;
	}

	p {
		margin: 0 0 18px 0;
	}

	.microdata {
		gap: 4px 24px;
		font-size: 20px;
		margin-top: 64px;
	}
}

@media (min-resolution: 2.1dppx) {

	header {
        padding: 12px 30px;
    }
	
	header img {
		width: 30px;
		height: 30px;
	}
    
  article {
		font-size: 19px;
		margin-bottom: 10vh;
    padding: 24px 30px;
	}
	
	nav {
		font-size: 48px;
		margin-top: 18px;		
	}

	h1 {
		font-size: 32px;
    margin-bottom: 32px;
	}

	time {
		font-size: 18px;
    margin-bottom: 6px;
	}

	p {
		margin-bottom: 12px;
	}

	.microdata {
		gap: 2px 18px;
		font-size: 16px;
		margin-top: 36px;
	}
}

@font-face {
  font-family: Black; /* set name */
  src: url(../fonts/NHBlk.woff); /* url of the font */
}

@font-face {
  font-family: Bold; /* set name */
  src: url(../fonts/NHBd.woff); /* url of the font */
}

@font-face {
  font-family: Medium; /* set name */
  src: url(../fonts/NHMd.woff); /* url of the font */
}

@font-face {
  font-family: Regular; /* set name */
  src: url(../fonts/LRg.woff); /* url of the font */
}

@font-face {
  font-family: Roman; /* set name */
  src: url(../fonts/NHRn.woff); /* url of the font */
}

@font-face {
  font-family: Light; /* set name */
  src: url(../fonts/NHLt.woff); /* url of the font */
}

html, body {
	margin: 0;
	padding: 0;
}

body {
    background-color: #eee;
    color: #333;
	   padding-bottom: 10vh;
}

body * {
	font-family: Medium;
	box-sizing: border-box;
	line-height: 140%;
	hyphens: auto;
}

header {
	position: sticky;
	top: 0;	
	z-index: 99;
	background-color: #eee;
	box-shadow: #ccc 0 1px 10px;
}

article {
	max-width: var(--maxWidth);    
}

nav {
	text-align: right;
}

em {	
	font-style:  normal;
	display: inline;
	border-bottom: 2px solid #333;
}

time {
	display: block;
	text-align: right;	
}

a {
	color: inherit;
	text-decoration: none;
	font-family: inherit;
	line-height: inherit;
}

h1 {	
	font-family: 'Bold';
	line-height: 105%;
	text-align: right;	
}

p {
	font-family: Regular;
	text-align: justify;
}

.microdata {	
	display: flex;	
	flex-wrap: wrap;
	justify-content: flex-end;	
}

.microdata span {
	font-family: sans-serif;
	white-space: nowrap;
	border-bottom: 1px dotted #333;
	padding: 4px 0;
}
