/*
Theme Name: Zur Kutzeburger Mühle
Theme URI: https://www.https://www.kutzeburgermuehle.de/
Description: Theme für Restaurant „Zur Kutzeburger Mühle“
Version: 1.0
Author: Red Aqua Media
Author URI: https://www.red-aqua-media.de/
*/

@font-face {
	font-family: 'brightwall'; /* This font is licensed for Kutzeburger Mühle. Do NOT use this font without your own license! */
	font-weight: normal;
	src: url('fonts/brightwall.woff2') format('woff2'), url('fonts/brightwall.woff') format('woff');
	font-display: swap;
}

@font-face {
	font-family: 'now';
	font-weight: normal;
	src: url('fonts/now-300.woff2') format('woff2'), url('fonts/now-300.woff') format('woff');
	font-display: swap;
}
@font-face {
	font-family: 'now';
	font-weight: bold;
	src: url('fonts/now-700.woff2') format('woff2'), url('fonts/now-700.woff') format('woff');
	font-display: swap;
}

body {
	margin: 0;
	background-color: #e8d5b3;
	color: #000;
	font: 14pt/1.35 now, sans-serif;
	text-align: center;
}


/* NAV */

#navicon-checkbox {
	display: none;
}

#navicon {
	position: relative;
	cursor: pointer;
	z-index: 2;
}

#navicon:before {
	content: "≡";
}

nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: space-around;
	background-color: rgba(232,213,179,.9);
	box-shadow: 0 0 3em 0 #aa8c5a;
	padding: 10px;
	z-index: 3;
	transition: all 1s ease;
}

nav > img {
	max-width: 33%;
}

nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	height: 0;
	overflow: hidden;
	align-content: center;
}

nav a {
	display: block;
	color: inherit;
	text-decoration: none;
	line-height: 1;
	margin: .75em 0;
}

nav a:hover,
nav ul a[aria-current="page"] {
	text-decoration: underline;
}

nav, nav img, nav ul, header, main, footer {
	transition: all 1s ease;
}

@media (max-width: 999px) {
	:has(#navicon-checkbox:checked) #navicon:before {
		content: "X";
	}

	:has(#navicon-checkbox:checked) body > * {
		opacity: .5;
	}

	:has(#navicon-checkbox:checked) nav {
		top: 15vh;
		background-color: rgba(232,213,179,1);
		opacity: 1;
	}

	:has(#navicon-checkbox:checked) nav div ul {
		height: 50vh;
		transform: scale(1.5);
	}

	:has(#navicon-checkbox:checked) nav > img {
		opacity: .15;
	}
}


/* HEADER / HERO */

header {
	clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 50% 100%, 0% 85%);
}

header video {
	display: block;
	width: 100%;
	aspect-ratio: 16/15;
}

#header__video--gross {
	display: none;
}

h1 {
	position: relative;
	display: block;
	top: -.35em;
	/* color: #a6710c; */
	color: #333;
	font: 56pt/.8 brightwall, serif;
	font-size: min(14vw,98pt);
	font-size-adjust: .447;
	text-shadow: 1px 1px 0 #e8d5b3, -1px -1px 0 #e8d5b3 /*5px 5px 20px #aa8c5a */;
	padding: 0;
	margin: 0;
}

h2 {
	display: inline-block;
	border-width: 1px 0;
	border-style: solid;
	font-weight: normal;
	text-transform: uppercase;
	padding: .1em .8em;
	margin: 1em 0 .5em;
	line-height: 1;
	hyphens: auto;
}


/* MAIN */

main {
	display: block;
	margin: auto;
	max-width: 910px;
	text-align: left;
	padding: .8em;
}

main p {
	margin: .6em 0;
}

main a, main a:visited {
	color: #a6710c;
}

main img {
	border: 1px solid #000;
	padding: 1px;
	box-shadow: 4px 8px 20px 10px #af9e7e;
	max-width: 90vw;
	box-sizing: border-box;
	height: auto;
}

