/*

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;
    max-width: 100%;
    font-family: Lato, sans-serif;
    margin-right: -5px;
    margin-left: 0;
    margin-top: 0;
}

/*
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: auto;
}

main h2 {
    color: white;
}

.navAuto {
    color: white;
    position: relative;
    top: 350px;
    height: 50px;
    background-color: black;
}

.navAuto ul {
    overflow: hidden;
    width: 40vw;
    display: inline-block;
    text-align: center;
    padding: 1px;
    list-style: none;
    position: absolute;
    left: 50%;
    transform: translate(-50%);

}

.navAuto li {
    position: relative;
    display: inline-block;
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 20px;
}

.navAuto a {
    color: white;
    text-decoration: none;
}

.navAuto a:hover {
    color: #696969;
}


/*
Anfang Tabellen
 */

.layoutAlles {
    position: relative;
    top: 350px;
    background-color: black;
    height: 800px;
    padding-top: 30px;
    padding-bottom: 20px;

}


.textTabellen {
    padding-top: 15px;
}

.titelNamen {
    text-align: center;
    position: relative;
    left: 25px;
}

.grosseTabelle {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    list-style: none;
}

pre {
    padding-right: 10px;
    padding-left: 10px;
}

.tab {
    tab-size: 4;

}

.textLink {
    color: white;
    position: relative;
    left: 40px;
}

.textMitte {
    color: white;
    position: relative;
    left: 40px
}

.textRecht {
    color: white;
    position: relative;
    right: -10px;
}


.tabellenLayout {
    position: relative;
    left: -30px;
}

.tabellen {
    color: white;
    position: relative;
    height: auto;
    list-style: none;
    font-size: 18px;
    font-weight: bold;
}

.linkeSeiteTabellen li {
    border: 3px solid white;
    width: auto;
    position: relative;
}


.mitteTabellen li {
    border: 3px solid white;
    text-align: center;
    width: auto;
}


.rechtsSeiteTabellen li {
    border: 3px solid white;
    text-align: center;
    width: auto;
}

.beschreibung {
    font-size: 19px;
    color: lightgrey;
}

.links:active,.links:visited,.links:link{
    color: white;
    position: relative;
    top: 150px;
    left: 95%;
}
.links:hover{
    color: #696969;
}

#tesla {
    background-image: url("../Bilder/compressed/teslaModelS2.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    border: 5px solid black;

}

#teslaTabelleNeu {
    right: 30px;
}

#teslaTabelleVergleich {
    right: 50px;
}

#bmw {
    background-image: url("../Bilder/compressed/bmwi3_2.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    border: 5px solid black;
}


#bmwi3TabelleNeu {
    right: 30px;
}
#renault{
    background-image: url("../Bilder/compressed/renaultZoe2.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    border: 5px solid black;
}
#zoeTabelleNeu {
    right: 30px;
}

#nissan{
    background-image: url("../Bilder/compressed/nissanLeaf2.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: contain;
    border: 5px solid black;
    background-position-y: 100px;
}
#leafTabelleNeu {
    right: 30px;
}

#leafTabelleVergleich {
    right: 25px;

}

main button {
    position: relative;
    border: 2px solid black;
    bottom: -350px;
    left: 95%;
    background-color: black;

}

/*
Der Footer ganz unten bei der Website.
 */

.newsLetter {
    position: relative;
    width: 300px;
    height: auto;
    background-color: #121212;
    color: white;
    left: 50%;
    transform: translate(-50%);

}

.newsLetter label, h1 {
    margin-left: 10px;
}

.newsLetter h1 {
    font-size: 1.2em;
    padding-top: 5px;
}


.newsLetter #sendenButton {
    position: relative;
    left: 75%;

    margin: 10px;
}

footer {
    position: relative;
    bottom: -35vh;
    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;
}




