@import url("normalize.css");
@import url("demo.css");
@font-face {
	font-family: "entypo-selected";
	src: url("font/entypo-selected.eot");
	src:
		url("font/entypo-selected.eot?#iefix") format("embedded-opentype"),
		url("font/entypo-selected.woff") format("woff"),
		url("font/entypo-selected.ttf") format("truetype"),
		url("font/entypo-selected.svg#entypo-selected") format("svg");
	font-weight: normal;
	font-style: normal;
}

.rm-container {
	width: 40%;
	height: 900px;
	max-width: 520px;
	margin: 0 auto 40px auto;
	position: relative;
	-webkit-perspective: 2000px;
	perspective: 2000px;
	color: #2a323f;
}

.rm-wrapper,
.rm-wrapper > div {
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	position: absolute;
	text-align: center;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.rm-wrapper .rm-cover {
	z-index: 100;
	-webkit-transform-origin: 0% 50%;
	-webkit-transition-delay: 0.2s;
	transform-origin: 0% 50%;
	transition-delay: 0.2s;
}

.rm-wrapper .rm-middle {
	z-index: 50;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

.rm-wrapper .rm-right {
	z-index: 60;
	-webkit-transform-origin: 100% 50%;
	-webkit-transition-delay: 0s;
	transform-origin: 100% 50%;
	transition-delay: 0s;
}

.rm-wrapper .rm-middle,
.rm-wrapper .rm-right {
	pointer-events: none;
}

.rm-wrapper > div > div {
	background: #fff url(../images/white_paperboard.jpg);
	width: 100%;
	height: 100%;
	position: absolute;
	padding: 30px;
	box-shadow:
		inset 0 0 0 16px #fff,
		inset 0 0 0 17px #e6b741,
		inset 0 0 0 18px #fff,
		inset 0 0 0 19px #e6b741,
		inset 0 0 0 20px #fff,
		inset 0 0 0 21px #e6b741;
}

.rm-container .rm-front,
.rm-container .rm-back {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.rm-container .rm-back {
	-webkit-transform: rotateY(-180deg);
	transform: rotateY(-180deg);
}

.rm-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	pointer-events: none;
	background: -moz-linear-gradient(left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.05) 100%);
	background: -webkit-gradient(
		linear,
		left top,
		right top,
		color-stop(0%, rgba(0, 0, 0, 0)),
		color-stop(100%, rgba(0, 0, 0, 0.05))
	);
	background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.05) 100%);
	background: -o-linear-gradient(left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.05) 100%);
	background: -ms-linear-gradient(left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.05) 100%);
	background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.05) 100%);
}

.rm-middle .rm-overlay {
	background: -moz-linear-gradient(left, rgba(0, 0, 0, 0) 64%, rgba(0, 0, 0, 0.05) 100%);
	background: -webkit-gradient(
		linear,
		left top,
		right top,
		color-stop(64%, rgba(0, 0, 0, 0)),
		color-stop(100%, rgba(0, 0, 0, 0.05))
	);
	background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0) 64%, rgba(0, 0, 0, 0.05) 100%);
	background: -o-linear-gradient(left, rgba(0, 0, 0, 0) 64%, rgba(0, 0, 0, 0.05) 100%);
	background: -ms-linear-gradient(left, rgba(0, 0, 0, 0) 64%, rgba(0, 0, 0, 0.05) 100%);
	background: linear-gradient(to right, rgba(0, 0, 0, 0) 64%, rgba(0, 0, 0, 0.05) 100%);
}

.rm-content {
	padding: 20px;
}

.rm-cover .rm-back .rm-content,
.rm-middle .rm-inner .rm-content,
.rm-right .rm-back .rm-content {
	height: 100%;
	box-sizing: border-box;
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: thin;
	scrollbar-color: #e6b741 transparent;
}

.rm-cover .rm-back .rm-content::-webkit-scrollbar,
.rm-middle .rm-inner .rm-content::-webkit-scrollbar,
.rm-right .rm-back .rm-content::-webkit-scrollbar {
	width: 6px;
}

.rm-cover .rm-back .rm-content::-webkit-scrollbar-thumb,
.rm-middle .rm-inner .rm-content::-webkit-scrollbar-thumb,
.rm-right .rm-back .rm-content::-webkit-scrollbar-thumb {
	background: #e6b741;
	border-radius: 3px;
}

