html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

html, body {
	height: 100%;
	padding: 0;
	margin: 0;
}
address {
	font-style: normal;
}

/* structural elements */

body {
	background: gray;
	font-family: Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.5;
}
main, footer {
	background: rgba(255,255,255,.9);
	padding: 1rem;
}
@media(min-width: 768px) {
	main {
		align-self: center;
		width: 512px;
		border-radius: .25rem;
	}
}

/* background */
.bg::before, .bg::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/* low quality fast */
.bg::before {
	background: url('./images/bg-l-96x54.jpg') center center/cover no-repeat;
	filter: blur(10px);
}
@media (orientation: portrait) {
	.bg::before {
		background-image: url('./images/bg-p-54x96.jpg');
	}
}

/* high quality slow */
.bg::after {
	background: url('./images/bg-l-960x540.jpg') center center/cover no-repeat;
}
@media (min-width: 961px), (min-height: 541px) {
	.bg::after {
		background-image: url('./images/bg-l-1920x1080.jpg');
	}
}
@media (orientation: portrait) {
	.bg::after {
		background-image: url('./images/bg-p-540x960.jpg');
	}
}
@media (orientation: portrait) and (min-width: 541px), (orientation: portrait) and (min-height: 961px) {
	.bg::after {
		background-image: url('./images/bg-p-1080x1920.jpg');
	}
}

/* content */
#container {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-align: center;
}

/* main */
main {
	margin: auto 0;
}
main h1 {
	padding: 0;
	margin: 0 0 1rem;
	font-size: 2rem;
	font-weight: normal;
	color: #2196F3;
	white-space: nowrap;
}
main ul {
	padding: 0;
	margin: 0;
	list-style: none;
	font-size: 1.25rem;
}
main a {
	display: block;
	padding: .5rem 0;
	color: #FF9800;
	text-decoration: none;
}

/* footer */
footer {
	font-size: 12px;
	color: #999;
}
footer a {
	color: #999;
	text-decoration: underline;
}
.email-obfuscated:after {
  content: attr(data-name) "@" attr(data-domain) "." attr(data-tld);
}