@font-face {
	font-family: "Roboto_Black";
	src: url(mat/fonts/Roboto/static/Roboto-Black.ttf) format("opentype");
}

@font-face {
	font-family: "Roboto_Serif";
	src: url(mat/fonts/Roboto_Serif/static/RobotoSerif-Regular.ttf) format("opentype");
}

@keyframes nav_sticky {
	from {
		border-bottom: 1px solid white;
	}

	to {
		border-bottom: 1px solid rgb(117, 78, 33);
	}
}



body {
	max-width: 440px;
	margin: 0px auto 0px auto;
	font-family: Roboto_Serif;
	background-color: rgb(253, 250, 241)
		/*rgb(240,215,156)*/
	;
	color: rgb(15, 7, 4);


}

header,
article,
footer {
	width: 100%;
	padding: 2%;
	background-color: white;
}

header {
	position: sticky;
	top: 0px;
	animation: nav_sticky linear forwards;
	animation-timeline: scroll();
	animation-range: 0 500px;
	z-index: 2;
}

footer {
	border-top: 1px solid rgb(117, 78, 33);
	font-family: Roboto_Black;
	padding-top: 20px;
	padding-bottom: 20px;
	color: rgb(117, 78, 33);
	;

}

footer a {
	margin-left: 15px;
	color: rgb(117, 78, 33);
}

h1,
h2,
h3,
h4 {
	font-family: Roboto_Black;
	scroll-margin-top: 110px;
}



h1 {
	color:
		/* rgb(122,81,37)*/
		rgb(117, 78, 33);
	font-weight: bold
}

h2 {
	margin-top: 1.0em;
	margin-bottom: 0.5em;
}

p {
	font-size: 1em;
	line-height: 1.3em;
	margin-top: 0.5em;
}

mark,
b {
	font-weight: bold;
	background-color: transparent;
}

a {
	color: rgb(15, 7, 4);
	text-decoration: underline solid rgb(240, 215, 155) 0.17em;
}

p.super_titel {
	font-family: Roboto_Black;
	font-size: 0.8em;
	font-weight: bold;
	color: rgb(117, 78, 33);
	margin-top: 0px;
	margin-bottom: -20px;
}

#page_nav {
	visibility: visible;
	height: initial;
}

#page_nav a {
	padding-left: 18px;
	background-image: url(mat/icons/linkmarke.png);
	background-repeat: no-repeat;
	background-size: auto 60%;
	background-position: left center;
	text-decoration: none;
}

#page_nav a:hover {
	text-decoration: underline solid rgb(240, 215, 155) 0.17em;
}



#page_nav_inside {
	visibility: hidden;
	height: 0px
}

#page_nav_inside a {
	padding-left: 18px;
	background-image: url(mat/icons/linkmarke.png);
	background-repeat: no-repeat;
	background-size: auto 60%;
	background-position: left center;
	text-decoration: none;
}

#page_nav_inside a:hover {
	text-decoration: underline solid rgb(240, 215, 155) 0.17em;
}

p+ul {
	padding-top: 0px;
	margin-top: -1em;
}

ul.places_to_see li {
	list-style-type: '> ';
}


.logo {
	width: 100%;
	text-align: right;
	padding-right: 2%;
	font-family: Roboto_Black;
	font-size: 0.8em;
	color: rgb(117, 78, 33)
}

.logo a {
	text-decoration: none;
	font-family: Roboto_Black;
	color: rgb(117, 78, 33);
}

nav {

	top: 0;
	width: 100%;
	padding: 15px 0px 15px 0px;
	background-color: white;

}

nav a {
	font-family: Roboto_Black;
	font-weight: bold;
	font-size: 0.8em;
	margin-right: 5px;
	padding: 5px;
	text-decoration: none;
	color: rgb(240, 215, 155);
	background-color: rgb(117, 78, 33);

}

nav a::before {
	content: "\\";
}

img {
	width: 100%;
	margin-left: 0%;
}

img.hero {

	width: 104%;
	margin-left: -2%;

}


figure {
	width: 100%;
	margin-left: 0%
}

figcaption {
	font-family: Roboto_Black;
	font-size: 0.8em;
}

.nav_category {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto;
	column-gap: 5px;
	row-gap: 5px;
	padding: 5px;
	background-color: rgb(117, 78, 33);
	width: 100%;
	margin-left: -2%;
	padding: 2%;

}

.nav_category p.nc_head {
	grid-column-start: 1;
	grid-column-end: 3;
	color: rgb(240, 215, 155);
	margin: 0px;
	font-family: Roboto_Black;
	font-size: 1.1em;
}






.nav_category div.linkcaption {
	background-color: rgba(240, 215, 155, 1);
	padding: 5px;
}

.nav_category a {
	padding: 2% 2% 2% 2%;
	font-size: 0.7em;
	text-decoration: none;
	background-color: rgb(240, 215, 155);
}

.nav_category a:hover {

	border: solid 2px rgb(117, 78, 33);
}

.nav_category a p {
	line-height: 1.2em;

}

