﻿@charset "utf-8";

/* Grundlayout */
body {
  margin: 0;
  padding: 2rem;
  font-family: 'Arial';
  color: #b3C7aa;
  background-color: #2D4732; 
  background-image: url('../bilder/hintergrund.png'); 
  background-repeat: repeat-y;
  background-position: center top;
  background-size: 1200px;
  line-height: 1.6;
}

.content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 10px;
  font-size: 0.9rem; /* Standard für kleine Geräte */
}

h1 {
  text-align: center;
  color: rgb(92, 199, 47);
  font-size: 1.6rem;
}
h3 {
  text-align: left;
  color: rgb(160, 230, 129);
  font-size: 1.2rem;
}
h4 {
  text-align: left;
  color: rgb(160, 230, 129);
  font-size: 0.9rem;
}
h5 {
  text-align: left;
  color: rgb(185, 189, 184);
  font-size: 0.8rem;
  font-weight: 100;
}

p {
  font-size: 1rem;
}

a:link {
  color: rgb(120, 214, 77);
}
a:visited {
  color: #c5ec16;
}
a:hover {
  color: #f00;
  text-decoration: underline;
}
a:active {
  color: #c5ec16;
}

.zentriert {
  text-align: center;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}


@media (min-width: 768px) {
  .content {
    font-size: 1.3rem;
  }

  h1 {
    font-size: 2.8rem;
  }

  h3 {
    font-size: 1.8rem;
  }
h4 {
    font-size: 1.3rem;
  }
  p {
    font-size: 1.5rem;
  }
}

/* Hintergrundbild skalieren bei kleinen Geräten */
@media (max-width: 800px) {
  body {
    background-size: contain;
  }
}
@media (min-width: 801px) {
  body {
    background-size: 1200px;
  }
}

/* ---------- Navigationsleiste ---------- */
.nav-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.navbar {
  display: flex;
  flex-wrap: nowrap;              
  justify-content: center;       
  background-color: rgba(0, 50, 0, 0.9);
  border-bottom: 2px solid #2d5f2d;
  font-size: 1.2rem;
  padding: 0.5rem 0;
  gap: 0.5rem;                     /* Abstand zwischen Links */
  overflow-x: hidden;             /* verhindert Scrollbalken */
}

.navbar a {
  color: #c6ffc6;
  text-decoration: none;
  padding: 0.6rem 1rem;
  display: block;
  white-space: nowrap;           
  transition: background-color 0.3s, color 0.3s;
  text-align: center;
}

.navbar a:hover {
  background-color: #2f5c2f;
  color: white;
}

.navbar a.active {
  border-bottom: 2px solid #7fff00;
  color: #7fff00;
}

/* ---------- Mobile: Umbruch in 2 Zeilen ---------- */
@media (max-width: 1000px) {
  .navbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .navbar a {
    /*flex: 0 0 40%;   */            
    max-width: 40%;
    box-sizing: border-box;
    white-space: normal;
    font-size: 1rem;
    padding: 0.4rem 0.4rem;
    margin: 1% 1%;
    text-align: center;
  }
}

/*  für die Log */
.gc-log {
  margin: 16px 0;
}

.gc-log-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.gc-log-card[open] {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.2);
}

.gc-log-header {
  cursor: pointer;
  padding: 10px 14px;
  font-weight: 600;
  color: #ffe6a7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.gc-log-header:hover {
  color: #fff3c1;
}

.gc-log-text {
  padding: 10px 14px 14px;
  color: #cfd9c5;
  font-size: 0.95rem;
  line-height: 1.45;
}

.gc-log-nick {
  font-weight: 700;
  color: #ffeaad;
}

.gc-log-date {
  font-size: 0.85rem;
  opacity: 0.8;
}
.site-footer {
  margin-top: 40px;
  background-color: rgba(0, 30, 0, 0.9);
  border-top: 2px solid #2d5f2d;
}

/*           */
.site-footer .footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.5rem;
  font-size: 0.8rem;
  color: #f5f5e6;
}

.site-footer .footer-inner a {
  color: #f5f5e6;
  text-decoration: none;
}

.site-footer .footer-inner a:hover {
  text-decoration: underline;
}

.site-footer .footer-sep {
  opacity: 0.7;
}
