/* ------------------------------ */
/* Grundlegendes Reset & Basis    */
/* ------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  padding-top: 60px; /* Höhe des Headers anpassen */
}

/* ------------------------------ */
/* Header & Navigation            */
/* ------------------------------ */
header {
  background-color: #f8f8f8;
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;     /* Damit das Menü über allem liegt */
/*  background: white; /* Hintergrund, sonst scheint Text durch */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Optionaler Schatten */
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

nav a:hover {
  color: #007acc;
}

/* ------------------------------ */
/* Main Inhalt                    */
/* ------------------------------ */
main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

h4 {
  text-align: center;
}

section {
  margin-bottom: 2rem;
}

ul {
    margin: 0.3rem 0 1rem 0; 
    padding-left: 1.2rem;
}

table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
}

.container { /*Interessantes Link Auflistung*/
    display: flex;
    gap: 20px;
}

/* ------------------------------ */
/* Footer                         */
/* ------------------------------ */
footer {
  text-align: center;
  padding: 5px;
  background-color: #f2f2f2;
  font-size: 0.9rem;
}

/* ------------------------------ */
/* Rezeptseite Layout             */
/* ------------------------------ */

.rezept-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.rezept-text {
  flex: 1;
}

/* Druckbutton Styling */
.print-button {
    background-color: #007acc;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 20px;
}

.print-button:hover {
    background-color: #005f99;
}

/* Beim Drucken NICHT anzeigen */
@media print {
    .print-button {
        display: none !important;
    }
}
