@charset "utf-8";

/* *** Schriften *** */

@font-face {
	font-family: 'Great Vibes';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../schriften/Great_Vibes/great-vibes-v19-latin-regular.eot');
	src: url('../schriften/Great_Vibes/great-vibes-v19-latin-regular.eot?#iefix') format('embedded-opentype'),
		url('../schriften/Great_Vibes/GreatVibes.woff2') format('woff2'),
		url('../schriften/Great_Vibes/great-vibes-v19-latin-regular.woff') format('woff'),
		url('../schriften/Great_Vibes/great-vibes-v19-latin-regular.ttf') format('truetype'),
		url('../schriften/Great_Vibes/great-vibes-v19-latin-regular.svg#GreatVibes') format('svg');
}

@font-face {
  font-family: 'Reenie Beanie';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../schriften/reenie-beanie/reenie-beanie-v20-latin-regular.eot');
  src: url('../schriften/reenie-beanie/reenie-beanie-v20-latin-regular.eot?#iefix') format('embedded-opentype'),
       url('../schriften/reenie-beanie/reenie-beanie-v20-latin-regular.woff2') format('woff2'),
       url('../schriften/reenie-beanie/reenie-beanie-v20-latin-regular.woff') format('woff'),
       url('../schriften/reenie-beanie/reenie-beanie-v20-latin-regular.ttf') format('truetype'),
       url('../schriften/reenie-beanie/reenie-beanie-v20-latin-regular.svg#ReenieBeanie') format('svg');
}

:root {
	--accent2-color: darkred;
	--aktuelle-seite: #F6B779;
	--article-farbe: #DFD7C4;
	--body-farbe: #DDCAA5;
	--center-orange: #f79900;
	--footer-gradient: linear-gradient(170deg, rgba(37,63,114,1) 0%, rgba(37,63,114,1) 30.05%, rgba(111,172,228,1) 100%);
	--header-farbe: #253F72;
	--header-text: #FFFFFF;
	--hover-ankerfarbe: #96C6EC;
	--hover-nav-farbe: #F68979;
	--navi-background: rgba(68,107,143,0.7);
}

html {
  box-sizing: border-box;
  font-size: 16px;
}

*, *::before, *::after {
  box-sizing: inherit;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--body-farbe);
  font-family: 'Nunito Sans', Tahoma, Verdana, Arial, sans-serif;
  color: var(--header-farbe);
  line-height: 1.6;
}

#wrapper {
  min-width: 320px;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
	background-color: var(--header-farbe);
}

header {
	display: grid;
	grid-template: "logo navi"
                 "h1 h1";
	padding: 0.5rem 1rem;
	width: 100%;
}

#logo {
	grid-area: logo;
	width: 100px;
}

h1 {
  font-family: 'Great Vibes', Verdana, sans-serif;
  font-size: 2rem;
  font-weight: lighter;
  letter-spacing: 0.25rem;
  text-align: center;
  margin: 1rem 0 1.5rem;
  color: var(--header-text);
  width: 100%;
  order: 30;
}

#viewport_klein {
	grid-area: h1;
	margin: 0;
}

#viewport_gross {
	display: none;
	grid-area: h1;
	margin: 0;
}

/*	Navigation Hamburger Menü */

.hamburger {
	text-align: end;
	width: 30%;
	grid-area: navi;
	color: var(--header-text);
	justify-self: end;
	margin-right: 1.5rem;
}

[popover] {
	height: 0;
	width: 10rem;
	background-color: var(--header-farbe);
	border-style: none;
	overflow-y: clip;
	transition: height 0.25s allow-discrete, display 0.25s allow-discrete;
	inset: auto;
	interpolate-size: allow-keywords;
	position-anchor: --main-nav-toggle;
	/* for Chrome, problems with auto */
	top: anchor(top);
	right: anchor(right);
}

[popover]:popover-open {
	height: 15em;	/* Fallback */
	height: calc-size(auto, size);
	transition: height 0.4s allow-discrete, display 0.4s allow-discrete;
}

