/*
	Solid State by Pixelarity
	pixelarity.com | hello@pixelarity.com
	License: pixelarity.com/license
*/

/* Reset */
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;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
	-webkit-text-size-adjust: none;
}

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;
}

/* Font Faces */
@font-face {
	font-family: "Raleway";
	src: url("../fonts/Raleway-ExtraLight.ttf") format("truetype");
	font-weight: 200;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Raleway";
	src: url("../fonts/Raleway-Bold.ttf") format("truetype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* Background Setup - Fixed on Desktop and Mobile */
html, body {
	height: 100%;
	width: 100%;
}

body {
	position: relative;
	min-height: 100vh;
	background-color: #2e3141;
	color: #ffffff;
	font-family: "Source Sans Pro", Helvetica, sans-serif;
	font-size: 16.5pt;
	font-weight: 300;
	line-height: 1.65;
	z-index: 0;
}

/* Background Image Layer - Visible on All Devices */
body::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: var(--bg-image, url("../images/holzofenpizza-napoli-immenstadt.jpg"));
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	z-index: -1;
}

/* Overlay Layer */
body::after {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: -1;
}

/* Page-Specific Backgrounds */
body.bg-home { --bg-image: url("../../images/holzofenpizza-napoli-immenstadt.jpg"); }
body.bg-pizza { --bg-image: url("../../images/pizza-burrata.jpg"); }
body.bg-vorspeisen { --bg-image: url("../../images/vorspeisen.jpg"); }
body.bg-nudeln { --bg-image: url("../../images/nudelgericht.jpg"); }
body.bg-dessert { --bg-image: url("../../images/dessert.jpg"); }
body.bg-impressum { --bg-image: url("../../images/salami-pizza.jpg"); }
body.bg-datenschutz { --bg-image: url("../../images/pizza-vegetarisch.jpg"); }

/* Typography */
mark {
	background-color: transparent;
	color: inherit;
}

input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input, select, textarea {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
}

body, input, select, textarea {
	color: #ffffff;
	font-family: "Source Sans Pro", Helvetica, sans-serif;
	font-size: 14.5pt;
	font-weight: 100;
	line-height: 1.4;
}

@media screen and (max-width: 1280px) {
	body, input, select, textarea {
		font-size: 14pt;
	}
}

@media screen and (max-width: 980px) {
	body, input, select, textarea {
		font-size: 14pt;
	}
}

@media screen and (max-width: 736px) {
	body, input, select, textarea {
		font-size: 14pt;
	}
}

@media screen and (max-width: 480px) {
	body, input, select, textarea {
		font-size: 14pt;
	}
}

/* Links */
a {
	transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
	border-bottom: dotted 1px rgba(255, 255, 255, 0.35);
	color: #ffffff;
	text-decoration: none;
}

a:hover {
	border-bottom-color: transparent;
	color: #ffffff !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
	color: #ffffff;
	font-family: Raleway, Helvetica, sans-serif;
	font-weight: 700;
 font-size: 30pt;
	letter-spacing: 0.1em;
	margin: 0 0 1em 0;
	text-transform: uppercase;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color: inherit;
	text-decoration: none;

	border-bottom: 0;
}

h2 {
	font-size: 22pt;
}

h3 {
	font-size: 18pt;
}

h4, h5, h6 {
	font-size: 0.7em;
}

@media screen and (max-width: 736px) {
	h2 {
		font-size: 22pt;
	}

	h3 {
		font-size: 18pt;
	}
}

/* Paragraphs */
p {
	margin: 0 0 2em 0;
}

/* Layout */
html {
	box-sizing: border-box;
}

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

/* Preload State */
body.is-preload *, body.is-preload *:before, body.is-preload *:after {
	animation: none !important;
	transition: none !important;
}

/* Header */
#header {
	background-color: rgba(20, 32, 46, 0.9);
	height: 4em;
	line-height: 4em;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 10000;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 2em;
}

#header h1 {
	margin: 0;
	font-size: 30pt;
}

#header h1 a {
	border: 0;
}

#header nav {
	position: absolute;
	right: 2em;
	top: 50%;
	transform: translateY(-50%);
}

#header nav a {
	border: 0;
	color: #ffffff;
	display: inline-block;
	padding: 0.5em 1em;
}

/* Page Wrapper */
#page-wrapper {
	position: relative;
	padding-top: 4em;
	z-index: 1;
}

/* Banner */
#banner {
	padding: 4em 2em;
	text-align: center;
	position: relative;
	z-index: 1;
}

#banner .inner {
	max-width: 800px;
	margin: 0 auto;
}

#banner img {
	max-width: 300px;
	height: auto;
	margin-bottom: 2em;
}

#banner h2 {
	font-size: 24pt;
	margin-bottom: 1em;
}

#banner p {
	font-size: 1em;
	line-height: 1.8;
}

