/*

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: auto;
}

main h2 {
    color: white;
}

.navAuto {
    color: white;
    position: relative;
    top: 350px;
    height: 50px;
    background-color: black;
}

.navAuto ul {
    overflow: hidden;
    width: auto;
    display: inline-block;
    text-align: center;
    padding: 1px;
    list-style: none;
    position: absolute;

}

.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: fit-content;
    padding-top: 30px;
    padding-bottom: 20px;

}


.textTabellen {
    padding-top: 15px;
}

.titelNamen {
    text-align: center;
    position: relative;
    left: 25px;
}

.grosseTabelle {
    display: flex;
    flex-direction: column;
    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;
    left: 40px;
}


.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;
    text-align: center;
    position: relative;
}


.mitteTabellen li {
    border: 3px solid white;
    text-align: center;
    width: auto;
    position: relative;
}


.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/teslaModelS2Klein.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: contain;
    background-position-y: 300px;
    border: 5px solid black;
}



#bmw {
    background-image: url("../Bilder/compressed/bmwi3_2.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: contain;
    background-position-y: 500px;
    border: 5px solid black;
}

#renault{
    background-image: url("../Bilder/compressed/renaultZoe3.jpeg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: contain;
    background-position-x: -100px;
    border: 5px solid black;
}
#nissan{
    background-image: url("../Bilder/compressed/nissanLeaf3.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: contain;
    background-position-y: 300px;
    border: 5px solid black;
}


main button {
    position: relative;
    border: 2px solid black;
    bottom: -350px;
    left: 95%;
    background-color: black;

}

/*
Der Footer ganz unten bei der Website.
 */

footer {
    position: relative;
    bottom: -480px;

}

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;
}



