html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body::before {
    content: url("../images/textures/00004-2501672346_2.webp");
    position: absolute;
    top: -9999rem;
    left: -9999rem;
    opacity: 0;
  }

#container {
    min-height: 100%;
    position: relative;
}

#header {
    position: fixed;
    overflow: hidden;
    top: 0;
    background-image: url("../images/textures/00004-2501672346_2.webp");
    background-size: cover;
    color: white;
    display: flex;
    width: 100%;
    height: 8vh;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    font-size: 16px; /* Set a fixed font size in pixels */
}

#header h1 {
    margin: 0;
    padding-left: 20px;
    align-self: center;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem; /* Set a fixed font size in em or pixels */
}

nav {
    margin: 0;
    padding-left: 20px;
    align-self: center;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

nav ul {
    list-style: none;
    margin: 0 auto;
    margin-right: 20px;
    text-align: center;
}

nav li {
    display: inline;
    height: 100%;
}

nav a {
    text-decoration: none;
    color: white;
    font-size: 1.25rem;
    padding: 20px;
}

#footer {
    width: 100%;
    text-align: center; /* Änderung auf 'center' für die horizontale Zentrierung des Texts */
    background-image: url("../images/textures/00004-2501672346_2.webp");
    background-size: cover;
    height: 8vh;
    display: flex;
    justify-content: center; /* Zentriert den Inhalt horizontal */
    align-items: center; /* Zentriert den Inhalt vertikal */
    overflow: hidden;
}

#footer a {
    color: white;
}

#footer p {
    color: #ffffffff;
    text-align: center;
    padding: .5rem;
    font-size: 1.25rem;
}

@media only screen and (max-width: 1400px) {

    #header {
        height: 5vh;
    }

    #footer {
        height: 5vh;
    }


}