header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

h1, h2 {
  margin: 0;
  font-size: 12pt;
  font-weight: normal;
  text-align: left;
}
    
  body {
        font-family: "Times New Roman", serif;
        line-height: 1.2;
        margin: 0;
        text-align: center;
        padding: 1rem;
      }
      
  .navigation{
        font-size: 10pt;
      }
    
  .left,
  .right {
        display: inline-block; /* Display the left and right divs inline */
        vertical-align: middle; /* Align them vertically in the middle */
        margin: 0 15px; /* Add margin for spacing between the elements */
      }
      
      .hidden-text {
        display: inline;
        margin: 0 5px; /* Adjust the margin as needed for spacing */
        color: black; /* Set the text color */
        text-decoration: none;
        }
      
  .hidden-text:hover {
          text-decoration: underline;
        }
  
  div.navigation div.left .hidden-text {
          text-decoration: underline;
        }
  
  .new-elements {
    text-align: center;
    display: flex; /* Display the new elements horizontally */
    font-size: 10pt;
      }
      
  .new-elements a {
        margin-right: 10px; /* Add spacing between the new elements */
      }
      
.new-elements a:hover {
        text-decoration: underline;
      }

      .active {
        text-decoration: underline;
      }
  a {
        text-decoration: none; /* Remove underline */
        color: black; /* Set link color to black */
      }
    
  
    
    .gallery {
      grid-template-columns: repeat(3, 1fr);

      margin-top: 1rem;
      display: grid;
      gap: 20px 20px; /*first for rows, second zwischen den bildern*/
    }
    
    .gallery-item {
      display: flex;
      flex-direction: column;
    }
    
    img {
      width: 100%;
      height: auto;
      object-fit: cover;
    }
    
    .image-description {
      font-family: Arial, Helvetica, sans-serif;
      font-size: 8pt;
      margin-top: 1px;
      text-align: left;
      line-height: 1.1;
      color: black;
      text-decoration: none;
    }
    
/* CSS for the contact popup */
.contact-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(2deg); /* Add rotation transform */
  background: url('data/visitenkarte.jpg') no-repeat center center;
  background-size: cover; /* This ensures the background image covers the entire element */
  padding: 0; /* Remove padding to make it fully display the background image */
  width: 500px; /* Set the width and height of the pop-up as needed */
  height: 274px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  z-index: 9999;
}


  .contact-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align content to the bottom */
    height: 100%; /* Ensure the container takes up the full height */
  }

.contact-content a {
  color: black; /* Change this color to your desired color */
  
}


.contact-content a:hover {
  text-decoration: underline; /* Add underline on hover */
}


.bottom-subline{
  cursor: pointer;
}


  
 
.bottom-subline {
    font-family: 'Times New Roman', Times, serif;
    padding: 0.3rem;
    font-size: 12pt;
    background-color: white;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    /*background-image: linear-gradient(to top, rgba(250, 241, 72, 0.941), rgba(0, 128, 0, 0));*/
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  }
  
  .bottom-subline a {
    text-decoration: none;
    color: black;
    font-weight: normal;
    margin-left: 1rem;
  }


