/* Header und Navigation */
html, body {
    font-family: Quicksand, sans-serif;
}

header {
  display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #416a59;                /* Tiefes Grün für den Header */
    position: relative;
    padding: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Leichter Schatten für Tiefe */
}

header h1 {
    margin: 0;
    font-weight: 700;
    font-size: 2rem;
    color: #27374f;
}

/* Menüleiste */
nav {
    background-color: #416a59;                /* Gleiche Farbe wie der Header */
    padding: 10px 0;
}

body {
    margin: 0;
    background-color: #2C3531;                /* #272727; #2d2d2d; */
    min-width: 1000px;
    /* background: url('images/hintergrund.jpg') no-repeat center center fixed; /* Hintergrundbild
    background-size: cover; /* Bild auf die Größe des Bildschirms skalieren
    */
}
/* Hauptinhalt */
main {
    padding: 60px 20px 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

h2 {
    color: #93a5a7;                           /* Tiefes Grün für Überschriften */
    font-weight: 700;
    font-size: 2.5rem;
    margin-top: auto;
    margin-bottom: 20px;                      /* Abstand zur nächsten Zeile */
}

h3 {
    text-decoration: underline;
    color: #93a5a7;
}

p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.8;
    color: #bec9ca;                          /* Dunkles Grau für Absätze */
	  max-width: 100%;                         /* Verhindert, dass Text über die Bildschirmbreite hinausgeht */
    width: 100%;                             /* Lässt den Text flexibel über den Bildschirm wachsen */
}

article {
    padding-bottom: 40px;

}

/* Profilfoto und Text - Startseite */

.intro-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.profile-photo-wrapper {
  position: relative;
  width: 300px;
  height: 300px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-photo {
  width: 270px;
  height: 270px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #27374f; /* Passe ggf. die Farbe an */
  box-shadow: 0 0 16px 2px #26d0a233;
  background: linear-gradient(135deg, rgba(80,90,100,0.07) 0%, rgba(255,255,255,0.06) 100%);
  position: relative;
  z-index: 1;
}

.profile-photo-wrapper::after {
  content: '';
  position: absolute;
  top: 10px; left: 10px; right: 10px; bottom: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,220,230,0.2) 0%, rgba(120,130,140,0.03) 80%, transparent 100%);
  filter: blur(8px);
  z-index: 2;
  pointer-events: none;
}

.intro-text {
  flex: 1;
  font-size: 1.15rem;
  color: #222;
}

@media (max-width: 700px) {
  .intro-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .profile-photo-wrapper {
    margin-bottom: 1rem;
  }
}

/* Footer */
footer {
    background-color: #416a59; /* Tiefes Grün für den Footer */
    text-align: center;
    padding: 20px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Slider-Container */
.slider-container {
    position: relative;
    max-width: 800px; /* Maximalbreite des Sliders */
    margin: auto;
    overflow: hidden; /* Verhindert, dass Bilder außerhalb des Containers angezeigt werden */
}

.slider img {
    width: 100%;
    display: none; /* Bilder standardmäßig verstecken */
}

.slides {
    display: block;
    transition: transform 0.5s ease-in-out;
}

/* Pfeile */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7); /* Weiße, leicht transparente Farbe */
    font-size: 30px;
    padding: 16px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.2); /* Halbtransparenter Hintergrund */
    border-radius: 30%;
    user-select: none; /* Text kann nicht markiert werden */
}

.prev {
    left: 10px; /* Position links */
}

.next {
    right: 10px; /* Position rechts */
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.5); /* Dunklere Transparenz beim Hover */
}

