﻿        * { box-sizing: border-box; }

    body {
      font-family: Arial, Helvetica, sans-serif;
      font-size: 16px;
      color: white;
      background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%);
      text-align: center;
      max-width: 1200px;
      margin: 0 auto;
      padding: 15px;
      line-height: 1.6;
      hyphens: auto;
    }

    h1 {
      font-size: 1.8rem;
      margin-bottom: 0;
      color: white;
    }

    h2 { font-size: 1.2rem; margin: 0.5rem 0; }

    p { margin: 0 0 1rem; }
	.style2 {
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
  padding: 0 10px;
	}
	.float-left { float: left; margin-right: 20px; margin-bottom: 10px; max-width: 50%; height: auto; }

    a { color: #00ffff; text-decoration: none; font-weight: bold; }
    a:hover { color: white; background-color: rgba(0,123,255,0.7); }

    ul { list-style: none; padding: 0; text-align: left; }
    ul li { margin-bottom: 8px; }

    #page {
      display: flex;
      flex-wrap: nowrap;
      gap: 20px;
      padding: 10px;
      width: 100%;
      margin: 0 auto;
    }

    #header img {
      max-width: 30px;
      vertical-align: middle;
      margin-right: 0.3rem;
    }

    #content {
      max-width: 50%;
      align-self: flex-start;
    }

    #content img {
      max-width: 100%;
      border-radius: 8px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.3);
      display: block;
      margin: 0 auto;
    }

#sidebar div {
  display: flex;
  flex-wrap: wrap;       /* Zeilenumbruch bei kleinen Displays */
  gap: 10px;             /* Abstand zwischen Links/Bildern */
  justify-content: center; /* horizontale Zentrierung */
}

#sidebar div a {
  display: inline-block;
}
    .image-gallery {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
      margin: 20px auto;
    }

    .image-item {
      border-radius: 4px;
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .image-item:hover {
      transform: scale(1.05);
      box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }

    .image-item img {
      height: 150px;
      max-width: 300px;
      object-fit: cover;
      display: block;
    }

    .fancybox-caption {
      position: absolute !important;
      bottom: 20px !important;
      left: 50% !important;
      transform: translateX(-50%) !important;
      background: rgba(0,0,0,0.7) !important;
      color: white !important;
      padding: 8px 15px !important;
      border-radius: 4px !important;
      font-size: 14px !important;
      max-width: 80% !important;
      text-align: center !important;
    }

    @media (min-width: 768px) {
      #page { flex-direction: row; }
      #content { max-width: 50%; }
      .image-item img { height: 200px; }
    }

    @media (max-width: 480px) {
      body { font-size: 14px; padding: 10px; }
      #content { max-width: 100%; }
      .sidebar-column { width: 100%; }
      .image-item img { height: 150px; }
      .fancybox-caption { bottom: 10px !important; font-size: 12px !important; }
    }

    @media print {
      body { background: white; color: black; }
      .fancybox-caption, .image-gallery { display: none; }
    }

        #page {
            display: flex;
            flex-wrap: nowrap;
            gap: 20px; /* Abstand zwischen Content und Sidebar */
        }
        
        #content {
            flex: 1;
            min-width: 0; /* Verhindert Überlauf */
        }
        
        #sidebar {
            width: 600px; /* Feste Breite für die Sidebar */
            flex-shrink: 0;
        }
        
        /* Responsive Anpassungen */
        @media (max-width: 768px) {
            #page {
                flex-direction: column;
            }
            
            #sidebar {
                width: 100%;
            }
        }
