/*

Der Banner ganz oben bei der Website.
*/
body {
    background-image: url("../Bilder/compressed/teslaBannerCompressed.jpg");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: black;
    margin: 0;
    width: 100%;
    font-family: Lato, sans-serif;
}


/*
Die Navigationsleiste.
 */
header {
    background-color: black;
    height: 50px;
    width: 100%;
}

header button {
    background-color: black;
    position: absolute;
    right: 1px;
    top: 3px;
    border: 1px solid black;


}

header .suchFeld {
    margin-top: 1px;
}

#nav {
    height: 5vh;
    overflow: hidden;
    width: auto;
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 1px;
    list-style: none;
    position: relative;
    left: 50%;
    transform: translate(-50%);
}

#nav a {
    color: #9b9b9b;
    padding: 14px 15px;
    text-decoration: none;
    font-size: 17px;
}

#nav a:hover {
    color: #696969;
}

#nav a.active {
    color: #ffffff;
}

#nav .icon {
    display: none;
}

.suchFeld input[type=text] {
    position: absolute;
    top: 10px;
    right: 50px;
    padding: 6px;
    border: none;
    font-size: 17px;
}

/*
Main
 */
main {
    height: 1000px;
}

main h2 {
    color: white;
    position: relative;
    top: 420px;
    text-align: center;
    background-color: black;
    width: 100%;
    height: 50px;
    padding-top: 10px;

}

.tabelleLinks {
    position: relative;
    top: 400px;
    background-color: black;
    height: 600px;
}

.tabelle {
    color: white;
    position: relative;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: black;
    width: fit-content;

}

.tabellenFeld {
    border: 1px solid white;
}

.titel {
    color: whitesmoke;
    font-weight: bold;
    font-size: 1.1em;
}

td a:active, a:visited, a:link {
    color: white;
}

td a:hover {
    color: #696969;
}

#textQuellenTitel{
    top: 350px;
}
#textQuellen{
top: 330px;
}

/*
der Footer
 */
footer {
    position: relative;
    bottom: -700px;
    width: 60vw;
    left: 50%;
    right: -50%;
    transform: translate(-50%);
}

footer ul {
    list-style-type: none;
    display: flex;
    justify-content: center;

}

footer ul li {
    padding-left: 10px;
    padding-right: 10px;
    height: 50px;
    line-height: 50px;
    color: white;
    background-color: gray;
}

footer a:link, a:visited, a:active {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: red;
}