    @font-face {
    font-family: 'Gilroy';
    src: url('fonts/Radomir Tinkov - Gilroy-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Radomir Tinkov - Gilroy-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}
body {
    font-family: 'Gilroy', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

h1, h2 {
    margin-left: 20px;
}

.header {
    width: 100%;
    height: 60px;
    background-color: #60b564;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
    width: 160px;
    height: 56px;
    background-image: url('/img/cdu.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.hamburger {
    cursor: pointer;
    display: inline-block;
    width: 30px;
    height: 25px;
    position: fixed;
    left: 20px;
    top: 10px; /* Positioniere das Menü 10px vom oberen Rand entfernt */
}

.hamburger .bar {
    background-color: #333;
    display: block;
    height: 3px;
    margin: 5px 0;
    transition: 0.4s;
}


.menu {
    display: none;
    position: fixed;
    left: 80px;
    top: 10px;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 12px 16px;
    z-index: 1;
    width: calc(50% - 20px);
}

.menu a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.menu a:hover {
    background-color: #ddd;
}

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
padding-bottom: 300px;
  height: 70vh; /* 80% der Viewport-Höhe */
  width: 100%; /* Lässt den Container die maximale Breite einnehmen */
  max-width: 100%; /* Stellt sicher, dass der Container nicht breiter als der Viewport ist */
}

video {
  max-height: 70vh; /* Maximiert die Höhe des Videos auf 80% des Viewports */
  max-width: 640px; /* Maximale Breite des Videos */
  height: auto; /* Passt die Höhe automatisch an, um das Seitenverhältnis zu wahren */
  width: auto; /* Passt die Breite automatisch an, um das Seitenverhältnis zu wahren */
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.gallery img {
    max-width: 100%;
    height: auto;
    cursor: pointer;
}

.lightbox {
    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;
}

footer {
    padding: 20px; /* Fügt Innenabstand hinzu */
    margin-top: 20px; /* Fügt Außenabstand hinzu */
    background-color: #f1f1f1; /* Hintergrundfarbe, optional */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Schatten für den Footer, optional */
    text-align: center; /* Zentriert den Text im Footer */
}

      .label {
            position: absolute;
            top: 0;
            right: 0;
            background-color: rgba(128, 128, 128, 0.7); /* Grauer, transparenter Hintergrund */
            color: white; /* Weiße Schrift */
            padding: 5px; /* Ein bisschen Abstand um den Text */
            font-size: 36px; /* Schriftgröße */
            font-weight: bold;
            /*font-family: 'Roboto', sans-serif; /* Schriftart */
        }

            .caption {
            position: absolute;
            bottom: 10px; /* 10px Abstand vom unteren Rand */
            right: 10px; /* 10px Abstand vom rechten Rand */
            background-color: white; /* Weißer Hintergrund */
            color: black; /* Schwarze Schrift */
            padding: 5px; /* Ein bisschen Abstand um den Text */
            font-size: 36px; /* Schriftgröße */
            font-weight: bold;/* Schriftart */
            text-transform: uppercase;
            max-width: calc(100% - 20px); /* Maximale Breite, um Überlauf zu vermeiden */
            white-space: nowrap; /* Verhindern, dass der Text umbricht */
            overflow: hidden; /* Verstecken des Überlaufs */
            text-overflow: ellipsis; /* Auslassungspunkte, wenn der Text zu lang ist */
        }
            .sub-caption {
            position: absolute;
            bottom: 70px; /* 30px Abstand vom unteren Rand, um Überlappungen zu vermeiden */
            right: 10px; /* 10px Abstand vom rechten Rand */
            background-color: white; /* Weißer Hintergrund */
            color: black; /* Schwarze Schrift */
            padding: 5px; /* Ein bisschen Abstand um den Text */
            font-size: 24px; /* Schriftgröße */
            font-weight: bold; /* Schriftart */
            max-width: calc(100% - 20px); /* Maximale Breite, um Überlauf zu vermeiden */
            white-space: nowrap; /* Verhindern, dass der Text umbricht */
            overflow: hidden; /* Verstecken des Überlaufs */
            text-overflow: ellipsis; /* Auslassungspunkte, wenn der Text zu lang ist */
        }

        
            @media screen and (max-width: 1024px) {
                .label, .caption {
                    font-size: 30px; /* Etwas kleinere Schriftgrößen für mittelgroße Bildschirme */
                }

                .sub-caption {
                    font-size: 20px; /* Spezifische Anpassung für sub-caption */
                    bottom: 60px; /* 30px Abstand vom unteren Rand, um Überlappungen zu vermeiden */
                }
            }

            @media screen and (max-width: 768px) {
                .label, .caption {
                    font-size: 24px; /* Noch kleinere Schriftgrößen für kleinere Bildschirme */
                }

                .sub-caption {
                    font-size: 16px;
                    bottom: 55px; /* 30px Abstand vom unteren Rand, um Überlappungen zu vermeiden */
                }
            }

            @media screen and (max-width: 480px) {
                .label, .caption {
                    font-size: 18px; /* Sehr kleine Schriftgrößen für sehr kleine Bildschirme */
                }

                .sub-caption {
                    font-size: 14px;
                    bottom: 52px; /* 30px Abstand vom unteren Rand, um Überlappungen zu vermeiden */
                }
            }


@media screen and (max-width: 600px) {
    .menu {
        width: 100%; /* Menü nimmt die volle Breite ein */
        left: 0; /* Menü beginnt am linken Rand */
        top: 60px; /* Menü beginnt direkt unter dem Header */
    }

    .menu a {
        text-align: center;
        padding: 10px;
    }

    .hamburger {
        left: 10px;
    }

    .logo {
        width: 120px; /* Verkleinert das Logo auf kleineren Bildschirmen */
        height: 42px;
    }
}