/* Entry: starting state before the popover animates in */
@starting-style {
	[popover]:popover-open {
		height: 0;
	}
}

nav ul {
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
}

nav li {
	list-style: none;
	margin: .2rem;
	padding: 0;
}

nav a {
    display: block;
    padding: 0.2rem;
    text-decoration: none;
    font-weight: lighter;
    border: thin solid var(--background-color);
    border-radius: .5rem;
    color: var(--header-text);
    background-color: var(--navi-background);
    text-align: center;
    transition: all .25s ease-in;
}

[aria-current=page] {
	color: var(--aktuelle-seite);
}

nav a:focus,
nav a:hover,
nav a:active {
	color: var(--background-color);
	background-color: var(--hover-ankerfarbe);
	font-weight: bold;
}

button {
	font-size: 2rem;
	border: none;
	border-radius: .4em;
	width: 1.7em;
	min-height: 1.6em;
	font-weight: bold;
	padding: 0;
	color: aliceblue;
	background-color: var(--header-farbe);
}

.close-btn {
	background-color: var(--accent2-color);
	color: white;
	cursor: pointer;
	position: absolute;
	right: .2em;
	font-size: 1rem;
	padding: 0.25rem 0.4rem;
	text-align: center;
	top: 0.2rem;
}

.visually-hidden,
[visually-hidden="true"] {
	position: absolute !important;
	clip-path: rect(1px, 1px, 1px, 1px) !important;
	padding: 0 !important;
	border: 0 !important;
	height: 1px !important;
	width: 1px !important;
	overflow: hidden !important;
}

/* Hauptteil */

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
}

#wetter {
  margin: 2rem auto 0;
}

iframe {
	width: 200px;
	height: 300px;
	-webkit-box-shadow: 5px 6px 10px #0A0A0A;
	box-shadow: 5px 6px 10px #0A0A0A;
	border: 1px solid;
	border-radius:10px;
	border-color:#00537f;
}

.center_orange {
  margin: 0 auto 1rem;
  color: var(--center-orange);
  font-weight: 500;
  font-size: 1.1rem;
  text-align: center;
}

article {
  background-color: var(--article-farbe);
  font-size: 1rem;
  width: min(80%, 1300px);
  padding: 1.5rem;
  margin: 0 auto;
  border-radius: 0.5rem;
}
.anker {
	float: right;
	border: medium solid #010D82;
	border-bottom-left-radius: 10px;
	border-top-right-radius: 10px;
	padding: 0.2rem;
	background-color: var(--body-farbe);
	-webkit-box-shadow: 10px 10px 25px #707070;
	box-shadow: 10px 10px 25px #707070;
	margin-bottom: 2rem;
}

.anker:hover {
	background-color: var(--hover-ankerfarbe);
	border-bottom-right-radius: 10px;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 0px;
	border-top-right-radius: 0px;
}

.anker a {
	font-family: Termina, Verdana, Arial, "Sans Serif Collection";
	font-size: 0.5rem;
	color: #010D82;
	text-decoration: none;
	font-weight: 600;
}

footer {
	display: grid;
	grid-template: "impressum copyright sitelock";
	padding: 0.5rem 0.5rem 0 0.5rem;
	background: var(--footer-gradient);
	color: var(--header-text);
}

#footer-nav {
	grid-area: impressum;
	width: min(100%, 320px);
	margin-top: 1rem;
}

#footer-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer-nav li {
  padding-bottom: 0.75rem;
}

#footer-nav a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

#footer-nav a:hover {
  color: var(--hover-ankerfarbe);
}

#copyright {
	grid-area: copyright;
	width: 100%;
	color: var(--header-text);
	font-size: 0.75rem;
	text-align: center;
	padding-bottom: 0;
	align-self: end;
}

#secure {
	grid-area: sitelock;
	max-width: 80px;
	justify-self: end;
	margin: 0.2rem;
}

#secure img {
	width: 80px;
}

/* *** Seitenspezifisches *** */

/* *** Buchungslink *** */