.rm-logo,
.rm-content h2,
.rm-content h4,
a.rm-button-open,
.rm-modal h5 {
	font-weight: 700;
	text-transform: uppercase;
	font-family: "Arvo", Arial, sans-serif;
}

.rm-logo {
	width: 200px;
	height: 100px;
	background-image: url("../images/restaurant.svg");
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	/* border-radius: 50%; */
	margin: 20px auto;
	/* box-shadow:
		0 0 0 3px #fff,
		0 0 0 4px #e6b741,
		0 0 0 5px #fff,
		0 0 0 6px #e6b741,
		0 0 0 7px #fff,
		0 0 0 8px #e6b741; */
}

.rm-content h2 {
	letter-spacing: 2px;
	font-size: 32px;
	text-shadow:
		1px 1px 0 #fff,
		3px 3px 0 #e6b741;
}

.rm-content h3 {
	font-size: 16px;
	margin: 40px 0;
	padding: 20px 40px;
	color: #323b4c;
	font-weight: 500;
	border-top: 4px double #323b4c;
	text-transform: uppercase;
	line-height: 24px;
	text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
}

.rm-content h4 {
	margin: 0 0 20px 0;
	font-size: 20px;
	padding-bottom: 10px;
	color: #323b4c;
	border-bottom: 4px double #323b4c;
	text-shadow:
		1px 1px 0 #fff,
		2px 2px 0 #e6b741;
	letter-spacing: 2px;
}

.rm-content h4:not(:first-child) {
	margin-top: 35px;
}

a.rm-button-open {
	color: #323b4c;
	font-size: 16px;
	line-height: 45px;
	margin: 10px auto;
	display: block;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

a.rm-button-open:hover {
	color: #e6b741;
}

.rm-info p {
	line-height: 1.5;
	font-size: 16px;
}

.rm-content dl {
	margin: 0;
}

.rm-content dl dt,
.rm-content dl dd {
	display: block;
	margin: 0;
}

.rm-content dl dt {
	font-weight: 500;
	text-transform: uppercase;
	font-size: 16px;
}

.rm-content dl dd {
	font-size: 15px;
	padding: 4px 5px 15px;
	line-height: 19px;
	color: #333;
}

.rm-order p {
	padding: 10px;
	background: rgba(213, 193, 154, 0.2);
	margin: 20px 0 0;
}

a.rm-viewdetails:before {
	font-family: "entypo-selected";
	content: "\56";
	font-style: normal;
	font-weight: normal;
	speak: none;
	display: inline-block;
	text-decoration: inherit;
	width: 15px;
	margin-right: 4px;
	text-align: center;
	opacity: 0.7;
	line-height: 16px;
	text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3);
}

.rm-modal {
	position: absolute;
	z-index: 10000;
	width: 120%;
	margin-left: -10%;
	top: 50%;
	padding: 40px;
	background: #fff url(../images/white_paperboard.jpg);
	box-shadow:
		inset 0 0 0 16px #fff,
		inset 0 0 0 17px #e6b741,
		inset 0 0 0 18px #fff,
		inset 0 0 0 19px #e6b741,
		inset 0 0 0 20px #fff,
		inset 0 0 0 21px #e6b741,
		0 4px 20px rgba(0, 0, 0, 0.4);
	opacity: 0;
	pointer-events: none;
	-webkit-transform: translateZ(1000px);
	transform: translateZ(1000px);
}

.rm-modal h5 {
	margin: 0;
	font-size: 20px;
	text-shadow:
		1px 1px 0 #fff,
		2px 2px 0 #e6b741;
}

.rm-modal .rm-thumb {
	width: 100px;
	height: 100px;
	background-repeat: no-repeat;
	background-position: center center;
	float: left;
	margin: 0 20px 0 0;
	box-shadow:
		inset 1px 1px 3px rgba(0, 0, 0, 0.2),
		1px 1px 1px rgba(255, 255, 255, 0.9);
}

.rm-modal a:after,
.rm-button-open:after {
	content: "\2192";
	display: inline-block;
	margin-left: 3px;
	font-family: Arial, sans-serif;
}

a.rm-viewdetails,
.rm-modal a {
	color: #e6b741;
	font-weight: 500;
}

.rm-modal a {
	float: right;
	clear: both;
}

a.rm-viewdetails:hover,
.rm-modal a:hover {
	color: #000;
}

