/* Theming */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");

/* Definition Variablen*/
:root{
  --white: #f9f9f9;
  --black: #36383F;
  --grey: #85888C;
}

/* Reset */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ======================================================= */
/* Allgemine Formatierung                                  */
/* ======================================================= */
a{
/* Links nicht unterstreichen */
  text-decoration: none;
}

.lightbox li{
  overflow: auto;   /*scrollbalken einschalten */ 
  position: absolute; /* Absolute Positionierung */ 
  width: 0;    		/*Breite auf 0 */
  height: 0;   		/*Höhe auf 0 */ 
  left: 0;     		/*Position von Links 0 */
  top: 0;     		/*Position von Oben: 0 */
  opacity: 0;			/*Transparenz ausgeschaltet */  
}

.lightbox li:target{
  width: 100%;
  height: 100%;
  opacity: 1; 						/* Transparenz 100% */
  background: rgba(0, 0, 0, 0.8);		/* Hintergrund: schwarz und Transparenz 80% */
}

/* so wird das Bild angezeigt */
.lightbox li:target a{
  position: inherit;
  top: 50px;
  left: 50px;
}

/*schaltet den Listenpunkt aus bei allen Elementen der Klasse "lightboxliste" */
.lightboxliste {list-style:none} 

/* gestaltet einen Button close */
.lightbox li a.close{ 
  color:#000;
  border:1px solid #fff;
  text-decoration:none;
  padding:0 3px;
  margin:0;
  background-color:#fff;
  font-family: Arial, Helvetica, sans-serif;
  font-weight:bold;
  box-shadow: 3px 3px 6px 0px #333;
  border-radius: 5px;
  position:absolute;
  top: 50px;
  left: 50px;
}

section {
  scroll-margin-top: 300px;
}

.aligncenter {
/* Bildgröße an Spalte anpassen*/
  width: 100%;
}

.description {
/* Bildgröße an Spalte anpassen*/
  font-size: 12px;
}


/* ======================================================= */
/* Hauptblöcke                                             */
/* ======================================================= */

/* Header */
.header{
/* Header oben fixieren mit fester höhe */
  position: fixed;
  top: 0; 
  #height: 250px;
  height: 130px;
/* breite */
  width: 100%;
  min-width: 320px;
/* Header Farbe, Grafik, Position */
  background: url('../img/header.jpg') no-repeat ;
  #background-size: 450px;
  background-size: 250px;
  background-position: right 80px center;
  background-color: var(--black);
  z-index: +1;
}

.header a:hover{
  color: var(--grey);
}

/* Header Titel */
.logo{
/* Font Settings */
  font-family: 'Kaushan Script', cursive;
  font-size: 25px;
  color: var(--white);
/* Seitenränder */
  display: inline-block;
  #padding-top: 100px;
  padding-top: 60px;
  padding-left: 40px;
/* In den Hintergrund */
  z-index: -1;
}

/* Content */
.main{
/* Variabler Inhalt unterhalb Header bei Klappmenu*/
  #top: 250px;
  top: 130px;
  position: relative;
/* Bereich für Footer reservieren */
  #padding-bottom: 60px;
  padding-bottom: 40px;
/* Seitenränder */
  margin: .15em 0 1.5em 1.5em;
/* In den Hintergrund */
  #z-index: -2;
  min-width: 320px;
}

.main td {
  font-style:italic;
/* Spaltenbreite */
  width: 30%;
}

.footer {
/* Footer unten fixieren mit fester höhe */
  position:fixed;
  bottom: 0;
  height: 40px;
/* breite */
  width: 100%;
/* Footer Farbe */
  background-color: var(--black);
}

/* Footer Impressum */
.info{
/* Font Settings */
  font-family: 'Kaushan Script', cursive;
  #font-size: 15px;
  font-size: 12px;
  color: var(--white);
/* Seitenränder */
  display: inline-block;
  #padding-top: 20px;
  padding-top: 15px;
  padding-left: 20px;
}

/* benötigt? */
article {
  #margin: .15em 0 1.5em 1.5em;
}


article h2 {
  font-size: 1.5em;
  margin: .75em;
}

article h3 {
  font-size: 1.17em;
  margin: .83em;
}

article p {
  margin: 1.12em 1.5em;
  text-align: justify;
  text-align-last: none;
}


/* ======================================================= */
/* Menü                                                    */
/* ======================================================= */

.nav{
/* Position  */
  position: fixed;
  #top: 250px;
  top: 130px;
  max-height: 0;
/* breite */
  width: 100%;
/* Klappmenu Farbe */
  background-color: var(--black);
/* Animation */
  transition: max-height .5s ease-out;
  overflow: hidden;
}

.menu a{
  display: block;
  padding: 10px;
  /* Textfarbe Menu */
  color: var(--white);
}

.menu a:hover{
/* Textfarbe Menu Mouseover*/
  background-color: var(--black);
}

/* Menu Icon */
.hamb{
  float: right;
  padding: 40px 20px;
}

.hamb-line {
  background: var(--white);
  display: block;
  height: 2px;
  position: relative;
  width: 24px;
}

.hamb-line::before,
.hamb-line::after{
  background: var(--white);
  content: '';
  display: block;
  height: 100%;
  position: absolute;
/* breite */
  width: 100%;
/* Animation */
  transition: all .2s ease-out;
}

.hamb-line::before{
  top: 5px;
}

.hamb-line::after{
  top: -5px;
}

.side-menu {
  display: none;
}

/* Toggle menu icon */

.side-menu:checked ~ nav{
/* Position  */
  #top: 250px;
  top: 130px;
  max-height: 50%;
/* scrollbar */
  overflow-y:auto;
}

.side-menu:checked ~ .hamb .hamb-line {
  background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
  transform: rotate(-45deg);
  top:0;
}

.side-menu:checked ~ .hamb .hamb-line::after {
  transform: rotate(45deg);
  top:0;
}

/* Responsiveness wenn breiter als 768px*/
@media (min-width: 768px) {
  .nav{
/* Position  */
    #top: 250px;
    top: 130px;
    float: right;
    max-height: none;
/* breite */
    width: 100%;
  /* nicht transparent beim scrollen */
    background-color: var(--white);
  }

  .menu li{
  /* Anordnung nebeneinander */
    float: left;
  /* Kein Punkt bei Listenobjekt Menu */
    list-style: none;
  }

  .menu a{
  /* Textfarbe Menu */
    color: black;
  }

  .menu a:hover{
  /* Textfarbe Menu Mouseover*/
    color: var(--grey);
    background-color: transparent;
  }

  .hamb{
  /* Klappmenu nicht anzeigen */
  display: none;
  }

  .main{
  /* Variablen Inhalt unterhalb Header + Menu*/
    #top: 350px;
    top: 200px;
    position: relative;
  }

  .logo{
  /* Font Settings */
    font-size: 50px;
    padding-top: 40px;
    padding-left: 50px;
  }

  .description{
  /* Bildgröße an Spalte anpassen*/
    font-size: 15px;
  }

  .lightbox li:target a{
    #top: calc((100vh - 200px) / 2);
    #top: 250px;
  }

  .lightbox li a.close{
    #top: calc((100vh - 200px) / 2);
    #top: 250px;
  }

}