@media screen and (max-width: 736px) {
	#banner {
		padding: 2em 1em;
	}

	#banner h2 {
		font-size: 22pt;
	}

	#banner img {
		max-width: 200px;
	}
}

/* Footer */
#footer {
	padding: 4em 2em;
	position: relative;
	z-index: 1;
	background: rgba(0, 0, 0, 0.3);
	margin-top: 4em;
}

#footer .inner {
	max-width: 800px;
	margin: 0 auto;
}

#footer h2 {
	font-size: 1.5em;
	margin-bottom: 2em;
}

#footer .contact {
	list-style: none;
	padding: 0;
	margin: 0 0 2em 0;
}

#footer .contact li {
	margin-bottom: 1.5em;
	display: flex;
	align-items: flex-start;
}

#footer .contact li .icon {
	margin-right: 1em;
	min-width: 2em;
}

#footer .contact li a {
	color: #ffffff;
	border-bottom: dotted 1px rgba(255, 255, 255, 0.35);
}

#footer .contact li a:hover {
	border-bottom-color: transparent;
}

#footer .copyright {
	list-style: none;
	padding: 2em 0 0 0;
	margin: 2em 0 0 0;
	border-top: solid 2px rgba(255, 255, 255, 0.125);
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.9em;
}

#footer .copyright li {
	display: inline-block;
	margin-left: 1em;
	padding-left: 1em;
	border-left: solid 2px rgba(255, 255, 255, 0.125);
}

#footer .copyright li:first-child {
	border-left: 0;
	margin-left: 0;
	padding-left: 0;
}

@media screen and (max-width: 736px) {
	#footer {
		padding: 2em 1em;
	}

	#footer .copyright li {
		display: block;
		margin: 1em 0 0 0;
		padding-left: 0;
		border-left: 0;
	}

	#footer .copyright li:first-child {
		margin-top: 0;
	}
}

/* Menu */
#menu {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(20, 29, 42, 0.95);
	z-index: 9999;
	overflow-y: auto;
}

body.is-menu-visible #menu {
	display: block;
}

#menu .inner {
	padding: 4em 2em;
	max-width: 600px;
}

#menu h2 {
	font-size: 1.5em;
	margin-bottom: 1.5em;
}

#menu .links {
	list-style: none;
	padding: 0;
}

#menu .links li {
	margin-bottom: 1em;
}

#menu .links a {
	display: block;
	padding: 0.5em 0;
	border: 0;
	font-size: 1.1em;
}

#menu .links a:hover {
	color: #0f1b29;
}

#menu .close {
	position: absolute;
	top: 2em;
	right: 2em;
    font-size: 28pt;
	cursor: pointer;
	border: 0;
}

@media screen and (max-width: 480px) {
	html, body {
		min-width: 320px;
	}

	#header {
		padding: 0 1em;
	}

	#menu .inner {
		padding: 2em 1em;
	}
}

/* Utility Classes */
.align-left {
	text-align: left;
}

.align-center {
	text-align: center;
}

.align-right {
	text-align: right;
}

/* Row */
.row {
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
	align-items: stretch;
}

.row > * {
	box-sizing: border-box;
}

.row.gtr-uniform > * > :last-child {
	margin-bottom: 0;
}

.row.aln-left {
	justify-content: flex-start;
}

.row.aln-center {
	justify-content: center;
}

.row.aln-right {
	justify-content: flex-end;
}

.row.aln-top {
	align-items: flex-start;
}

.row.aln-middle {
	align-items: center;
}

.row.aln-bottom {
	align-items: flex-end;
}

/* Blockquote */
blockquote {
	border-left: solid 4px rgba(255, 255, 255, 0.125);
	font-style: italic;
	margin: 0 0 2em 0;
	padding: 0.5em 0 0.5em 2em;
}

/* Code */
code {
	background: rgba(255, 255, 255, 0.025);
	border-radius: 5px;
	border: solid 2px rgba(255, 255, 255, 0.125);
	font-family: "Courier New", monospace;
	font-size: 0.9em;
	margin: 0 0.25em;
	padding: 0.25em 0.65em;
}

pre {
	-webkit-overflow-scrolling: touch;
	font-family: "Courier New", monospace;
	font-size: 0.9em;
	margin: 0 0 2em 0;
}

pre code {
	display: block;
	line-height: 1.75em;
	padding: 1em 1.5em;
	overflow-x: auto;
}

/* Horizontal Rule */
hr {
	border: 0;
	border-bottom: solid 2px rgba(255, 255, 255, 0.125);
	margin: 2.5em 0;
}

hr.major {
	margin: 4em 0;
}

/* Sub and Sup */
sub {
	font-size: 0.8em;
	position: relative;
	top: 0.5em;
}

sup {
	font-size: 0.8em;
	position: relative;
	top: -0.5em;
}

/* Strong and Em */
strong, b {
	color: #ffffff;
	font-weight: 600;
}

em, i {
	font-style: italic;
}