.rm-close {
	background: #e6b741;
	text-transform: uppercase;
	display: block;
	position: absolute;
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	line-height: 22px;
	padding: 6px 14px;
	top: -34px;
	opacity: 0;
	right: 30px;
	cursor: pointer;
	border-radius: 3px;
	letter-spacing: 1px;
	transition: all 0.3s ease;
	opacity: 1;
}

.rm-container.rm-open .rm-close:hover {
	opacity: 0.7;
	transition: all 0.3s ease;
}

.rm-close-modal {
	cursor: pointer;
	right: 21px;
	top: 21px;
	display: block;
	position: absolute;
	width: 16px;
	height: 16px;
	background: #2a323f;
	color: white;
	text-align: center;
	line-height: 14px;
	font-size: 15px;
	font-family: Arial, sans-serif;
}

/* Transitions */

.rm-wrapper,
.rm-wrapper > div {
	-webkit-transition:
		all 0.6s ease-in-out,
		height 0s;
	transition:
		all 0.6s ease-in-out,
		height 0s;
}

.rm-modal {
	-webkit-transition:
		-webkit-transform 0.6s ease-in-out,
		opacity 0.6s ease-in-out;
	transition:
		transform 0.6s ease-in-out,
		opacity 0.6s ease-in-out;
}

.rm-close {
	/* -webkit-transition: all 0.1s ease-in-out 0s; */
	/* transition: all 0.1s ease-in-out 0s; */
}

.rm-container.rm-open .rm-close {
	/* -webkit-transition: all 0.3s ease-in-out 0.8s; */
	/* transition: all 0.3s ease-in-out 0.8s; */
	/* opacity: 1; */
}

.rm-container.rm-open .rm-wrapper > div {
	box-shadow: 0 4px 5px -3px rgba(0, 0, 0, 0.6);
}

.rm-container.rm-open .rm-cover {
	-webkit-transform: rotateY(-180deg);
	-webkit-transition-delay: 0s;
	transform: rotateY(-180deg);
	transition-delay: 0s;
}

.rm-container.rm-open .rm-middle,
.rm-container.rm-open .rm-right {
	pointer-events: auto;
}

.rm-container.rm-open .rm-right {
	-webkit-transform: rotateY(180deg);
	-webkit-transition-delay: 0.2s;
	transform: rotateY(180deg);
	transition-delay: 0.2s;
}

.rm-container.rm-in .rm-cover {
	-webkit-transform: rotateY(-150deg);
	transform: rotateY(-150deg);
}

.rm-container.rm-in .rm-right {
	-webkit-transform: rotateY(150deg);
	transform: rotateY(150deg);
}

.rm-container.rm-in .rm-wrapper {
	-webkit-transform: translateZ(-500px);
	transform: translateZ(-500px);
}