#buchung {
	display: inline-block;
	border-radius: 10px;
	background-color: var(--body-farbe);
	border: none;
	padding: 0.2rem;
	width: 250px;
	height: 2.5rem;
	transition: all 0.5s;
	cursor: pointer;
	margin: 2rem;
	-webkit-box-shadow: 10px 10px 25px #707070;
	box-shadow: 10px 10px 25px #707070;
}

#buchung span {
	cursor: pointer;
	display: inline-block;
	position: relative;
	transition: 0.5s;
}

#buchung span:after {
	content: '\00bb';
	position: absolute;
	opacity: 0;
	top: 0;
	right: -20px;
	transition: 0.5s;
}

#buchung:hover {
	background-color: var(--header-farbe);
}

#buchung:hover span {
	padding-right: 30px;
	color: white;
}

#buchung:hover span:after {
	opacity: 1;
	right: 0;
}

#buchung a {
	font-family: Termina, Verdana, Arial, "Sans Serif Collection";
	font-size: 0.9rem;
	color: #010D82;
	text-decoration: none;
	font-weight: 600;
}

/* *** Impressum *** */
#verb {
    display: flex;
    justify-content: center;
    width: 275px;
    padding: 0px;
}


/* *** Galerie *** */

#galerie {
	display: grid;
	grid-auto-columns: 300px;
	grid-auto-rows: 300px;
	grid-template-areas: "pic-1"
		"pic-1"
		"pic-1"
		"pic-1"
		"pic-1"
		"pic-1"
		"pic-1"
		"pic-1"
		"pic-1"
		"pic-1"
		"pic-1"
		"pic-1"
		"pic-1"
		"pic-1"
		"pic-1"
		"pic-1"
		"pic-1"
		"pic-1";
	align-content: center;
	justify-content: center;
}

#galerie figure {
	background: #FFF;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
	display: inline-block;
	height: 18rem;
	margin: 1rem auto;
	overflow: hidden;
	padding: 0px;
	width: 15rem;
	transition: all 0.25s ease-in;
}

#galerie figure img {
	width: 15rem;
	height: 15rem;
}

#galerie figure:hover, #galerie figure:focus {
	background-color: white;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
	margin: -1rem 0px 0 30px;
	padding: 5px 5px 30px 5px;
	width: 15.7rem;
	z-index: 2;
	transform: scale(1.5);
}

#galerie figcaption {
	color: #333;
	font-family: "Reenie Beanie", cursive;
	position: relative;
	text-align: center;
	width: 15rem;
	font-size: 1.5rem;
}

#galerie figure:nth-child(3n-2):hover, #galerie figure:nth-child(3n-2):focus {
	transform: scale(1.5) rotate(-2.5deg);
}

#galerie figure:nth-child(5n):hover, #galerie figure:nth-child(5n):focus {
	transform: scale(1.5) rotate(3.5deg);
}

#galerie:after {
	clear: both;
	content: " ";
	display: block;
}

@media (min-width: 769px) {
	main {
		flex-direction: row;
	}
	
	header {
	grid-template: "logo h1 h1 navi";
	}
	
	#secure {
	max-width: 100px;
	}
	
	#secure img {
	width: 100px;
	}
	
	#galerie {
		grid-template-areas: "pic-1 pic-1"
		"pic-1 pic-1"
		"pic-1 pic-1"
		"pic-1 pic-1"
		"pic-1 pic-1"
		"pic-1 pic-1"
		"pic-1 pic-1"
		"pic-1 pic-1"
		"pic-1 pic-1";
	}
}

@media (min-width: 993px) {
	#viewport_klein {
		display: none;
	}
	
	#viewport_gross {
		display: grid;
		margin: 2rem;
	}
	
	.center_orange {
		margin: 0 1rem;
	}
}

@media (min-width: 1201px) {
	
	article p {
			font-size: 1.1rem;
	}
	
	#galerie {
		grid-template-areas: "pic-1 pic-1 pic-1"
			"pic-1 pic-1 pic-1"
			"pic-1 pic-1 pic-1"
			"pic-1 pic-1 pic-1"
			"pic-1 pic-1 pic-1"
			"pic-1 pic-1 pic-1";
	}
}
