
body {
  font-size: 16px;
  font-family: sans-serif;
  font-weight: 500;
  margin: 0;
  padding-left: 2vw;
  padding-right: 2vw;
  background-color: black;
}

/* Fixed header for the author name */
.fixed-header {
  position: fixed;
  font-size: 2em;
  top: 0;
  left: 0;
  width: 100%;
  background-color: black;
  z-index: 1000;
  text-align: center;
  padding-bottom: 3px;
padding-top: 3px;}


  .authorname h1 {
    font-size: 1.1em;
    letter-spacing: -0.02em;
   margin: 0;
   color: white;
   padding-bottom: 5px;
   font-weight: 500;
 }


.sitetext {
  background-color: #606060;
  margin: auto;
  width: 310px;
  border-radius: 6px;
  font-size: 0.6em;
  padding: 2px;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.sitetext a {
  font-weight: 500;
  color: rgb(0, 0, 0);
  text-decoration: none;
  padding: 16px;
}

.sitetext a:hover {
  color: rgb(255, 255, 255);
}

#act {
  color: rgb(255, 255, 255);
}



/* Push main content down so the header doesn't overlap */
main {
  width: 100%;
  padding-top: 60px; /* Adjust based on header height */
  
}

.gallery {
   /* This will stack images vertically */
   display: flex;
   flex-direction: column;
   /* Optionally center images horizontally */
   align-items: center;
   padding-top: 20px;
   width: 100%;
  overflow-x: auto;
 }
 
.gallery p {
  color: white;
  width: auto;  /* Preserve aspect ratio */

  padding-left:25vw;
  padding-right:25vw;
  text-align: center;
}

.gallery p i {
  font-style: italic;
  color: #ffffff;
  font-size: 0.9em;
}
.gallery img {
  display: block;
  max-width: 100%;
  height: 600px;
  margin: 0 auto;
  padding: 10px;
  box-sizing: border-box;
  /* padding-left: 20vw;  // entfernen */
  /* padding-right: 20vw; // entfernen */
}

.gallery video {
  display: block;
  max-width: 100%;
  width: 100%;
  height: 600px;
  margin: 0 auto;
  padding: 10px;
  box-sizing: border-box;
  /* padding-left: 20vw;  // entfernen */
  /* padding-right: 20vw; // entfernen */
}

 
.gallery a {
  color: #7f7f7f;
  text-decoration: none;
}

.gallery a:hover {
  color: white;
}
 
 /* Remove bottom margin for the last image */
 .gallery img:last-child {
   margin-bottom: 0;
 }

#diary {
  color: #a3a3a3;
}

 .foot p {
  text-align: left;
 }


::selection {
   color: #7f7f7f;
    background: none;}
 
 a::selection {
    opacity: 100%;
   color: black;
    background: none;}


.gallery a::selection {
    opacity: 100%;
   color: rgb(255, 255, 255);
    background: none;}


   @media(max-width:1200px){  
  .gallery img {
    max-width: 100%;
    max-height: 400px; /* Begrenze die Höhe, aber erhalte das Seitenverhältnis */
    height: auto;
    width: auto;
    padding: 6px;
    box-sizing: border-box;
  }
  .gallery video {
    max-width: 100vw;
    max-height: 400px; /* Begrenze die Höhe, aber erhalte das Seitenverhältnis */
    width: 100%;
    height: auto;
    padding: 6px;
    box-sizing: border-box;
  }
  .gallery p {
    width: auto;
    padding-bottom: 6px;
    
    padding-left:0vw;
    padding-right:0vw;
    text-align: center;
  }
}




  
 
 