html, body {
    margin: 0;
    width: 100%;
    height: 100%;
}

body {
    color: rgb(176, 176, 174);
    font-family: "Nunito Sans";
    background-color: rgb(0, 0, 0);
}

#content {
    text-align: center;
    margin: 0 auto;
    max-width: 1000px;
    padding: 20px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#background-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1000; /* Video im Hintergrund */
}
#background-video-mobile {
    display: none;
}

#background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* overlay Video */
    z-index: -999;
}

h1 {
    font-size: 60px;
    margin-bottom: 10px;
    margin-top: 50px;
}

h2 {
    font-size: 36px;
    margin-top: 10px;
}

a {
    font-size: 24px;
    color: rgb(176, 176, 174);
    color: inherit;
    text-decoration: none;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.telefonnummer {
    margin-bottom: 300px; /* Fügt einen Abstand zum nächsten Element hinzu */
}

#logo {
    display: inline-block;
}

@media (orientation: landscape) {
    body {
        position: static;
        left: auto;
        top: auto;
        transform: none;
    }
}
@media only screen and (max-width: 1024px) {
    #background-video {
        background-size: cover;
        background-position: center;
        position: absolute;
        top: 0;
        left: 0;
        width: auto;
        height: 100%;
        z-index: -100; /* Verberge das Desktop-Video für mobile Geräte */
    }
}

@media only screen and (max-width: 768px) {
    #logo {
        width: 90%; /* Logo auf 80% der Bildschirmbreite */
    }

    #name {
        text-align: center; /* Den Text zentrieren */
    }

    #contactlinks {
        text-align: center; /* Die Kontaktlinks zentrieren */
    }

    #content {
        horiz-align: center;
        left: unset;
        transform: unset;
        transform: translateY(-50%);
    }

    h1 {
        font-size: 36px;
        margin-bottom: 10px;
        margin-top: 50px;
    }

    h2 {
        font-size: 24px;
    }

    #background-video {
        display: none; /* Verberge das Desktop-Video für mobile Geräte */
    }

    /* Zeige das mobile Video stattdessen */
    #background-video-mobile {
        background-size: cover;
        background-position: center;
        position: absolute;
        top: 0;
        left: 0;
        width:auto;
        max-width: 100%;
        height: 100%;
        z-index: -100;
        display: inherit;
    }
}