.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #acb19a;
    color: white;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-content h1{
    margin:0;
}

.navbar-logo {
    max-height: 60px;
}

.nav-links {
    margin-right:20px;
    display: block;
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

.nav-links ul li {
    cursor:pointer;
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 5px 10px;
    transition: background 0.3s;
}

.nav-links ul li:hover {
    background: #555;
    border-radius: 5px;
}

/* Menü-Button standardmäßig verstecken */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

/* Menü umwandeln auf kleineren Bildschirmen */
@media (max-width: 800px) and (min-height: 501px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 50px;
        right: 10px;
        background: #acb19a;
        padding: 10px;
    }

    .nav-links ul {
        flex-direction:column;
    }

    .menu-toggle {
        display: block; /* Menü-Button sichtbar */
        margin-right:20px;
    }
}

/* auf sehr kleineren Bildschirmen Headerzeile nicht mehr fixed, nur Hamburger fixed*/
@media (max-height: 500px) {
    .navbar {
        position: relative;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 50px;
        right: 10px;
        background: #acb19a;
        padding: 10px;
    }

    .nav-links ul {
        flex-direction:column;
    }

    .menu-toggle {
        position: fixed;
        right:0;
        display: block; /* Menü-Button sichtbar */
        padding:10px;
        background-color:rgb(172,177,154);
    }
}

*{
  margin:0;
  padding:0;
  border:0;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding-top: 75px; /* Platz für das feste Menü einplanen */
    text-align: center;
    background: #f8f9fa;
}

.block {
    padding: 10px;
    margin: 10px auto;
    max-width: 1000px;
    border-bottom: 1px solid rgb(213,221,182);
}

.block p{
    padding: 0;
    margin: 0;
    line-height:150%;
}

.bigimage {
    max-width: calc(100% - 70px);
    max-height: 90vh;
    border-radius: 10px;
}

.block h3 {
    margin: 0;
    margin-bottom: 10px;
}

.block h1 {
    margin: 0;
    text-shadow: 2px 2px 8px rgba(172,177,154,1);
}

.lefttext {
    text-align: left;
}

.two-columns {
    display: flex;
    gap: 20px;
    width: 100%; /* Sicherstellen, dass die Container-Breite respektiert wird */
}

.column {
    flex: 1;
    min-width: 30%;
    max-width: 100%;
    padding: 10px;
}

.bigger {
    flex: 2; /* Diese Spalte wird doppelt so groß wie die andere */
    max-width: 70%;
}


footer {
    background: #222;
    color: white;
    padding: 10px;
}

/* Galerie-Styling */
.gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gallery img {
    max-width: calc(100% - 70px);
    max-height: 90vh;
    border-radius: 10px;
}

.gallery button {
    background: #333;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 5px;
    width:35px;
}

.gallery button:hover {
    background: #555;
}

/* Thumbnails-Styling */
.thumbnails {
    display: flex;
    max-width: calc(100% - 70px);
    margin-left: 35px;
    gap: 10px;
    margin-top: 10px;
    overflow-x: auto; /* Horizontales Scrollen ermöglichen */
    white-space: nowrap; /* Zeilenumbruch verhindern */
    padding-bottom: 10px;
}

.thumbnail {
    max-width: 80px;
    max-height: 80px;
    cursor: pointer;
    border-radius: 5px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.thumbnail:hover {
    opacity: 1;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
}

.custom-table th, .custom-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    white-space:nowrap;
}

.custom-table th {
    background-color: #f4f4f4;
}

/* Die letzte Spalte bekommt mehr Platz */
.custom-table td:last-child {
    width:100%;
    white-space:normal;
}

/* Responsives Design */
@media (max-width: 600px) {
    .two-columns {
        flex-direction: column; /* Mobilansicht: Spalten untereinander */
    .block {
        width: 100%;
    }
    .bigger {
        max-width: 100%;
    }
}
