*{
    font-family: Arial, Helvetica, sans-serif;
    
}
body{
    margin: 0;
    padding: 0;
}
.navbar{
    background-color: rgb(246, 248, 248);
    display: flex;
    padding: 5px 40px;
    justify-items: center;
    align-items: center;
    justify-content: space-between;
    font-size: medium;
    font-weight: 400;
    height: 45px;
}
.navbar .logo{
    width: 120px;
}
.navbar .icons{
    display: flex;
    gap: 20px;
}

.navbar .icons img {
    width: 24px;
}

.navbar ul {
    display: flex;
    gap: 20px;
    list-style: none;
}
.navbar a{
    color: black;
    text-decoration: none;  
}
.navbar a:hover{
    text-decoration: underline;
}
.hero{
    background-image: url('./Images/Homepage-Promo-Cybertruck-Desktop.png');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.hero img{
    padding-top: 50px;
    height: 120px;
    filter: invert(100%);
}
.hero a{
    font-size:25px;
    color: white;
}

.hero button{
    width: 180px;
    height: 40px;
    background-color: #3e6ae1;
    color: white;
    font-size: large;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.hero .btn1{
    width: 180px;
    height: 40px;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    font-size: large;
    border: none;
    border-radius: 5px;
}
.hero button:hover{
    background-color: #1244cd;
}
.hero .btn1:hover{
    background-color: rgb(226, 224, 224);
}
.hero2{
    display:flex;
    padding: 25px;
    gap: 20px;
}
.hero2 span{
    font-size: larger;
    color: rgb(255, 255, 255);
    align-self: flex-start;
    padding-left: 40px;
    padding-top: 30px;
}

.hero2 .truck{
    background-image: url(./Images/Homepage-Card-Cybertruck-Desktop-Dynamic-Asset.png);
    background-size: cover;
    background-position: center;
    width: 70%;
    height: 55vh;
    display: grid;
    border-radius: 7px;
}
.hero2 .truck img{
    height: 50px;
    filter: invert(100%);
}
.hero2 .mh{
    display: flex;
    flex-direction: column;    
    color: #ffffff;
    margin: 40px;
    align-items: start;
    justify-content: end;
}
.hero2 .suv{
    background-image: url(./Images/Homepage-Card-Model-X-Desktop-US.png);
    background-size: cover;
    background-position: center;
    width: 90%;
    height: 55vh;
    display: grid; 
    border-radius: 7px;

}
.hero2 button{
    width: 120px;
    height: 40px;
    background-color: #3e6ae1;
    color: white;
    font-size: medium;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.hero2 .btn2{
    width: 120px;
    height: 40px;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    font-size: medium;
    border: none;
    border-radius: 5px;
}
.hero2 button:hover{
    background-color: #1244cd;
}
.hero2 .btn2:hover{
    background-color: rgb(226, 224, 224);
}
.card{
    display: flex;
    gap: 30px;
    padding: 30px;
}
.card .prod{
    display: flex;
    background-color: rgb(246, 246, 246);
    justify-content: space-between;
    width: 70%;
    padding: 20px 50px;
    border-radius: 7px;
    font-size: larger;

}
.card img{
    height: 30vh;
}
.card p{
    color: rgb(110, 108, 108);
}
.card button{
    width: 250px;
    height: 40px;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    font-size: medium;
    border: none;
    border-radius: 5px;
}
.card button:hover{
    background-color: #3e6ae1;
}
.future{
    display: flex;
    gap: 30px;
    padding: 30px;
}
.future p{
    margin: 0;
}
.future .slfdrv{
    background-image: url(./Images/selfdriving.png);
    background-size: cover;
    background-position: center;
    width: 60%;
    height: 80vh;
    display: flex;
    border-radius: 7px;
    flex-direction: column;    
    color: #ffffff;
    align-items: start;
    justify-content: end;
    font-size: 60px;
    font-weight: bold;
}
.future .feature{
    background-image: url(./Images/Homepage-Features-Desktop.png);
    background-size: cover;
    background-position: center;
    width: 40%;
    height: 80vh;
    display: flex;
    border-radius: 7px;
    flex-direction: column;    
    color: #ffffff;
    align-items: start;
    justify-content: end;
    font-size: 60px;
    font-weight: bold;
}
.future .ftrs{
    padding-left: 40px;
    padding-bottom: 50px;
}
.future button{
    width: 170px;
    height: 45px;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    font-size: medium;
    border: none;
    border-radius: 5px;
}
.future button:hover{
    background-color: rgb(226, 224, 224);
}
.future .btns{
    width: 170px;
    height: 45px;
    background-color: #3e6ae1;
    color: white;
    font-size: medium;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.future .btns:hover{
    background-color: #1244cd;
}
.map-ctn{
    padding: 30px;
}
.map{
    background-image: url(./Images/Tesla\ map.png);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 70vh;
    display: flex;
    border-radius: 7px;
    cursor: pointer;
}
.charging{
    display: flex;
    padding: 20px 80px;
    justify-content: space-between;
}
.charging .stat{
    gap: 20px;
    display: flex;
}
.charging .stat h2{
    margin: 0;
    font-size: 50px;
    color: black;
}
.charging .stat span{
    margin: 0;
    color: rgb(110, 108, 108);
    font-size: 20px;
    line-height: 30px;
}
.charging .stat img{
    width: 40px;
    float: initial;
}
.charge{
    display: grid;
    line-height: 40px;
    gap: 5px;
}
.charge h1{
    margin: 0;
    font-size: 50px;
    font-weight: 550;
}
.charge p{
    color: rgb(110, 108, 108);
    font-size: 20px;
}
.charge button{
    width: 180px;
    height: 50px;
    background-color:rgb(195, 192, 192);
    color: black;
    font-size: medium;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.charge button:hover{
    background-color: #0000;
    color: black ;
}
.charge .btn2{
    width: 180px;
    height: 50px;
    background-color: black;
    color: rgb(255, 255, 255);
    font-size: medium;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.charge .btn2:hover{
    background-color: #ffffff;
    color: black;
}
.products {
    display: flex;
    gap: 20px;
    padding: 30px;
    margin: 20px;
}
.products .prod1{
    background-image: url(./Images/Homepage-Card-Solar-Panels-Desktop.png);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 70vh;
    display: flex;
    border-radius: 7px;
    flex-direction: column;    
    color: #ffffff;
    align-items: start;
    justify-content: end;
    font-size: 10px;
    font-weight: bold;
    padding-left: 40px;
    padding-bottom: 50px;
}
.products .prod2{
    background-image: url(./Images/Homepage-Card-Solar-Roof-Desktop.png);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 70vh;
    display: flex;
    border-radius: 7px;
    flex-direction: column;    
    color: #ffffff;
    align-items: start;
    justify-content: end;
    font-size: 10px;
    font-weight: bold;
    padding-left: 40px;
    padding-bottom: 50px;

}
.products .prod3{
    background-image: url(./Images/Homepage-Card-Megapack-Desktop.png);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 70vh;
    display: flex;
    border-radius: 7px;
    flex-direction: column;    
    color: #ffffff;
    align-items: start;
    justify-content: end;
    font-size: 10px;
    font-weight: bold;
    padding-left: 40px;
    padding-bottom: 50px;
}
.products button{
    width: 160px;
    height: 40px;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    font-size: medium;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.products button:hover{
    background-color: #3e6ae1;
    color: white;
}
.products h2{
    margin: 0;
    font-size: 50px;
}
.products p{
    color: white;
    font-size: 20px;
}
footer{
    display: flex;
    flex-direction: column;
    margin:20px 100px;  
    align-items: center;
    justify-content: space-evenly;      
}
footer p{
    color: rgb(110, 108, 108);
    font-size: 10px;
}
footer .learn{
    text-decoration: underline;
}
footer .learn:hover{
    font-size: 11px;
    color: black;
    transition: ease-in-out 0.5s;
}
footer ul{
    display: flex;
    list-style: none;
    padding: 0;
    gap: 20px;
    font-size: small;
    font-weight: 500;
}
footer a{
    color: rgb(110, 108, 108);
    text-decoration: none;
    gap: 15px;
}
    footer a:hover{
        text-decoration: underline;
        color: black;
    }
