/*

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;
    color: white;
    height: 100vh;
    width: 100%;
    margin-right: -5px;
    margin-left: 0;
    margin-top: 0;
    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
 */
.layout {
    position: relative;
    top: 45vh;
    display: flex;
    background-color: black;
    height: 950px;
}

.linkeSeite {
    position: absolute;
    width: 45%;
    top: 1.5vh;
    left: 1px;
    font-size: 20px;
    padding-left: 10px;
}

.linksLinkeSeite:active, .linksLinkeSeite:link, .linksLinkeSeite:visited {
    color: white;
    position: relative;
    left: 1%;

}

.linksLinkeSeite:hover {
    color: #696969;
}

.rechteSeite {
    position: absolute;
    top: 1.5vh;
    width: 50%;
    right: 1px;
    font-size: 20px;
    padding-right: 10px;
}

#g1912{
    height: 300px;
}
.linksRechts:visited, .linksRechtsn:link, .linksRechts:active {
    color: white;
    position: relative;
    right: -10%;

}

.linksRechts:hover {
    color: #696969;
}

main button {
    position: relative;
    border: 2px solid black;
    bottom: -250px;
    left: 95%;
    background-color: black;

}


/*
Der Footer ganz unten bei der Website.
 */
footer {
    position: relative;
    bottom: -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;
}



