/* RESET */
* {
	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: #655B3E;
	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: 520;
	margin-top: 20px;
}

p {
	margin-bottom: 10px;
}

p.date {
	margin-top: 40px;
}

td {
	padding: 4px 16px 4px 0;
}

tr:hover {
	background-color: #edebe0;
}


/* 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: #374c5d;
	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: #4B442E;
	background-color: #bab080;
}

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%;
}

.img_rezept {
	width: 100%;
}

.sidebar_rezept,
.sidebar_zutaten,
.sidebar_kategorien {
	background-color: #f9f9f7;
	color: #666;
	box-shadow: 0 5px 15px rgba(0,0,0,.08);
	padding: 20px;
	margin-top: 20px;
	line-height: 1.8;
	font-size: 1.2em;
}



/* Auflistung Rezepte */
.rezepte {
	margin: 10px 20px 10px 0;
}

.zutat {
	margin: 10px 20px 10px 0;
}

.float_left li {
	float: left;
	padding: 10px 10px 10px 0;
}

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


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

.kategorie {
	
}

.card {
	background-color: #f9f9f7;
	color: #666;
	box-shadow: 0 5px 15px rgba(0,0,0,.08);
	min-width: 220px;
	padding: 30px;
	text-align: center;
}

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


/* 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;
}


/* Kontaktformular */

/* Formular mit hellem Hintergrund, Schatten und abgerundeten Ecken */
.kontakformular {
	max-width: 65%;
	line-height: 1;
	background-color: #f9f9f9;
	box-shadow: 0 2px 6px rgba(0,0,0,0.3);
	padding: 1em;
	border-radius: 0.5em;
	margin-bottom: 2em;
}
/* Beschriftung oberhalb der Formularfelder und Cursor als »Klickhand« */
.kontaktformular label {
	display: block;
	line-height: 1.7;
	cursor: pointer;
}
/* Eingabefelder mit Mindestbreite, Rahmen, abgerundeten Ecken und Padding */
.kontaktformular input[type="text"],
.kontaktformular input[type="email"],
.kontaktformular input[type="submit"],
.kontaktformular textarea {
	min-width: 14em;
	padding: 0.25em;
	border: 1px solid #B4A98B;
	border-radius: 0.25em;
	margin-bottom: 1em;
}
/* Textarea mit anderer Mindestbreite */
.kontaktformular textarea { min-width: 18em; }

/* Submit-Schaltfläche */
.kontaktformular input[type="submit"] {
	background-color: #B4A98B;
	color: white;
	padding: 1em;
}
/* Schaltfläche beim Hover oder Tastaturfokus */
.kontaktformular input[type="submit"]:hover,
.kontaktformular input[type="submit"]:focus {
	background-color: #C4B99B;
}
/* Schaltfläche im Moment des Klicks  */
.kontaktformular input[type="submit"]:active {
	background-color: #D1CBBD;
}

input:focus, textarea:focus {
    background-color: #f1ebdd;
}

button { 
	border:0;
}

input, 
input:active, 
input:focus,
textarea, 
textarea:active, 
textarea:focus {     
    outline: 0;     
    outline-style: none;     
    outline-width: 0;
}
	

/* Umrechnungstabelle */
#umrechnung {
	font-size: 20px;
}

#zutat {
	font-size: 18px;
	padding: 2px;
}

button#berechnen {
	font-size: 18px;
	padding: 2px;
	border: 1px solid;
	border-radius: 0.2em;
}

input#gewicht,
input#ergneu,
input#ergml {
	font-size: 18px;
	height: 28px;
	width: 80px;
}



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

.loginlink {
	position: absolute;
    top: 90px;
    right: 40px;
	color: transparent;
	font-size: 20px;
}


/* 

Farben zu verwenden

Hintergrund
background-color: #bab080;

Schriften
Homepage
color: #655B3E

Links
a:link, a:visited {
  color: #ab9363;
  text-decoration: none;
  font-weight: normal;
}
a:hover, a:focus {
  color: #bca474;
  text-decoration: none;
  font-weight: normal;
}
a:link a:active, a:hover { outline: 0; }



 */