/* Bildanimation */
.fade {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Blog-Kachel-Stile */
.blog-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.blog-post {
    background-color: #505f58;
    border: 1px solid #505f58;
    padding: 20px;
    width: calc(33% - 20px);
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px; /* Runde Ecken */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Leichter Schatten */
}

.blog-post img {
    max-width: 100%;
    height: auto;
    border-radius: 4px; /* Runde Ecken für Bilder */
}

.blog-post h3 {
    margin-top: 15px;
    color: #93a5a7; /* Tiefes Grün für Titel */
    font-size: 1.5rem;
}

.blog-post h3 a {
    color: #27374f;
}

.blog-post p {
    color: #bec9ca;
    margin-top: 10px;
}

.blog-post:hover {
    transform: translateY(-5px); /* Leichter Hover-Effekt */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Intensiverer Schatten */
}

@media (max-width: 768px) {
    .blog-post {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .blog-post {
        width: 100%;
    }
}

.Menu-Logo {
    flex: 1;
    margin-right: auto;
    padding-left: 10px;
}

.Logo{
    padding: 1em 1em;                               /* Legt den Ort des Namens von links und von oben fest. */
    text-align: left;                               /* Legt fest, wie der Text angeordnet sein soll */
}

.Logo h1 a {
    text-decoration: none;
    color: #274B4F;
}

/* Hamburger Menu Icon */
.Menu-Hamburger {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-right: 10px;
}

.hamburger {
  display: inline-block;
  cursor: pointer;
}

.hamburger div {
  width: 35px;
  height: 5px;
  background-color: #274B4F;
  right: 0px;
  margin: 6px 0;
  transition: 0.4s;
}

/* Change to X when clicked */
.hamburger.change div:nth-child(1) {
  transform: rotate(-45deg) translate(-9px, 6px);
}

.hamburger.change div:nth-child(2) {
  opacity: 0;
}

.hamburger.change div:nth-child(3) {
  transform: rotate(45deg) translate(-8px, -8px);
}

/* Menu Styles */
.menu {
  display: none;
  flex-direction: column;
  position: absolute; /* Positioniere das Menü absolut im Verhältnis zum Header */
  top: 100%; /* Direkt unter dem Header anzeigen */
  right: 0px; /* Ausrichtung an der rechten Seite */
  background-color: #416a59; /* Hintergrundfarbe des Menüs */
  padding: 10px 20px; /* Abstand innerhalb des Menüs */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Schatten für ein leichtes Schweben */
  z-index: 10; /* Über anderen Elementen anzeigen */
}

.menu a {
  padding: 10px;
  text-decoration: none;
  color: #274B4F;
  font-weight: 700;
}

.menu a:hover {
  color: #808080;
}

.menu.show {
  display: flex;
}

/* Stil für die Zeitleiste */
#timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* Zeitstrahl in der Mitte */
#timeline::before {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #93a5a7;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

/* Gemeinsamer Stil für die Timeline-Einträge */
.timeline-entry {
    padding: 10px 40px;
    position: relative;
    width: 65%;
    background-color: #f9f9f9;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* Stil für den Inhalt der Einträge */
.timeline-entry .content {
    display: flex;
    align-items: center;
}
/* Stil für die Bilder der Einträge */
.timeline-entry img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-right: 30px;
    margin-bottom: auto;
    margin-top: 30px;
    border-radius: 50%;
}
/* Abwechselnde Positionierung (links) */
.timeline-entry.left {
    left: -20%; /* Verschiebt den Eintrag weiter nach links, um den Zeitstrahl zu umgehen */
    transform: translateX(-10%);
}
/* Abwechselnde Positionierung (rechts) */
.timeline-entry.right {
    left: 45%;
    transform: translateX(10%);
}

.timeline-entry.left::after {
    left: 100%;
    border-width: 10px 10px 10px 0;
    border-color: transparent #f9f9f9 transparent transparent;
}

.timeline-entry.right::after {
    right: 100%;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #f9f9f9;
}
/* Stil für die Beschreibung(Text) der Einträge */
.description p {
    color: #27374f;
    text-align: left;
}
/* Anpassung der Göße auf mobilen Geräten */
@media only screen and (max-width: 600px) {
    body {
        font-size: 16px; /* Anpassung der Schriftgröße auf mobilen Geräten */
    }
}
