body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('forestbg2.png'); /* Make sure the path to the image is correct */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;  
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.container {
    padding: 20px;
    max-width: 100%; /* Ensure the container fits within the viewport */
    box-sizing: border-box;
    margin: 0 auto; /* Center the container */
}

h1 {
    text-align: center;
    color: #222;
    
}


.pdf-links {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 25px;
    margin-bottom: 25px;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    width: 100%; /* Ensure the grid fits within the container */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.pdf-link {
    display: block;
    margin: 10px auto;
    padding: 15px 30px;
    text-decoration: none;
    color: #aaa;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 10px;
    font-size: 18px;
    text-align: center;
    transition: background-color 0.3s ease;
    overflow: hidden; /* Ensure the enlarged image does not overflow the container */
}

.pdf-link img {
    max-width: 100%;
    max-height: 100%;
    transition: transform 0.3s ease; /* Smooth transition for the transform */
}

.pdf-link:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.3); /* Enlarge the image 4 times on hover */
}



.impressum {
    padding: 20px;
    margin-top: 20px;
    font-size: 0.6rem;
    background: transparent; /* Ensure the impressum background is transparent */
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #222;
}

.impressum h2 {
    text-align: center;
    width: 100%;
    margin-top: 0;
}

.impressum-block {
    flex: 1 1 calc(20% - 10px); /* Adjust the percentage as needed for your layout */
    min-width: 200px; /* Ensure a minimum width for smaller screens */
    box-sizing: border-box;
}

.impressum p {
    margin: 5px 0;
}
