/* ALLGEMEIN */

body{                                               /* Allgemeines Grundlayout */
    background-color: white;                      /* Hintergrundfarbe */
    color:black;                                  /* Schriftfarbe */
    font-family: 'Courier New'                      /* Schriftart */
}

h1{
    text-align: center;
}


/* KOPFZEILE */

header{
    background-color:rgb(230, 230, 230); 
    padding: 1px;
    text-align: center;
    font-family: 'Savoye LET';
    font-size: 30px;
    font-weight: bolder;
}

/* NAVIGATION */

nav ul{                                             /* Navigationsleiste */
    list-style-type: none;                          /* keine Aufzählungszeichen */
    display: flex;                                  /* vertikal angeordnete Liste */
    gap: 60px;                                      /* Abstand zwischen Links */
    justify-content: center;                        /* Inhalt zentriert auf Seite */
}

nav a{                                               /* Links in Navigationsleiste */
    text-decoration: none;                           /* Keine Unterstreichung */
    color:black;                                   /* Schriftfarbe */
    font-weight: bold;                               /* Links fett gedruckt */
}

.navigation{                                         /* Kasten der Navigationsleiste */
    background-color: rgb(230, 230, 230);          /* Hintergrundfarbe */
    padding: 1px;                                    /* Innenabstand */
}

.navigation a.aktiv{                                 /* Aktive Seite in der Navigationsleiste */
    background-color: rgb(184, 184, 184);          /* Hintergrundfarbe */
    color: white;                                  /* Schriftfarbe */     
    padding: 10px;                                   /* Innenabstand des Kastens */
    border-radius: 5px;                              /* Abgerundete Ecken des Kastens */
}

/* FUSSZEILE */

footer{
    text-align: center;                              /* Text zentriert auf Seite */
    padding: 20px;                                   /* Abstand zu Navigationsleiste */
}

/* STARTSEITE */

.start-text{                                         /* Textblock auf Startseite */
    text-align: left;                                /* Linksbündiger Text */
    max-width: 600px;                   
}

.start-bild img{                                     /* Bild auf Startseite */
    max-width: 500px;                                /* Maximale Breite */
    height: auto;                                    /* Automatische Höhe */
}

.start{                                              /* Startblock */
    display: flex;                                   /* Vertikal aufgebaut */
    justify-content: center;                         /* Zentriert horizontal */
    align-items: center;                             /* Zentriert vertikal */
    flex-wrap: wrap;                                 /* Umbruch auf kleinen Bildschirmen */
    padding: 100px;                                  /* Abstand rundherum */
    gap: 100px;
}

/* IMPRESSUM */

.impressum{
    padding-top: 5px;
    padding-left: 400px;
    padding-bottom: 50px;
}

/* KONTAKT */

.kontakt{
text-align: center;
padding-bottom: 50px;
}

.kontakt a{
    text-decoration: none;
    font-weight: bold;
}

.kontakt-formular{
    display: flex;
    flex-direction: column;
    gap: 1px;
    max-width: 500px;
    width: 100%;
    margin: 50px auto;
    margin-top: 50px;
    margin-bottom: 50px;
}

.kontakt-formular label{
    font-weight: bold;
    display: block;
    text-align: left;
}

.kontakt-formular input,
.kontakt-formular textarea {
  padding: 0.5rem;            
  font-size: 1rem;            
  border: 1px solid #ccc;     
  border-radius: 4px;  
  box-sizing: border-box;   
}

.kontakt-formular button {
    padding: 0.7rem;                                /* Knopfgröße */
    background-color: #333;                       /* Dunkler Hintergrund */
    color: white;                                 /* Weiße Schrift */
    border: none;                                   /* Kein Rahmen */
    border-radius: 4px;                             /* Abgerundete Ecken */
    cursor: pointer;                                /* Zeiger beim Überfahren */
    font-size: 1rem;                                /* Schriftgröße */
  }
  
  .kontakt-formular button:hover {
    background-color: #555;                       /* Farbe bei Hover */
  }

  kontakt p{
    text-align: center;
  }

  /* GALERIE */

  .galerie-grid {
    display: grid;                                  /* Rasterlayout */
    grid-template-columns: repeat(4, 1fr);          /* Zwei Spalten nebeneinander */
    gap: 20px;                                      /* Abstand zwischen Bildern */
    margin: 50px;                               /* Abstand zum oberen Inhalt */
  }

  .galerie-item {
    text-align: center;                             /* Bildunterschrift zentriert */
  }
  
  .galerie-item img {
    width: 100%;                                    /* Bild füllt Container */
    max-width: 250px;                               /* Maximalbreite des Bildes */
    height: auto;                                   /* Automatische Höhe */
    border: 1px solid #ccc;                       /* Dünner Rahmen */
    border-radius: 4px;                             /* Leichte Eckenrundung */
  }

  .galerie-item a{
    color: black;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    padding: 0;
    line-height: 1.2;                               /* Kompakte Zeilenhöhe */
  }

  .galerie-inhalt{
    flex: 1;
    padding: 10px;
  }

  .bildblock {
    margin-bottom: 4rem;                            /* Abstand zwischen Bildern */
    text-align: center;                             /* Bild und Text zentriert */
    font-size:x-large
  }
  
  .bildblock img {
    width: 100%;                                    /* Bild skaliert zur Breite */
    max-width: 500px;                               /* Maximalbreite des Bildes */
    height: auto;                                   /* Automatische Höhe */
    border: 1px solid #ccc;                       /* Grauer Rand */
    border-radius: 4px;                             /* Abgerundete Ecken */
  }

  /* SEITENLEISTE GALERIE */

  .seite-mit-seitenleiste {
    display: flex;                                  /* Hauptlayout horizontal nebeneinander */
    min-height: 100vh;                              /* Höhe mindestens gesamte Bildschirmhöhe */
  }

  .seitenleiste {
    width: 200px;                                   /* Feste Breite der Leiste */
    background-color: rgb(230, 230, 230);         /* Hellgrauer Hintergrund */
    padding: 2rem;                                  /* Innenabstand */
    border-right: 1px solid #ccc;                 /* Trennlinie rechts */
  }
  
  .seitenleiste nav ul {
    list-style: none;                               /* Keine Aufzählungspunkte */
    padding: 0;                                     /* Kein Innenabstand */
    margin: 0;                                      /* Kein Außenabstand */
    display: flex;                                  /* Flexbox für vertikale Ausrichtung */
    flex-direction: column;                         /* Elemente untereinander statt nebeneinander */
    gap: 0.5rem;                                    /* Abstand zwischen Links */
  }
  
  .seitenleiste nav li {
    margin: 0;                                      /* Kein zusätzlicher Abstand nötig */
  }
  
  .seitenleiste nav a {
    text-decoration: none;                          /* Keine Unterstreichung */
    color: black;                                 /* Schwarze Schriftfarbe */
    padding: 0.3rem 0.5rem;                         /* Etwas Innenabstand */
    display: block;                                 /* Macht den gesamten Bereich klickbar */
  }
  
  .seitenleiste nav a:hover {
    background-color: #eee;                       /* Grauer Hintergrund bei Hover */
  }

  .seitenleiste a.aktiv {
    font-weight: bold;                              /* Fettschrift */
    color: #000;                                  /* Schwarzer Text */
    background-color: #ddd;                       /* Leichter Hintergrund */
    padding: 0.5rem 0.5rem;                         /* Etwas Innenabstand */
    border-radius: 4px;                             /* Abgerundete Ecken */
  }