header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
  }
  
  h1, span {
    margin: 0;
    font-size: 12pt;
    font-weight: normal;
    text-align: left;
  }

body {
    font-family:'Times New Roman', Times, serif;
    line-height: 1.2;
    margin: 0;
}

h1 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 12pt;
    font-weight: normal;
    text-align: left;

}
h2 {
    font-weight:lighter;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8pt;
    margin-top: -1rem; /* Adjust this value to control the spacing */
    margin-bottom: -0.6rem; /* Adjust this value to control the spacing */

}
h3 {
    font-weight: lighter;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10pt;
}

a {
    text-decoration: none; /* Remove underline */
    color: black; /* Set link color to black */
    
}

a:hover {
    text-decoration: underline; 
}

.navigation{
    font-size: 10pt;
    text-align: center;
    text-align: center;
    margin-top: 0rem;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', Times, serif;

}
.navigation a {
    margin: 1rem; /* Add right margin to create space between links */
    text-decoration: underline;

}



main {
    padding: 1rem;
}

.project-description {
    margin-bottom: 10px; /* Add space between description and gallery */
    font-size: 11pt;
    display: flex; /* Use flexbox for layout */
    justify-content: space-between; /* Space items horizontally */
}

.description-block {
    text-align: left;
    flex: 1; /* Distribute available space evenly between blocks */
margin-right: 40px;
}

.description-block:first-child {
    flex: 0.5; /* Make the left block half as wide as the right block */
}

.description-block a {
    text-decoration: underline;
}

.image-description {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8pt;
    margin-top: 5px;
    text-align: left;
    line-height: 1;
    color: black;
    text-decoration: none;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px 20px; /*first for rows, second zwischen den bildern*/
}

.gallery-item {
    display: flex;
    flex-direction: column;
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
}


.extra-gallery-1{
    display: grid;
    gap: 10px 5px; /*first for rows, second zwischen den bildern*/
    grid-template-columns: repeat(1, 1fr);
    }



/* Media Query for smaller screens */
@media screen and (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(4, 1fr);
    }
    .project-description {
        flex-direction: column; /* Stack blocks on top of each other */
    }
    .description-block {
        flex: 1; /* Make both blocks take up full width */
        margin-right: 0; /* Remove the margin between blocks */
    }
}
/* Media Query for Mobile Devices */
@media screen and (max-width: 480px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .project-description {
        flex-direction: column; /* Stack blocks on top of each other */
    }
    .description-block {
        flex: 1; /* Make both blocks take up full width */
        margin-right: 0; /* Remove the margin between blocks */
    }
}

.next{
    font-size: 9pt;
    text-align: right;
   padding-bottom: 2rem;
   padding-top: 1rem;
     font-family:Arial, Helvetica, sans-serif ;

}

.next a {
    margin: 0.5rem; /* Add right margin to create space between links */
    text-decoration: underline;

}

/* 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.2);
  }
  .bottom-subline a {
    text-decoration: none;
    color: black;
    font-weight: normal;
    margin-left: 1rem;
  }
  