/*

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: 44vh;
    display: flex;
    background-color: black;
    height: 60vh;

}

.linkeSeite {
    position: absolute;
    width: 45%;
    top: 1.5vh;
    left: 1px;
    font-size: 20px;
    padding-left: 10px;
    padding-top: 20px;
}

.bilderRechts{
    position: absolute;
    right:  1px;
    padding-right: 10px;
}

#bildLadestation{
    position: relative;
    top: -300px;
    left: 120%;
    width: 90%;
}
#reichweiteBild{
    position: relative;
    top: -375px;
    left: 120%;
    width: 90%;
    height: 100%;
}

#anzahlAutoAufStrasse{
    position: relative;
    /*top: -375px;*/
    left: 60%;
    width: 34%;
}
.links:active,.links:link,.links:visited{
    color: white;
    position: relative;
    top: 15px;

    
}
.links:hover{
    color: #696969;
}


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: -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;
}