.nav_category a p.linkt {
	font-family: Roboto_Black;
	font-size: 1.2em;
	padding-bottom: 0px;
	margin-bottom: 0px;
	line-height: 1em;
}

.nav_category img {

	max-width: 100%;
	;
}

.nav_category div.linkbox {
	background-color: rgb(240, 215, 155);
	padding: 2%
}


.nav_category div.linkbox a {
	display: block;
	width: calc(94%-4px);
	padding: 2%;
	margin-bottom: 5px;
	background-color: rgb(117, 78, 33);
	color: rgb(240, 215, 155);
	border: solid 2px rgb(117, 78, 33);

}

.nav_category div.linkbox a:hover {
	display: block;
	/*color: rgb(117, 78, 33);
	background-color: rgb(240, 215, 155);*/
	border: solid 2px rgb(240, 215, 155);
	;

}
#gallery_wrapper {
	display: grid;
	grid-template-columns: 40px 1fr 40px;
	width: 100%;
	  max-width: 100%;      
		background-color: rgb(117, 78, 33);
		}
#gallery {
position: relative;
 z-index: 1;
display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
   scrollbar-width: none;

}


#gallery img {
	  height: 100px;padding: 5px 5px 15px 5px;
  width: auto;
  object-fit: cover;
}

#gallery_head {
	
	display: block;
	padding:10px 5px 5px 45px;
	font-family: 'Roboto_Black';
	font-size:1em;
	color: rgb(240, 215, 155);

	width: 100%;
		grid-column-start: 1;
		grid-column-end: 4;
}

button.arrow {
  font-size: 80px;
  cursor: pointer;
  background: none;
  border: none;
  color:rgb(240, 215, 155);
}
button.left {
float:left;
justify-self: center;
	
}
button.right{
float:right;
justify-self: center;
}
	



#lightbox {
	width: 100%;
	height: 500px;
  background:  rgb(240, 215, 155);
  display: flex;
}
.lightbox img {
  max-width: 95%;
  max-height: 95%;
  width: auto;
  height: auto;
  margin: 2.5% auto 2.5% auto;

}

@media (min-width: 660px) {
	body {
		width: 100%;
		max-width: 880px;
	}


	header {
		position: static;
	}

	nav {
		margin-left: -2%;
		width: 104%;
		height: 40px;

	}

	nav a {

		display: block;

		float: left;
		width: 20.25%;
		font-size: 1em;
		margin-left: 0%;
		margin-right: 0.5%;
		padding: 2%;
		text-align: center;
	}

	nav a:first-of-type {
		margin-left: 1%
	}

	nav a:hover {
		color: rgb(117, 78, 33);
		background-color: rgb(240, 215, 155);
	}

	nav a::before {
		content: "";
	}

	article {
		display: grid;
		grid-template-columns: 1fr 2fr;
		grid-template-areas:
			'hero_img  caption';


	}

	img.hero {
		grid-area: hero_img;
		width: 100%;
		max-width: 440px;
	}

	h1 {
		font-size: 3em;
	}



	p {
		line-height: 1.5em;
	}


	p.super_titel {
		font-size: 1.5em;
	}

	.caption_box {
		grid-area: caption;
		justify-self: center;
		align-self: center;
	}

	section {
		grid-column-start: 1;
		grid-column-end: 3;
	}

	#page_nav {
		visibility: hidden;
		height: 0px;
	}

	#page_nav_inside {
		visibility: visible;
		height: initial
	}


	
	figure {
		max-width: 66%;
		padding: 3px 17% 3px 17%;
	}

	.nav_category p.nc_head {
		grid-column-start: 1;
		grid-column-end: 5;
	}

	figure.quad_no_flow {
		max-width: 50%;
		padding: 0 25% 0 25%;
	}

	figure.quad_flow {
		max-width: 46%;
		padding: 0 0% 0 0%;
		float: left;
		margin-top: 0px;
	}

	.nav_category p.nc_head {
		grid-column-start: 1;
		grid-column-end: 5;
	}


	.nav_category {
		grid-column-start: 1;
		grid-column-end: 3;
		display: grid;
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}

	div.places_to_see {
		border: 1px solid rgb(117, 78, 33);
		width: 50%;
		padding: 2%;
		float: left;
	}
	
	#gallery_wrapper {
		grid-column-start: 1;
		grid-column-end: 3;
	}
	
	#lightbox {
		grid-column-start: 1;
		grid-column-end: 3;
	}
	
	#gallery_head {
		font-size: 1.5em;
		}
	
	#gallery img {
	  height: 250px;padding: 5px 5px 15px 5px;
  width: auto;
  object-fit: cover;
}



}


@media (min-width: 1320px) {


	header {
		position: fixed;
		top: 0px;
		margin-left: 960px;
		width: 200px;
		z-index: 2;
		animation: none;

	}

	nav a {

		display: block;

		float: left;
		width: 100%;
		font-size: 1em;
		margin-left: 0%;
		margin-right: 0.5%;
		margin-bottom: 10px;
		padding: 2%;
		text-align: center;


	}

	nav a:first-of-type {
		margin-left: 0%
	}

	.logo {
		font-size: 1.5em;
	}
}