/*Ernährung*/

/* Grundlegende Stile */
body {
     font-family: 'Open Sans', sans-serif;
    font-weight: regular;
    color: #007acc;
    background-color: #f9f9f9;
    line-height: 1.6;
    margin: 0;
    padding: 0px;
    font-size: 14px;
}

.wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    
}
.kontakt{
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}
/* CSS */
.ernaehrung-containerh2 {
background-color: #f9f9f9;
padding: 10px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba (0,0,0,0.1);
max-width: 6000px;
margin: 20px auto;
text-align: center;
}

body h4 {
    text-align: left;
    color: #007ACC;
    border-bottom: 2px solid #007ACC;
    padding-bottom: 5px;
    margin-bottom: 15px;
}


/* Header und Navigation */
header {
    background-color: #007ACC;
    color: white;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin: 0;
}
nav {
    height: 10px;
    background-color: #007ACC;
    align-items: center;
    padding: 10px 20px;
    position: sticky;
    font-family: Open Sans;
    top: 0;
    z-index: 1000;
    }

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    margin: 0 10px;
    font-size: 16px;
}

nav a:hover {
    text-decoration: underline;
}


nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    font-size: 16px;
}

nav a:hover {
text-decoration: 1px solid #ffffff;
padding: 0 9px;
background-color: white; 
color:#007ACC;
}

nav a.active {
border: 1px solid #ffffff;
padding: 0 9px;
background-color: white; 
color:#007ACC;
}



/* Hauptinhalte */
main {
    max-width: 800px;
    margin: 0;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

section {
    margin-bottom: 20px;
}

h2 {
    color: #007ACC;
    border-bottom: 2px solid #007ACC;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

p {
    margin: 10px 0;
    text-align: left;
}

/* Liste für empfohlene und zu vermeidende Lebensmittel */
ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    padding: 8px;
    margin: 5px 0;
    background-color: #f0f8ff;
    border-left: 4px solid #007ACC;
    border-radius: 4px;
}

ul li p {
    font-size: 16px;            /* Schriftgröße */
    color: #000;                /* Graue Schriftfarbe */
    line-height: 1.6;           /* Zeilenabstand */
    margin-bottom: 20px;   
    text-align: left;
}


/*Stil für den "Weiterlesen-Link" */
.read-more {
	display: inline-block; /* macht den Link zu einem Blockelement für mehr Kontrolle */
	padding: 8px 12px;
	background-color: #007bff;
	color: #ffffff;
	text-decoration: none;
	border-radius: 4px; /*abgerundete Ecken */
	font-weight: bold; /*Fettgedruckt */
	transition: background-color 0.3s ease; /*Weicher Übergang bei hover*/
}

/*Hovereffekt für den Weiterlesen-Link */
.read-more:hover {
	background-color: #0056b3;
}
/* Fußzeile */
footer {
    background-color: #007ACC;
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9em;
    position: relative;
    bottom: 0;
    width: 100%;
}

@media (max-width: 899px){
    body{
        padding: 0;
    }
    /* hamburger */
    header {
        display: none;
    }
    
    nav {
        display:none !important;
    }
    .mobile-container {
        max-width: 100%;
        margin: auto;
        background-color: #007ACC;
        color: white;
        position: sticky;
        top: 0;
        z-index: 1000;
        padding: 5px;
        height: 10vh;
      }
      
      .topnav {
        overflow: hidden;
        background-color: #007ACC;
        position: relative;
        padding: 0 10px;
      }
      
      .topnav #myLinks {
        display: none;
      }
      
      .topnav a {
        color: white;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
        display: block;
      }
      
      .topnav a.icon {
        background: #007ACC;
        display: block;
        position: absolute;
        right: 0;
        top: 0;
      }
      .topnav .icon {
        display: block;
        font-size: 24px;
        color: white;
        cursor: pointer;
        padding: 14px 16px;
    }
      .topnav a:hover {
        background-color: #007ACC;
        color: white;
      }
      
      .active {
        background-color: #007ACC;
        color: white;
      }

      .wrapper, .sidebar {
        display: none;
              }
    }
/* Für Tablet-Bildschirme*/
@media (min-width: 900px) {
    body {
        font-size: 16px;
        padding: 0;
        color: 000;

    }

    .topnav{
        display:none;
    }
    .myLinks{ 
        display:none;
    }


    /* Header und Navigation */
header {
    background-color: #007ACC;
    color: white;
    padding: 20px;
    text-align: center;
}

.header h1 {
    margin: 0;
color: white;
}

nav {
    height: 10px;
    background-color: #007ACC;
    align-items: center;
    padding: 0 10px;
    position: sticky;
    font-weight: 300;
    }

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    margin: 0 10px;
    display: inline-block;
}


nav a:hover {
text-decoration: 1px solid #ffffff;
padding: 0 9px;
background-color: white; 
color:#007ACC;
}

