html {
    background: white;
    /* Hintergrundfarbe für den Bereich oberhalb der Menüleiste */
}

body {
    font-family: 'Montserrat', sans;
    margin: 0;
    padding-top: 80px;
    /* Höhe der Menüleiste */
    font-size: 10pt;
}

.content-container {
	font-family: 'Montserrat', sans;
    width: 80%;
    margin: 0 auto;
    /* Zentriert den Container */
    /* background: url('http://hoffmann-thomson.com/mht_white_crop.jpg') no-repeat center fixed; */
    /* -webkit-background-size: cover; */
    /* -moz-background-size: cover; */
    /* -o-background-size: cover; */
    /* background-size: cover; */
    padding: 10px;
    /* Padding innerhalb des Containers */
    margin-top: 5px;
    /* Abstand unter der Menüleiste */
}

#welcome-image {
    width: 51%;
    margin-left: 24.5%;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    /*background: white url(http://hoffmann-thomson.com/noise.png); */
    background-color: white;
    color: black;
    text-align: left;
    padding: 20px 0;
    /* Erhöhte Höhe und Padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    /* Sicherstellen, dass die Menüleiste immer oben bleibt */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Schatten für die Menüleiste */
}

nav .title {
    font-size: 3.5em;
    transition: font-size 0.5s;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
    /* Schöner Schatten für die Schrift */
}

nav .subtitle {
    text-align: right;
    font-size: 2em;
    transition: font-size 0.5s;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
    /* Schöner Schatten für die Schrift */
}

nav .nav-links {
    padding-top: 4px;
    font-size: 1.3em;
    display: flex;
    justify-content: center;
}

nav .nav-links a {
    color: black;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.5s, text-shadow 0.5s;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    /* Schöner Schatten für die Schrift */
}

nav .nav-links a:hover {
    color: #047847;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    /* Intensiverer Schatten beim Hover */
}

nav .burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    /* Reduzierte Höhe */
    margin-top: 10px;
    /* Abstand unter dem Titel */
    margin-bottom: 10px;
}

nav .burger-menu .bar {
    width: 25px;
    height: 2px;
    background-color: #047847;
    margin: 3px 0;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

nav .logo {
    position: absolute;
    right: 10%;
}

nav .logo img {
    transition: height 0.5s;
    height: 50px;
    /* Höhe des Logos */
}

section {
    width: 50%;
    /* Breite der Sektionen innerhalb des Containers */
    padding: 5px;
    margin: 10px auto;
    /* Sicherstellen, dass die Sektionen unter der Menüleiste landen */
    background-color: whitesmoke;
    /* Hellgrau mit Transparenz */
    color: black;
    /* Schwarze Schrift */
    transition: width 0.5s;
    /* box-shadow: 0 0 4px 6px rgba(0, 0, 0, 0.1); */
    /* border-radius: 0px 5px 70px 0px; */
}

section h2 {
    text-align: center;
}

#news {
    /* color: firebrick; */
    text-align: justify;
    /* background: rgba(255, 200, 200, 0.7) url(http://hoffmann-thomson.com/noise.png); */
}

.quote {
    display: none;
    /* Standardmäßig ausgeblendet */
    text-align: center;
    padding-left: 10%;
    padding-right: 10%;
}

.quote:first-child {
    display: block;
    /* Das erste Zitat wird standardmäßig angezeigt */
}

.quote-image {
    width: auto;
    height: 200px;

}

section .quote h4 {
    width: 100%;
    min-height: 93px;
    padding: auto;
    text-align: center;
    width: 100%;
}

section a {
    color: black;
    text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.5);
}

section a:hover {
    color: #13861a;
    /* Dunkleres Grau beim Hover */
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
    /* Intensiverer Schatten beim Hover */
}

section .downloadbox {
    text-align: center;
    margin-top: 1%;
    width: 100%;
    margin-bottom: 5%;
}

section .audiobox {
    font-size: 1em;
}

section .audiobox audio {
    width: 100%;
    margin-bottom: 10px
}

section ul {
    padding-left: 0;
    text-align: center;
    list-style-type: none;
}

section ul li {

    margin-bottom: 10px;
}

