<style>


body {
 margin-left: 15%;
 margin-right: 15%;
 font-family: Arial;
}


#fullscreenZoom {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  margin-top: -5vh; /* oder z. B. 20px */
  background-color: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  cursor: zoom-out;
}

#fullscreenZoom img {
  max-width: 85vw;
  max-height: 85vh;
  box-shadow: 0 0 30px rgba(0,0,0,0.8);
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.image-container img.zoomed {
  transform: scale(1.5);
  transition: transform 0.3s ease;
  z-index: 1;
}

table { /* Styling der Tabelle */ }
.table-scrollable {
  width: 100%;
  height:3000px;
  overflow-y: auto;
  overflow-y: auto;
  margin: 0 0 1em;
}

.table-scrollable::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
}

.table-scrollable::-webkit-scrollbar-thumb {
  border-radius: 8px;
  border: 3px solid #ffffff;
  background-color: rgba(0, 0, 0, .3);
}


tr {
  height: 30px;
}	


p { hyphens: auto; }


.container {
   width: 96%;
   margin: 0 auto;
  font-family: Arial;
 }

.button {
   background-color: #4E7EBA;
   border: none;
   color: white;
   padding: 10px 17px;
   text-align: left;
   text-decoration: none;
   display: inline-block;
   font-size: 18px;
   margin: 4px 2px;
   cursor: pointer;
   width:95%;
   border-radius: 3px;
}


.button:hover {
   filter: opacity(50%);
   transition: filter 0.5s;
}


.bild {
   filter: opacity(50%);
   transition: filter 0.5s;
}

.bild:hover {
   filter: opacity(100%);
   transition: ease .5s;
}


input {
    display: none;
}

label {
    display: block;    
    padding: 12px 30px;
    margin: 2px 0 1px 0;
    cursor: pointer;
    background: #4664B3;
    border-radius: 3px;
    color: #FFFFFF;
    transition: ease .5s;
    font-size: 18px;
}


label:hover {
    background: #B03633;
}


.label-zwei {
    background: #6495ED;
}

.label-zwei:hover {
    background: #EE3B3B;
}


.content {
    background: #FFFFFF;
    padding: 10px 25px;
    margin: 0 0 1px 0;
    border-radius: 3px;
    font-family: Arial;
}

input + label + .content {
    display: none;
}

input:checked + label + .content {
    display: block;
}


.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
        }
.image-container {
  flex: 1 1 calc(25% - 16px);
  box-sizing: border-box;
  padding: 15px;
  background: #f9f9f9;
  border: 2px solid #ddd;
  border-radius: 8px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
        }
        
.image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
}

.buttons {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 8px;
}

.buttons button {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 300;
  border: none;
  border-radius: 4px;
  background-color: #007bff;
  color: white;
  cursor: pointer;
}

.buttons button:hover {
  filter: opacity(50%);
  transition: filter 0.5s;
}


.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content img {
  max-width: 100%;
  max-height: 100%;
  cursor: pointer;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

.spacer {
  flex: 1 1 calc(25% - 16px);
  background: transparent;
  border: none;
  margin-bottom: 16px;
}

button.generateBtn {
   padding: 12px 24px;
   font-size: 16px;
   font-weight: 300;
   border: none;
   border-radius: 4px;
   background-color: #007bff;
   color: white;
   cursor: pointer;
}

button.generateBtn:hover {
   filter: opacity(50%);
   transition: filter 0.5s;
}


#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 20px;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    text-align: center;
   font-family: Arial;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
   font-family: Arial;
}



#qrcodeCanvas {
    margin-top: 10px;
}

#popup h2 {
    margin: 0 0 10px;
}

#closeBtn {
    margin-top: 20px;
    padding: 10px 15px;
    background-color: #f44336;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

#closeBtn:hover {
    background-color: #d32f2f;
}


    .close-btn {
      margin: 10px auto;
      padding: 20px;
      width: 200px;
      background-color: #B03432;
      color: white;
      border: none;
      cursor: pointer;
      border-radius: 5px;
      font-size: 16px;
      display: block; /* Stellt sicher, dass margin: auto funktioniert */

    }
.logo {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100px; /* Breite des Logos anpassen */
  height: auto; /* Automatische Höhe */
}

area {
  cursor: pointer; /* Ändert den Cursor zu einer Hand */
}

.accordion {
  margin: 10px 0;}

.accordion-item {
  margin-bottom: 8px;
}

.accordion-item h3 {
  margin: 0; /* Entfernt zusätzliches Margin */
  padding: 8px; /* Kontrolliert die Innenabstände */
  background-color: #f1f1f1; /* Standard-Hintergrundfarbe */
  font-size: 16px; /* Passt die Schriftgröße an */
  cursor: pointer;
}

.accordion-item div {
  display: none;
  padding: 8px;
  background-color: white; /* Standard-Hintergrundfarbe für Inhalte */
  transition: background-color 0.3s ease; /* Sanfter Übergang */
}

.large-img {
  width: 60%; /* Das erste Bild nimmt 80 % der Breite ein */
  max-width: 1000px; /* Optional: Maximalbreite, um übergroße Bilder zu vermeiden */
}

</style>