
:root {
	--text-color: #655B3E;
	--link-color: #ab9363;
	--link-hover-color: #bca474;
	--bg-nav-color: #374c5d;  
	--bg-nav-link-color: #bab080;
	--bg-card-color: #faf9f5; 
	--bg-card-hover-color: #f3f1e9;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

a {
	text-decoration: none;
	color: inherit;
}

ul {
	list-style: none;
}

/* BASE SYLES */
.html-body {
	min-height: 100vh;
	max-width: 1200px;
	margin: 0 auto;
	font-family: sans-serif;
	color: var(--text-color);
	background-image: url('/site/templates/styles/images/background_content.png');
/*	background-color: rgba(238, 236, 225, 0.75);   */
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position-y: 60px;
	display: flex;
	flex-direction: column;
}

.footer {
	margin-top: auto;
	line-height: 50px;
	text-align: center;
}


h1 {
	font-weight: 500;
	margin-top: 20px;
	margin-bottom: 20px;
}

h1.headline {
	margin-top: 100px;
	font-weight: 500;
}

h2 {
	font-weight: 500;
	margin-top: 20px;
}

h3 {
	font-weight: 500;
	margin-top: 20px;
}

p {
	margin-bottom: 10px;
}


/* Topnav */

.masthead {
	position: relative;
	z-index: 99;
}

.row {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 60px;
	float: left;
	background-image: url('/site/templates/styles/images/background_top.png');
	background-size: cover;
	background-repeat: no-repeat;
}

.nav {
	width: 30%;
	max-width: 0;
	overflow: hidden;
    transition: all 2s;
	background-color: var(--bg-nav-color);
	margin-top: -80px;
	padding-top: 120px;
	height: 100vh;
}

.nav_list {

}

.nav_item {
	padding: 20px;
	text-align: center;
}

.nav_link {
	font-size: 20px;
	color: rgba(171, 147, 99, 0.75);
	padding: 10px 20px;
}

.nav_link:hover {
	color: var(--bg-nav-color);
	background-color: var(--bg-nav-link-color);
}

label.hamburg { 
   display: block;
   width: 75px; height: 50px; 
   position: relative; 
   margin-left: 20px; margin-top: 10px;
   border-radius: 4px; 
}

input#hamburg {display:none}


.line { 
   position: absolute; 
   left:10px;
   height: 4px; width: 55px; 
   background: #868044; border-radius: 2px;
   display: block; 
   transition: 0.5s; 
   transform-origin: center; 
}

.line:nth-child(1) { top: 12px; }
.line:nth-child(2) { top: 24px; }
.line:nth-child(3) { top: 36px; }

#hamburg:checked + .hamburg .line:nth-child(1){
   transform: translateY(12px) rotate(-45deg);
}

#hamburg:checked + .hamburg .line:nth-child(2){
   opacity:0;
}

#hamburg:checked + .hamburg .line:nth-child(3){
   transform: translateY(-12px) rotate(45deg);
}

#hamburg:checked + .hamburg  + .nav { 
    max-width: 100%; 
}

#hamburg:checked + label.hamburg { 
	background-color: transparent;
}


/* NORMAL STYLES */

.main {
	margin: 0 20px;
	position: relative;
}

.headline {
	margin-top: 100px;
	
}

.content {
	display: flex;
	justify-content: space-between;
}

.body {
	margin-right: 20px;
	width: 70%;
}

.sidebar {
	width: 30%;
}

.footer {
	display: flex;
	justify-content: space-between;
}





.float_left li {
	float: left;
	padding: 0 0 6px 0;
	margin: 10px 20px 3px 0;
}

.float_left li:first-child { 
	font-weight: 600;
}

hr {
	clear: both;
	margin: 10px 0 30px 0;
}



/* Unterstrichene Links  */

.tags a {
	position: relative;
	padding: 3px 0;
}

.tags a:hover {
	color: var(--bg-nav-color);
}

.tags a::after {
	content: '';
	height: 2px;
	width: 0;
	background: var(--link-hover-color);
	position: absolute;
	bottom: 0;
	left: 0;
	transition: 300ms ease-in-out;
}

.tags a:hover::after {
	width: 100%;
}

.float_left a {
	position: relative;
	padding: 3px 0;
}

.float_left a:hover {
	color: var(--bg-nav-color);
}

.float_left a::after {
	content: '';
	height: 2px;
	width: 0;
	background: var(--link-hover-color);
	position: absolute;
	bottom: 0;
	left: 0;
	transition: 300ms ease-in-out;
}

.float_left a:hover::after {
	width: 100%;
}


/* Sidebar  */

.aside {
	font-size: 20px;
	line-height: 180%;
}

.aside p {
	font-size: 24px;
}

.subnav ul {
	font-size: 22px;
	line-height: 200%;
}

.subnav a {
	position: relative;
	padding: 3px 0;
}

.subnav a:hover {
	color: var(--bg-nav-color);
}

.subnav a::after {
	content: '';
	height: 2px;
	width: 0;
	background: var(--link-hover-color);
	position: absolute;
	bottom: 0;
	left: 0;
	transition: 300ms ease-in-out;
}

.subnav a:hover::after {
	width: 100%;
}











/* Zutaten */
.zutaten {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	column-gap: 20px;
	row-gap: 20px;	
}

.etikette {
	background-color: #f9f9f7;
	color: #666;
	box-shadow: 0 5px 15px rgba(0,0,0,.08);
	width: 160px;
	padding: 10px 0;
	text-align: center;
}

.etikette:hover {
	background-color: #edebe0;
}




.editlink {
	position: absolute;
	top: 60px;
	right: 40px;
}

