/*

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;
    background-position-y: 60px;
    width: fit-content;
    height: auto;
    font-family: Lato, sans-serif;
    margin-right: -5px;
    margin-left: 0;
    margin-top: 0;

}


/*
Die Navigationsleiste.
 */
header {
    background-color: black;
    height: 100px;
    max-width: 100%;
}

header button {
    background-color: black;
    border: 1px solid black;
}

header .suchFeld {
    margin-top: 1px;
}

#nav {
    overflow: hidden;
    width: auto;
    display: flex;
    padding: 1px;
    list-style: none;
    position: relative;
    top: 10px;

}

#nav a {
    color: #9b9b9b;
    padding: 14px 15px;
    text-decoration: none;
    font-size: 25px;

}

#nav a:hover {
    color: #696969;
}

#nav a.active {
    color: #ffffff;
}

.suchFeld input[type=text] {
    padding: 6px;
    border: none;
    position: relative;
    top: 15px;
    font-size: 2em;
    width: 200px;
}

/*
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;
}

.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: 25px;
}
td{
    font-size: 22px;
}
td a:active, a:visited, a:link {
    color: white;
}

td a:hover {
    color: #696969;
}


/*
der Footer
 */
footer {
    position: relative;
    bottom: -625px;

}

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;
}
