/*

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: 1500px;
}

#einleitung {
    color: white;
    position: relative;
    top: 400px;
    background-color: black;
    width: 100%;
    height: 150px;
}

#einleitung h1 {
    position: absolute;
    text-align: center;
    left: 18.5%;
}

#einleitung h2 {
    position: absolute;
    top: 50px;
    font-size: 20px;
    margin-left: 15px;
    left: 25%;
}


/*
Icon-Link
 */
.bilderTeileLink {
    position: relative;
    top: 400px;
    background-color: black;
    height: 350px;

}

.bildLink:active, .bildLink:link, .bildLink:visited {
    color: white;
}

.bildLink:hover {
    color: #696969;
}

.aussehenBilderTeileLink {
    display: inline-block;
    padding: 1px;
    margin-top: 1px;
    list-style: none;
    background-color: black;
    max-width: 100%;
}

.bilderTeileLink #iconText {
    color: white;
    font-size: 20px;
    top: 40px;
}


.bilderTeileLink #iconText li {
    position: relative;
    display: inline-block;
    text-align: center;
    margin-left: 45px;
    margin-right: 15px;
    left: 25%;
}

.bilderTeileLink #icons li {
    position: relative;
    display: inline-block;
    text-align: center;
    padding: 40px;
    width: 64px;
    height: 64px;
    left: 25%;

}

.bilderTeileLink #geschichteText {
    left: 3px;
}

.bilderTeileLink #entwicklungText {
    right: 20px;
}

.bilderTeileLink #vergleichText {
    right: 40px
}

.bilderTeileLink #ueberUnsText {
    right: 45px;
}

.bilderTeileLink button {
    padding: 0;
    border: 2px solid black;
    background-color: black;
}

.bilderTeileLink button:hover {
    border: 2px solid gray;
}

/*
  Haupttext
 */
.hauptText {
    position: relative;
    top: 370px;
    font-size: 20px;
    background-color: black;
    height: 400px;
    width: fit-content;

}

.hauptText h2 {
    color: white;
    position: relative;
    top: 125px;
    text-align: center;
    background-color: rgb(87, 87, 86);
    padding-top: 10px;
}

.hauptText ul {
    color: white;
    padding-left: 5%;
    background-color: rgb(87, 87, 86);
    position: relative;
    top: 100px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.hauptText li {
    padding: 10px;
}

.hauptText a:link, a:visited, a:active {
    color: white;
}

.hauptText a:hover {
    color: #696969;
}


/*
Für die Bestätigung des Newsletter
 */
main #mainBestaetigung {
    position: absolute;
    top: 45vh;
    width: 30vw;
    color: white;
    left: 50%;
    right: -50%;
    transform: translate(-50%);
    padding-left: 5px;
}

/*
Der Footer ganz unten bei der Website.
 */

.newsLetter {
    position: relative;
    width: fit-content;
    height: auto;
    background-color: #121212;
    color: white;
    left: 50%;
    transform: translate(-50%);

}

.newsLetter label, h1 {
    margin-left: 10px;
}

.newsLetter label {
    font-size: 1.35em;
}

.newsLetter h1 {
    font-size: 1.5em;
    padding-top: 5px;
}


.newsLetter #sendenButton {
    position: relative;
    left: 75%;
    margin: 10px;
}

footer {
    position: relative;
    bottom: -400px;

}

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;
}


