
@font-face {
  font-family: gotham-light;
  src: url(/Tesla/assets/fonts/GothamSSm-Light_Web.otf);
}
@font-face {
  font-family: gotham-med;
  src: url(/Tesla/assets/fonts/GothamSSm-Medium_Web.otf);
}
@font-face {
  font-family: gotham-bold;
  src: url(/Tesla/assets/fonts/GothamSSm-Bold_Web.otf);
}
@font-face {
  font-family: gotham-xlight;
  src: url(/Tesla/assets/fonts/GothamSSm-XLight_Web.otf);
}
@font-face {
  font-family: gotham-book;
  src: url(/Tesla/assets/fonts/GothamSSm-Book_Web.otf);
}
body {
  font-family: gotham-bold;
  font-weight: 500;
  line-height: 20px;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

/* nav bar */


.main-nav {
    display: flex;
    justify-content: space-around;
    position: relative;
    
}

.main-nav a:hover {    
    transition: all 0.5s linear;
  background-color: #393c41;
  z-index: 1;
}

.logo-nav {
    height: 18px;
    width: 100px;
    color: #fff;
    margin-top: 17px;
    margin-left: 30px;
    
}
.center-nav {
  display: flex;
  align-items: flex-start;
  color: #fff;
  font-size: 14px;
  margin-left: 100px;



}

.right-nav {
    display: flex;
    align-items:flex-end;
    color: #fff;
  font-size: 14px;

}


.right-nav a {
  color: #fff;
  padding: 10px 20px;
}
.center-nav a {
  color: #fff;
  padding: 10px 20px;
}


.right-nav ul {
  display: flex;
}
.center-nav ul {
  display: flex;
}

/* First section */
.areas {
    height: 100vh;

}
.area-1 {
    background-image: url("/Tesla/assets/imgs/M3-Hero-LHD-US-D.jfif");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;

}

.details {
    height: 68vh; 
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.slide-up {
  animation: slide-up 0.9s cubic-bezier(0.65, 0, 0.35, 1) both
}
  
@keyframes slide-up {
  0% {
    transform: translateY(100px) }
  100% {
    transform: translateY(0)}
}




.arrow-down {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;   
}
.updown {
    animation: MoveUpDown 1s linear infinite;
    position: relative;

  }
  
  @keyframes MoveUpDown {
    0%, 100% {
      bottom: 0;
    }
    50% {
      bottom: 5px;
    }
  }





.margin-1 {
    margin-top: -30px;
}



.details p {
    font-size: 28px;
    color: #fff;
    padding: 20px;
    margin: 20px;
}

.details p span {
    font-family: gotham-book;
    font-size: 12px;
    color: rgb(255, 255, 255);
    }

    .btn3 {
        display: flex;
        border: 3px solid #ffffff;
        color: #ffffff;
        font-size:14px;
        padding: 9px 54px;
        border-radius: 5px;
      }

.title-1 {
    margin-top: 60px;
    font-family: gotham-med;
    font-weight: 500;
     font-size: 40px;
    color: #fff;
    text-align: center;
}

.arrow-down img {
    height: 50px;
    width: 50px;
}

/* 2nd section */
.area-2 img {
    height: 100%;
    width: 100%;
    
}
.area-2 {
    background-color: #fff;
    display: flex;
    font-family:gotham-light;
    font-size: 14px;
    font-weight: 400;
    color: #393c41;

}

.area-2 .left-side {
    width: 75%;
}
.area-2 .right-side {
    width: 25%;
    margin-top: 2%;
    padding: 3%;
    letter-spacing: 0.1px;
    
}

.right-side article {
    margin-bottom: 100px;
}
.right-side p::first-line {
font-family: gotham-bold;
    
}
.right-side h2 {
    font-family: gotham-med;
    font-size: 28px;
    font-weight: 500;
}
.right-side span {
    font-family: gotham-light;
    font-size: 16px;
    font-weight: 500;
}

.right-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}
.bottom-btn {
    display: flex;
    align-items: center;
    justify-content:space-between;
}

.bottom-btn span {
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    color: #000000;
}
.btn1 {
    text-decoration: none;
    border: 3px solid #000000;
    color: #000000;
    padding: 2% 15%;
    border-radius: 5px;
  }


.bottom-btn img {
    height: 30px;
    width: 30px;

}

/* area 3 */
/* .area-3 {
    display: flex;
    background-color: #fff;
    font-family:gotham-light;
    font-size: 14px;
    font-weight: 400;
} */

.top-side  {
    height: 70%;
    
    background-image: url("/Tesla/assets/imgs/lhd-range-hero-desktop.jfif");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    
} 

/* .bottom-side {
    height: 30%;
} */
.details2 {
    height: 65vh; 
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
}

.details2 p {
    font-size: 28px;
    color: #fff;
    padding: 20px;
    /* margin-top: 50px; */
}

.details2 p span {
    font-family: gotham-med;
    font-size: 12px;
    color: rgb(255, 255, 255);
    }








/* mobile and tablet */
@media (max-width: 800px) {
    .right-nav,.center-nav,.right-nav ul,.center-nav ul {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      margin: 0px;
    }
    .logo-nav {
        display: none;
    }
  }