nav a.active {
border: 1px solid #ffffff;
padding: 0 9px;
background-color: white; 
color:#007ACC;
}

}
/* Für Computer-Bildschirme*/
@media (min-width: 1100px){
    body {
        font-size: 18px;
        padding: 0;
        
    }
    .topnav{
        display:none;
    }
    .myLinks{ 
        display:none;
    }
      /* Header und Navigation */
header {
    background-color: #007ACC;
    color: white;
    padding: 20px;
    text-align: center;
}

.header h1 {
    margin: 0;
color: white;
}

nav {
    height: 10px;
    background-color: #007ACC;
    align-items: center;
    padding: 0 20px;
    position: sticky;
    }

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    margin: 0 10px;
}

nav a:hover {
    text-decoration: underline;
}


nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

nav a:hover {
text-decoration: 1px solid #ffffff;
padding: 0 9px;
background-color: white; 
color:#007ACC;
}

nav a.active {
border: 1px solid #ffffff;
padding: 0 9px;
background-color: white; 
color:#007ACC;
} 

.sidebar {
    width: 250px;
    background-color: #333;
    color: white;
    padding: 20px;
    position: sticky;
    top:0;
   height: 100vh;
 flex-shrink: 0;
}
  .sidebar h2 {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .sidebar ul {
    list-style-type: none;
  }
  
  .sidebar ul li {
    margin: 15px 0;
  }
  
  .sidebar ul li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
 

  }
  
  .sidebar ul li a:hover {
    background-color: #575757;
  }}



/* Design für einen allgemeinen Container */
.einleitung-container {
    max-width: 800px;           /* Maximale Breite des Containers */
    margin: 20px auto;          /* Zentriert den Container horizontal */
    padding: 20px;              /* Innenabstand zum Rand */
    background-color: #ffffff;  /* Weißer Hintergrund */
    border-radius: 8px;         /* Abgerundete Ecken */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Leichter Schatten */
}

/* Beispiel für eine Überschrift im Container */
.einleitung-container h2 {
    font-size: 24px;            /* Schriftgröße */
    color: #007ACC;             /* Blaue Schriftfarbe */
    margin-bottom: 15px;        /* Abstand zum unteren Rand */
    text-align: center;         /* Zentrierter Text */
}

/* Beispiel für Text im Container */
.einleitung-container p {
    font-size: 16px;            /* Schriftgröße */
    color: #000;                /* Graue Schriftfarbe */
    line-height: 1.6;           /* Zeilenabstand */
    margin-bottom: 20px;        /* Abstand zum unteren Rand */
}

.ernaehrung-containerh2 p{
    font-size: 16px;            /* Schriftgröße */
    color: #000;                /* Graue Schriftfarbe */
    line-height: 1.6;           /* Zeilenabstand */
    margin-bottom: 20px;  
    text-align: left; 
}
/* Button im Container */
.einleitung-container .button {
    display: inline-block;      /* Blockdarstellung */
    padding: 10px 20px;         /* Innenabstand */
    background-color: #007ACC;  /* Blaue Hintergrundfarbe */
    color: #ffffff;             /* Weiße Schriftfarbe */
    text-decoration: none;      /* Entfernt Unterstreichung */
    border-radius: 4px;         /* Abgerundete Ecken */
    font-weight: bold;          /* Fettgedruckt */
    transition: background-color 0.3s ease; /* Übergangseffekt bei Hover */
}

.einleitung-container .button:hover {
    background-color: #005999;  /* Dunklerer Blauton bei Hover */
}
.image-banner {
    margin: 0;
    padding:0;
    text-align: center;
 }
 
 .banner-image {
     width: 100%;
     max-height: 600px;
     object-fit: cover;
 }
 

.centered-text {
text-align: center; 
color:  white; 
font-weight: bold;
margin: 15px 0;
align-items: center;
}

.footer-color {
    text-align: center; 
    color:  white; 
    font-weight: bold;
    margin: 15px 0;
    }

nav {
height: 10px;
background-color: #007ACC;
align-items: center;
padding: 0 20px;
}

nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 600;
display: inline-block;
}

nav a:hover {
    text-decoration: 1px solid #ffffff;
padding: 0 9px;
background-color: white; 
color:#007ACC;
}

nav a.active {
border: 1px solid #ffffff;
padding: 0 9px;
background-color: white; 
color:#007ACC;
}

.hero-sommer {
  background: linear-gradient(to right, #e0f7fa, #f1f8e9);
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 1rem;
  margin-bottom: 3rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.hero-sommer h1 {
  font-size: 2rem;
  color: #00695c;
  margin-bottom: 1rem;
}

.hero-sommer p {
  font-size: 1.1rem;
  color: #333;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-button {
  background-color: #00796b;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #004d40;
}