main li {
	margin-bottom: .25em;
}


/* FOOTER */

footer {
	background-color: #aa8c5a;
	color: #fce8c6;
	font-size: .9em;
	padding: 2em .4em;
}

.footer__logos {
	display: block;
	margin: 2em auto;
	max-width: 80%;
}

.footer__logos--rollstuhlgerecht {
	width: 10em;
}

footer a {
	color: inherit;
	text-decoration: none;
	transition: all 1s ease;
}

footer div a {
	display: block;
	margin-bottom: .75em;
}

footer div img {
	height: 1.4em;
	vertical-align: bottom;
}

footer a:hover {
	color: #333;
}

#oeffnungszeiten-text {
	display: none;
}

footer p {
	margin: 2em 0 1em;
	opacity: .6;
}


/* WORDPRESS STYLES */

.aligncenter {
	text-align: center;
}

.wp-block-group {
	background-color: #fff1cf;
	padding: .5em;
	text-align: center;
	border: 3px;
	border-style: double;
}

.wp-block-gallery {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-evenly;
	margin: 0;
}

.wp-block-gallery .wp-block-image {
	max-width: 45%;
}

.wp-block-image {
	margin: .25em 0;
}

.wp-block-image img {
	max-width: 100%;
}

.wp-block-image figcaption {
	font-style: italic;
	font-size: .8em;
}


/* PHOTOSWIPE */

.pswp {
	--pswp-bg: #e8d5b3;
	--pswp-placeholder-bg: #222;
	/*   --pswp-preloader-color: rgba(79,79,79,.4); */
	--pswp-preloader-color-secondary:rgba(0,0,0,.9);
	--pswp-icon-color: #000;
	--pswp-icon-color-secondary: #e8d5b3;
	--pswp-icon-stroke-color: #e8d5b3;
	--pswp-icon-stroke-width: 2px;
}


/* NINJA FORMS */

.nf-form-cont {
	margin: 1em auto;
	max-width: 600px;
}

.nf-field {
	margin-top: 1em;
}

.nf-field-label {
	margin: 0 !important;
}

.nf-field-label label {
	font-weight: normal !important;
}

.nf-element,
.time-wrap select {
	font: inherit;
	color: inherit !important;
	padding: .5em;
	width: 100% !important;
	background-color: rgba(0,0,0,.16) !important;
	border: 0;
}

.nf-response-msg {
	padding: 0 .5em;
	border: 2px dashed;
	text-align: center;
}

.nf-error-msg {
	color: #fff !important;
	background-color: #900;
	padding: .25em;
	width: 100%;
}


/* RESPONSIVE */


@media (min-width: 1000px) {

	body {
		font-size: 18pt;
	}

	#navicon {
		display: none;
	}

	nav ul {
		height: unset;
	}

	nav ul li {
		display: inline-block;
	}

	nav ul a {
		margin: .2em .5em;
		/* 		font-size: clamp(16pt, 2vw, 22pt); */
		font-size: min(2vw, 22pt);
	}


	/* HEADER / HERO */

	header {
		clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 50% 100%, 0% 85%);
	}

	header video {
		display: block;
		width: 100%;
		aspect-ratio: 9/4;
	}

	#header__video--klein {
		display: none;
	}

	#header__video--gross {
		display: block;
	}


	/* FOOTER */

	footer div {
		display: inline-block;
		width: 40%;
		vertical-align: top;
		margin: 0 1em;
	}

	footer div:first-of-type {
		text-align: right;
	}

	footer div:last-of-type {
		text-align: left;
	}


	footer div img {
		height: 1em;
		vertical-align: sub;
	}

	footer a br {
		display: none;
	}

	footer div a {
		display: block;
		margin: 0;
	}

	#oeffnungszeiten-icon {
		display: none;
	}

	#oeffnungszeiten-text {
		display: inline-block;
	}

}