
body {
    margin-left: 2px;
    margin-top: 5px;
    margin-bottom: 10px;
    font-family: "EB Garamond", serif;
}

.info {
    width: 33%;
    position: absolute;
    cursor: default;
    right: 20px;
    top: 50px;
    font-size: 18px;
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    line-height: 21px;
    margin-bottom: 20px;
}

.img-Arbeiten {
    position: fixed;
    top: 80px;
    left: 5px;
    width: 64%;
}

a {
    color: #000000;
    text-decoration: underline;
    cursor: help;
}

a:hover {
    color: darkgray;
}

.mail {
    font-size: 28px;
    text-decoration: none;
    position: fixed;
    z-index: 9999; 
    right: 5px;    
    top: 0;
    padding: 2px;
    padding-left: 10px;
    margin: 0;
    background-color: white;
    width: 34%;
    opacity: 1;
}

h1 {
    position: fixed;
    top: 5px;
    padding: 0;
    margin: 0;
    margin-left: 7px;
    font-family: "EB Garamond", serif;
    font-style: italic;
}

@media (max-width: 768px) {
  .img-Arbeiten, 
  .info {
    position: static !important; /* Position fix/fest aufheben */
    width: 100% !important;      /* Ganze Breite */
    max-width: 100% !important;  /* Keine Beschränkung */
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 40px; 
  }
  
  .mail {
    text-align: right;
    padding-right: 5px;
    background-color: transparent;
    font-size: 50px;
  }
  
  h1 {
    position: static;
  }
}


.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(239, 239, 239, 0.75);
  backdrop-filter: blur(3px);
}

.modal-content {
  position: relative;
  background-color: #fff;
  margin: 5% auto;
  width: 80%;
  max-width: 900px;
  height: 80%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(178, 178, 178, 0.3);
  display: flex;
  flex-direction: column;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 30px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #333;
  font-weight: bold;
  z-index: 1001;
}

#modal-iframe {
  flex-grow: 1;
  border: none;
  border-radius: 8px;
  width: 100%;
}


#lightbox {
  background-color: rgba(239, 239, 239, 0.75);
  backdrop-filter: blur(3px);
  z-index: 10000;
}

#lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 4px 2px rgba(214, 212, 212, 0.2);
}

#lightbox button {
  font-size: 2rem;
  color: #1c1c1c;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.6);
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
  z-index: 1001;
}


/* Positionen der Buttons */
#lightbox-close {
  top: 10px;
  right: 20px;
}

#lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

#lightbox-next {
  color: #1c1c1c;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