.rm-container.rm-in .rm-cover,
.rm-container.rm-in .rm-right,
.rm-container.rm-nodelay .rm-right {
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

.rm-container.rm-in .rm-modal {
	-webkit-transform: translateZ(0px);
	transform: translateZ(0px);
	opacity: 1;
	pointer-events: auto;
}

/* Fallback (similar to last media query) */

.no-csstransforms3d .rm-container {
	width: 100%;
	height: auto;
	max-width: 460px;
}
.no-csstransforms3d .rm-wrapper,
.no-csstransforms3d .rm-wrapper > div,
.no-csstransforms3d .rm-wrapper > div > div {
	position: relative;
	width: 100%;
	height: auto;
}

.no-csstransforms3d .rm-wrapper > div > div {
	margin-bottom: 10px;
	box-shadow:
		inset 0 0 0 16px #fff,
		inset 0 0 0 17px #e6b741,
		inset 0 0 0 18px #fff,
		inset 0 0 0 19px #e6b741,
		inset 0 0 0 20px #fff,
		inset 0 0 0 21px #e6b741,
		0 3px 5px rgba(0, 0, 0, 0.2);
}

.no-csstransforms3d .rm-container .rm-back {
	-webkit-transform: rotateY(0deg);
	transform: rotateY(0deg);
}

.no-csstransforms3d .rm-overlay,
.no-csstransforms3d .rm-middle .rm-overlay {
	display: none;
}

.no-csstransforms3d .rm-right .rm-front {
	display: none;
}

.no-csstransforms3d .rm-button-open {
	pointer-events: none;
}

.no-csstransforms3d .rm-button-open:after {
	content: "\2193";
}

.no-csstransforms3d .rm-modal {
	position: fixed;
	width: 80%;
	top: 50%;
	left: 50%;
	margin: 0 0 0 -40%;
	-webkit-transition: opacity 0.6s ease-in-out 0s;
	transition: opacity 0.6s ease-in-out 0s;
}

.no-csstransforms3d .rm-container.rm-in .rm-cover,
.no-csstransforms3d .rm-container.rm-in .rm-right,
.no-csstransforms3d .rm-container.rm-in .rm-wrapper {
	-webkit-transform: rotateY(0deg);
	-webkit-transition-delay: 0s;
	transform: rotateY(0deg);
	transition-delay: 0s;
}

body {
	background-size: cover;
}

/* dt {
	color: brown;
	font-weight: 700;
} */

/* Media Queries */

@media screen and (max-width: 1400px) {
	.rm-container {
		height: 950px;
	}
}

@media screen and (max-width: 1100px) {
	.container {
		align-items: flex-start;
	}
	.main {
		padding-top: 6rem;
	}
	.rm-container {
		width: 100%;
		height: auto;
		max-width: 560px;
		-webkit-perspective: 0px;
		perspective: 0px;
	}
	.rm-wrapper,
	.rm-wrapper > div,
	.rm-wrapper > div > div {
		position: relative;
		width: 100%;
		height: auto;
	}

	.rm-wrapper > div > div {
		margin-bottom: 10px;
		box-shadow:
			inset 0 0 0 16px #fff,
			inset 0 0 0 17px #e6b741,
			inset 0 0 0 18px #fff,
			inset 0 0 0 19px #e6b741,
			inset 0 0 0 20px #fff,
			inset 0 0 0 21px #e6b741,
			0 3px 5px rgba(0, 0, 0, 0.2);
	}

	.rm-container .rm-back,
	.rm-container.rm-open .rm-cover,
	.rm-container.rm-open .rm-right {
		-webkit-transform: rotateY(0deg);
		transform: rotateY(0deg);
	}

	.rm-overlay,
	.rm-middle .rm-overlay {
		background: transparent;
	}

	.rm-right .rm-front,
	.rm-close {
		display: none;
	}

	.rm-button-open {
		display: none;
		pointer-events: none;
	}

	.rm-button-open:after {
		content: "\2193";
	}

	.rm-container .rm-modal {
		position: fixed;
		width: 80%;
		top: 50%;
		left: 50%;
		margin: 0 0 0 -40%;
		-webkit-transform: translateZ(0px);
		transform: translateZ(0px);
		-webkit-transition: opacity 0.6s ease-in-out 0s;
		transition: opacity 0.6s ease-in-out 0s;
	}

	.rm-container.rm-in .rm-cover,
	.rm-container.rm-in .rm-right,
	.rm-container.rm-in .rm-wrapper {
		-webkit-transform: rotateY(0deg);
		-webkit-transition-delay: 0s;
		transform: rotateY(0deg);
		transition-delay: 0s;
	}

	.rm-button-open {
		display: none !important;
	}

	.rm-content h3 {
		margin-bottom: 0;
	}

	body {
		background-size: contain;
	}
}

@media (max-width: 768px) {
	.main {
		max-width: 90%;
	}

	.rm-content h2 {
		font-size: 26px;
	}
}

/* Fixed "back to home" pill, matching the menu's light/gold theme */
.back-home {
	position: fixed;
	top: 1.5rem;
	right: 1.5rem;
	z-index: 9999;
	padding: 0.7rem 1.4rem;
	border: 1px solid rgba(50, 59, 76, 0.4);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.65);
	color: #323b4c;
	font-family: "Arvo", Arial, sans-serif;
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	transition:
		color 0.2s ease,
		border-color 0.2s ease,
		background 0.2s ease,
		opacity 0.3s ease,
		visibility 0.3s ease;
}

.back-home:hover,
.back-home:focus {
	color: #e6b741;
	border-color: #e6b741;
	background: rgba(255, 255, 255, 0.85);
	outline: none;
}

/* When the menu is open it fills the screen and its "Schließen" control
   sits in the top-right corner — exactly where this pill is. Hide the pill
   while the menu is open so it never overlaps the menu / Schließen. */
body:has(.rm-container.rm-open) .back-home {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

@media (max-width: 768px) {
	.back-home {
		top: 0.85rem;
		right: 0.85rem;
		padding: 0.55rem 1.1rem;
		font-size: 0.8rem;
	}
}
