@import url("https://fonts.googleapis.com/css2?family=Hind+Guntur:wght@400;500;700&display=swap");

:root {
	--pageWidth: 83%;

	--fontSizeDesktop: 1.2vw;
	--fontSizeNavigationDesktop: 1.1vw;

	--fontSizeMobile: 5vw;
}

*,
*:before,
*:after {
	box-sizing: border-box;
}

html {
	overflow-y: scroll;
	overflow-x: hidden;
	margin: 0;
	padding: 0;
	border: 0;
}

body {
	font-family: "Hind Guntur", sans-serif;
	font-size: var(--fontSizeDesktop);
	font-weight: 400;
	line-height: 1.1em;
	color: #000;
	width: 100%;
	margin: 0;
	padding: 0;
}

strong,
b {
	font-weight: 700;
}

#page {
	position: relative;
	width: var(--pageWidth);
	margin: 0 auto;
}

header {
	z-index: 100;
	position: fixed;
	top: 0;
	width: var(--pageWidth);
	padding: 4.1vw 0 0 0;
	height: 14.2vw;
	display: grid;
	grid-template-columns: 41% 13.8% 45.2%;
	background-color: #fff;
}

#logo {
	margin: 0.5em 0 0 0;
}

h1 {
	margin: 0;
	padding: 0;
	font-size: 2em;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #4d787b;
}

h2 {
	margin: 0.7em 0 0 0;
	padding: 0;
	font-size: 2em;
	font-weight: 400;
	letter-spacing: -0.02em;
	color: #000;
}

a,
.turquoise-bold {
	font-weight: 700;
	color: #4d787b;
	text-decoration: none;
}

p {
	margin: 0 0 1em 0;
}

.color-turquoise {
	color: #4d787b;
}

.formRow {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	height: 0;
	width: 0;
	z-index: -1;
}

#bildergalerie a,
#navigation a {
	display: block;
	font-size: 1.2em;
	font-weight: 400;
	line-height: 1.2em;
	letter-spacing: -0.02em;
	color: #000;
	text-decoration: none;
}

#navigation {
	text-align: right;
}

#navigation a {
	display: inline-block;
	/* margin: 0 1.7em 0 0; */
	margin: 0 1.7em 0 0;
}

#navigation a::before {
	display: block;
	content: attr(title);
	font-weight: 700;
	height: 0;
	overflow: hidden;
	visibility: hidden;
}

#navigation a:last-child {
	margin: 0;
}

#bildergalerie a:hover,
#bildergalerie a.active,
#navigation a:hover,
#navigation a.active {
	font-weight: 700;
	color: #4d787b;
}

main {
	margin: 22vw 0 5em 0;
	width: 42vw;
	font-size: 1.2em;
	line-height: 1.2em;
	letter-spacing: -0.002em;
	text-align: justify;
}

#portrait {
	position: fixed;
	left: 76vw;
	top: 22vw;
	width: 10vw;
}

#portrait img {
	width: 100%;
}

#gallery {
	margin: 28vw 0 1em 0;
	width: 100%;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-gap: 0.5vw;
}

#gallery div {
	/* border: 2px solid #4d787b; */
}

#gallery div img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#images img {
	position: absolute;
	top: 6vw;
	left: 0;
	width: 100%;
}

#address,
.list {
	display: grid;
	grid-template-columns: max-content 1fr;
	grid-gap: 0 0.5em;
	margin: 0 0 1em 0;
}

.opening-hours {
	display: grid;
	grid-template-columns: repeat(5, max-content);
	grid-gap: 0 0.25em;
	margin: 0 0 1em 0;
}

.opening-hours div:nth-child(1) {
	padding-right: 1em;
}

.small {
	font-size: 0.75em;
}

#logo,
nav {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.iconMobile {
	display: none;
}

/* MOBILE */
@media screen and (max-width: 768px) {
	body {
		font-size: var(--fontSizeMobile);
		line-height: 1.2em;
	}

	#page {
		width: 100%;
		margin: 0 auto;
		padding: 5vw;
		background-color: #ffffff;
	}

	header {
		display: block;
		width: 100%;
		height: 30vw;
	}

	#logo {
		margin: 1em 0 0 0;
	}

	h1 {
		font-size: 7vw;
		font-weight: 700;
		letter-spacing: -0.02em;
	}

	h2 {
		margin: 4vw 0 0 0;
		font-size: 7vw;
		font-weight: 400;
		letter-spacing: -0.02em;
	}

	#bildergalerie,
	#navigation {
		display: none;
		position: absolute;
		left: 0;
		top: 50vw;
	}

	#navigation {
		left: initial;
		right: 5vw;
		padding: 0 5vw 0 0;
	}

	#bildergalerie a,
	#navigation a {
		line-height: 12vw;
	}

	#navigation a {
		display: block;
		margin: 0 0 0 0;
	}

	#navigation a:last-child {}

	main {
		margin: 28vw 0 0 0;
		width: 100%;
		font-size: 1em;
		line-height: 1.2em;
		text-align: left;
	}

	#portrait {
		z-index: 1;
		position: relative;
		float: left;
		left: 0;
		right: 0;
		top: 0;
		width: 30vw;
	}

	#portrait img {
		width: 80%;
	}

	#gallery {
		margin: 20vw 0 0 0;
		width: 100%;
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-gap: 2vw;
	}

	#gallery div {
		/* border: 2px solid #4d787b; */
	}

	#gallery div img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	#images img {
		position: absolute;
		top: 70vw;
		left: 0;
		width: 100%;
	}

	.iconMobile {
		position: fixed;
		top: 8vw;
		right: 5vw;
		display: flex;
		justify-content: center;
		align-items: center;
		width: 10vw;
		height: 10vw;
		cursor: pointer;
		transition: all 0.25s ease-in-out;
	}

	.iconMobileBar {
		width: 7vw;
		height: 0.5vw;
		background: #4d787b;
		box-shadow: 0 2px 5px rgba(255, 101, 47, 0.2);
		transition: all 0.25s ease-in-out;
	}

	.iconMobileBar::before,
	.iconMobileBar::after {
		content: "";
		position: absolute;
		width: 7vw;
		height: 0.5vw;
		background: #4d787b;
		box-shadow: 0 2px 5px rgba(255, 101, 47, 0.2);
		transition: all 0s ease-in-out;
	}

	.iconMobileBar::before {
		transform: translateY(-2vw);
	}

	.iconMobileBar::after {
		transform: translateY(2vw);
	}

	.iconMobile.open .iconMobileBar {
		transform: rotate(0deg) translateX(0);
		background: transparent;
		box-shadow: none;
	}

	.iconMobile.open .iconMobileBar::before {
		background: #4d787b;
		transform: rotate(45deg) translate(0);
	}

	.iconMobile.open .iconMobileBar::after {
		background: #4d787b;
		transform: rotate(-45deg) translate(0);
	}
}