section h4 {
    margin-bottom: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
    margin-top: 5px;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.thumbnail {
    height: 75px;
    /* Feste Höhe */
    width: auto;
    /* Dynamische Breite */
    cursor: pointer;
    transition: transform 0.2s;
}

.thumbnail:hover {
    transform: scale(1.1);
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1001;
    /* Über der Menüleiste */
}

.overlay-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    /* Beibehaltung der Proportionen */
}

.close,
.prev,
.next {
    position: absolute;
    color: white;
    cursor: pointer;
    font-size: 40px;
}

.close {
    top: 20px;
    right: 30px;
}

.prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

#contact {
    padding-bottom: 20px;
}

#mail {
    width: 80px;
    margin: auto;
    padding-bottom: 15px;
}

#social {
    width: 160px;
    margin: auto;
}

#impressum {
    text-align: justify;
}

#impressum h1 {
    text-align: center;
    font-size: 2em;
}

#impressum a:hover {
    color: #047847;
}

footer {
    position: fixed;
    bottom: 0px;
    /* Abstand zum unteren Rand */
    left: 0px;
    /* Abstand zum linken Rand */
    right: 0px;
    /* Abstand zum rechten Rand */
    background: #047847 url(http://hoffmann-thomson.com/noise.png);
    /* Wie Obere Navigation */
    color: white;
    text-align: center;
    padding: 2px 0;
    /* Reduzierte Höhe und Padding */
    z-index: 1000;
    /* Sicherstellen, dass die Fußzeile immer oben bleibt */
    border-radius: 0px;
    /* Abgerundete Ecken */
    font-size: 0.8em;
    /* Schriftgröße um 60% reduziert */
}

footer p {
    margin: 2px;
}

footer a {
    color: white;
    text-shadow: 0px 0px 1px rgba(255, 255, 255, 0.5);
}

section a:hover {
    color: #047847;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1200px) {
    .content-container {
        width: 60%;
        /* Breite des Containers bei kleineren Bildschirmen */
    }

    #welcome-image {
        width: 96%;
        margin-left: 2%;
    }

    section {
        width: 95%;
        padding: 5px;
        margin: 10px auto;
        /* margin: 120px auto 20px auto; /* Sicherstellen, dass die Sektionen unter der Menüleiste landen */
    }

    nav .title {
        font-size: 2.5em;
        /* Schriftgröße reduziert */
    }

    nav .subtitle {
        font-size: 1.3em;
        /* Schriftgröße reduziert */
    }

    nav .logo {
        position: absolute;
        left: 90%;
    }

    nav .logo img {
        height: 40px;

        /* Höhe des Logos */
    }
}

@media (max-width: 700px) {


    nav {
        padding: 10px 0 0 0;
        /* Reduzierte Höhe im Burger-Menü-Modus */
        position: fixed;
    }

    nav .title {
        margin-bottom: 2px;
        font-size: 1.6em;
        /* Schriftgröße reduziert */
    }

    nav .subtitle {
        font-size: 1em;
        /* Schriftgröße reduziert */
    }

    nav .logo img {
        display: none;
    }

    nav .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background: white;
        color: black;
        /* Hellgrau */
        position: absolute;
        top: 50px;
        margin-top: 40px;
        /* Platz für das Burger-Menü */
    }

    nav .nav-links.active {
        display: flex;
        /*background: white url(http://hoffmann-thomson.com/noise.png);*/
    }

    nav .nav-links a {
        margin: 4px 0;
        padding: 8px;
    }

    nav .burger-menu {
        display: flex;
        margin-top: 0px;
    }

    .content-container {
        width: 95%;
        /* Breite des Containers bei sehr kleinen Bildschirmen */
    }

    section {
        width: 95%;
        padding: 5px;
        margin: 10px auto;
        /* margin: 120px auto 20px auto; /* Sicherstellen, dass die Sektionen unter der Menüleiste landen */
    }

    section .downloadbox {
        text-align: center;
        margin-top: 1%;
        margin-bottom: 5%;
    }

    section ul {
        padding-left: 0px;
        list-style-type: none;
    }

    section ul li {
        font-size: 0.95em;
        margin-left: 0px;
        margin-bottom: 10px;
    }

    .quote {
        padding-left: 1%;
        padding-right: 1%;
    }

}