@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}
#myBtn {
  display: none;
  position: fixed;
  bottom: 2vw;
  right: 3vw;
  z-index: 99;
  font-size: 1.5vw;
  border: none;
  outline: none;
  background-color: #494949;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
}

#myBtn:hover {
  background-color: #e42f36;
}
.logo-desktop {
  width: 17vw;
}
.main nav .lambang {
  display: none;
}
.main {
  background-color: #e42f36;
  color: #fdfdfd;
}
.collapse .navbar-nav .nav-item {
  margin-left: 2em;
  color: #fdfdfd;
}
.navbar-light .navbar-nav .nav-link {
  color: #fdfdfd;
  font-size: 1.4vw;
}
.navbar {
  padding: 2vw 4.9vw;
}
.active {
  font-weight: bold;
}
.initial-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2em;
  margin-top: 4em;
}
.text-awal {
  font-family: "Montserrat", sans-serif;
  font-size: 3vw;
  margin: 0;
  font-weight: 600;
  line-height: 1.5;
}
.initial-view .btn {
  padding: 1.1vw;
  width: 15vw;
  border-radius: 20px;
  font-size: 1.3vw;
  margin-right: 1.5em;
}
.button-home {
  margin-top: 3em;
}
.foto-mobil {
  width: 60vw;
  margin: 3em 0;
}

/* ========== Icon Fitur ============= */
.icon {
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  align-items: center;
  text-align: center;
  margin: 4em 0 3em 0;
}
.icon div i {
  color: #e42f36;
  font-size: 2vw;
}
.icon div p {
  font-weight: 500;
  margin-top: 0.5em;
  text-align: center;
  font-size: 1vw;
  text-transform: uppercase;
}
/*=================== Catalog Mobil================ */
.title-icon {
  font-size: 1em;
}
.icon-mobil .fa-car,
.icon-user .fa-user-tie {
  vertical-align: bottom;
}
.icon-mobil {
  border-bottom: 0.5vw solid #e42f36;
  display: inline-block;
  font-size: 1.8vw;
  font-weight: 600;
  padding: 5px;
}
.icon-mobil i {
  margin-right: 10px;
  font-size: 2.8vw;
}
.catalog {
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 8em;
  padding: 0 2vw;
}
.catalog .card {
  width: 20vw;
  border-radius: 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 1.5vw;
  margin-top: 3em;
  box-shadow: 0 4.5px 3.6px rgba(0, 0, 0, 0.024), 0 12.5px 10px rgba(0, 0, 0, 0.035), 0 30.1px 24.1px rgba(0, 0, 0, 0.046), 0 100px 80px rgba(0, 0, 0, 0.07);
}
.catalog img {
  width: 16vw;
  margin-top: 1.5em;
}
.catalog .nama-mobil {
  font-size: 1vw;
  font-weight: 700;
  font-style: italic;
  margin-top: 0.8em;
  text-align: center;
}
.catalog .btn {
  font-size: 1vw;
  width: 15vw;
  margin: 1.5em 0;
  border-radius: 15px;
}
.catalog .harga {
  font-size: 0.8vw;
  margin-top: 1em;
  line-height: 0.5em;
}
.catalog .price {
  font-size: 1.2vw;
}

/* ======== Profile =========== */
.profile {
  background-color: #494949;
  padding: 10vw 8vw;
}

.photo-profile {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  overflow-x: hidden;
  text-align: center;
}
.icon-absolute {
  position: absolute;
  margin-top: 0.6em;
}
.icon-user {
  color: #fdfdfd;
  border-bottom: 0.5vw solid #e42f36;
  display: inline-block;
  font-size: 1.8vw;
  font-weight: 600;
  padding: 5px;
}
.icon-user i {
  margin-right: 10px;
  font-size: 2.8vw;
}
.profile img {
  width: 20vw;
}
.photo-profile h2,
.photo-profile p {
  color: #fdfdfd;
}
.photo-profile h2 {
  font-size: 3vw;
  font-weight: 600;
  margin-top: 1.5em;
}
.photo-profile p {
  font-size: 2vw;
}
.photo-profile .btn {
  padding: 10px;
  width: 40vw;
  border-radius: 10px;
  margin-top: 1em;
  font-size: 2vw;
}
.button-profile {
  display: flex;
  flex-direction: column;
}
.ri-phone-fill,
.ri-whatsapp-fill,
.ri-mail-fill {
  margin-right: 10px;
}

/*=================== Table Pricelist============ */
.table-pricelist {
  background-color: #fefefe;
  margin-bottom: 4vw;
}
.table-price .card {
  width: 35vw;
  border-radius: 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 1vw;
  margin-bottom: 10vw;
  box-shadow: 0 5.9px 10px rgba(0, 0, 0, 0.015), 0 47px 80px rgba(0, 0, 0, 0.03);
}
.table-price img {
  width: 30vw;
  margin-top: 1.5em;
}
.table-price .nama-mobil {
  font-size: 2vw;
  font-weight: 700;
  font-style: italic;
  margin-top: 0.8em;
  text-align: center;
}
.table-price .btn {
  font-size: 1.8vw;
  width: 26vw;
  margin: 1.5em 0;
  border-radius: 15px;
}
.table-price .harga {
  font-size: 1.5vw;
  margin-top: 1em;
  line-height: 0.5em;
}
.table-price .price {
  font-size: 2vw;
}
.tabel .table {
  width: 40vw;
  font-size: 1.5vw;
}
.card-tabel {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 2vw;
}
.title-price {
  margin-top: 4vw;
  margin-left: 12.5vw;
}

/* =========Footer========= */
.footer {
  background-color: #e42f36;
  color: #fdfdfd;
  padding: 4vw;
}
.footer h3 {
  font-size: 1vw;
  margin-top: 5em;
}
.footer ul {
  font-size: 1vw;
  margin-left: 1.5em;
  line-height: 2;
}
.footer img {
  width: 20vw;
}
.footer .d-flex {
  margin-top: 2em;
}
.footer .d-flex a {
  font-size: 2vw;
  margin-right: 0.5em;
  color: #fdfdfd;
}
.footer .slogan,
.footer .nama-kantor,
.footer .develop {
  font-size: 1vw;
}
.footer .slogan {
  margin-top: 2em;
}
.carousel .carousel-inner .carousel-item img {
  max-width: 100%;
  height: auto;
}

/* ========== PriceList================ */
.main-pricelist {
  background-color: #e42f36;
  color: #fdfdfd;
  overflow-x: hidden;
}
.initial-view-row {
  display: flex;
  flex-direction: row;
  margin: 3vw 0 3vw 0;
}
.initial-view-row .text-awal-pricelist {
  font-family: "Montserrat", sans-serif;
  margin-top: 1em;
  font-weight: 600;
  font-size: 6vw;
  letter-spacing: 1px;
}
.initial-view-row .text-cover {
  margin: 0 6vw 0 6vw;
}
.initial-view-row .text-cover p {
  font-size: 3vw;
  margin-bottom: 0;
  white-space: nowrap;
}
.foto-mobil-pricelist {
  width: 50vw;
}
.tabel .table tbody tr .harga-berubah {
  font-weight: 300;
  font-size: 1vw;
  font-style: italic;
}

/* =================== Detail Mobil ============================ */
.foto-mobil-detail {
  width: 43vw;
  margin-top: -2vw;
  margin-left: 8vw;
}
.initial-view-row .text-awal-detail {
  font-family: "Montserrat", sans-serif;
  margin-top: 1em;
  font-weight: 600;
  font-size: 6vw;
  letter-spacing: 1px;
}
.preview-mobil {
  width: 87.5vw;
  margin-top: 7vw;
}
.preview-mobil .preview-slide {
  margin: 2vw 0 6vw 12.5vw;
  border: 15px solid #6b6b6b;
}
.video-section {
  display: flex;
  justify-content: center;
  /* margin-bottom: 2vw; */
}
.link-video {
  display: flex;
  justify-content: center;
  clear: both;
  width: 75%;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.link-video iframe {
  border: 15px solid #6b6b6b;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80%;
}
.title-price .icon-mobil .fa-video {
  vertical-align: bottom;
}
iframe {
  margin: 2vw 0 0 0;
}
.table-detail {
  margin-top: -7vw;
}

/* About Us */
.testi {
  width: 80vw;
  margin: 3vw 0 3vw 0;
  border: 15px solid #6b6b6b;
}
.about-us {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 5vw 10vw;
  color: #2e2e2e;
  font-weight: 400;
}
.about-us div {
  text-align: justify;
}
.about-us h2 {
  font-size: 3vw;
  text-align: left;
}
.about-us p {
  font-size: 1.3vw;
}
.about-us ul {
  font-size: 1.35vw;
  margin-left: 10vw;
}
.foto-mobil-about {
  width: 90vw;
  margin: 0 -60vw 0 0;
}
.initial-view-row-about .text-cover p {
  white-space: normal;
}
.initial-view-row-about .text-cover {
  margin: 0 0 0 6vw;
}

@media (max-width: 991px) {
  .navbar-light .navbar-nav .nav-link:hover {
    background: #313131;
    color: #fdfdfd;
  }
  .collapse {
    border-bottom: 0.3vw solid #2d2d2d;
    padding-bottom: 1rem;
    transition: 0.5s ease;
  }
  .collapse .navbar-nav .nav-item {
    margin-left: 0;
  }
  .main .fa-bars {
    color: white;
  }
}

/* ====================================== Mobile ====================== */
@media (max-width: 429px) {
  .navbar {
    padding: 0.5rem 1rem;
  }
  .logo {
    display: none;
  }
  .main .fa-bars {
    color: white;
    font-size: 7vw;
  }
  .main nav .lambang {
    display: inline-block;
  }
  .logo-mobile {
    width: 15.4vw;
  }
  .main {
    background-color: #e42f36;
    color: #fdfdfd;
    overflow-x: hidden;
  }
  .logo {
    width: 140px;
    height: 35px;
  }
  .collapse .navbar-nav .nav-item {
    margin-left: 0;
  }
  .navbar-light .navbar-nav .nav-link {
    color: #fdfdfd;
    font-size: 3.9vw;
  }
  .navbar-light .navbar-nav .nav-link:hover {
    background: #313131;
    color: #fdfdfd;
  }
  .collapse {
    border-bottom: 3px solid #2d2d2d;
    padding-bottom: 1rem;
    transition: 0.5s ease;
  }
  .nav-item {
    margin-top: 7px;
  }

  /* Tampilan Mobil */
  .initial-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin-top: 0;
  }
  .text-awal {
    font-family: "Montserrat", sans-serif;
    font-size: 6vw;
    margin: 3em 1.5em 1.5em 1.5em;
    line-height: 1.5;
  }
  .button-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
  }
  .initial-view .btn {
    padding: 15px;
    width: 60vw;
    text-align: center;
    border-radius: 20px;
    font-size: 3.9vw;
    margin: 1em 0 0.5em 0;
  }
  .foto-mobil {
    width: 114vw;
    margin: 3em 0 2.5em -85vw;
  }

  /* -------------Icon--------- */
  .icon {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 2.5em 0 1em 0;
  }
  .icon div {
    margin-bottom: 1em;
  }
  .icon div i {
    margin-top: 1em;
    color: #e42f36;
    font-size: 8vw;
  }
  .icon div p {
    font-weight: 500;
    margin-top: 0.5em;
    text-align: center;
    font-size: 4vw;
    text-transform: uppercase;
  }

  /* ============ Catalog Mobil================= */

  .title-icon {
    font-size: 1em;
  }
  .icon-mobil .fa-car,
  .icon-user .fa-user-tie {
    vertical-align: bottom;
  }

  .icon-mobil {
    border-bottom: 4px solid #e42f36;
    display: inline-block;
    font-size: 4vw;
    font-weight: 600;
    padding: 5px;
  }
  .icon-mobil i {
    margin-right: 10px;
    font-size: 7vw;
  }
  .catalog {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8em;
  }
  .catalog .card {
    width: 80vw;
    border-radius: 10px;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    margin-top: 3em;
    box-shadow: 0 4.5px 3.6px rgba(0, 0, 0, 0.024), 0 12.5px 10px rgba(0, 0, 0, 0.035), 0 30.1px 24.1px rgba(0, 0, 0, 0.046), 0 100px 80px rgba(0, 0, 0, 0.07);
  }
  .catalog img {
    width: 70vw;
    margin-top: 1.5em;
  }
  .catalog .nama-mobil {
    font-size: 4.5vw;
    font-weight: 700;
    font-style: italic;
    margin-top: 0.8em;
    text-align: center;
  }
  .catalog .btn {
    font-size: 4.6vw;
    width: 60vw;
    margin: 1.5em 0;
    border-radius: 15px;
  }
  .catalog .harga {
    font-size: 3.2vw;
    margin-top: 1em;
    line-height: 0.5em;
  }
  .catalog .price {
    font-size: 4.5vw;
  }
  /*=================Profile=================  */
  .profile {
    background-color: #494949;
    padding: 5em 0;
  }

  .photo-profile {
    display: flex;
    align-items: center;
    flex-direction: column;
    overflow-x: hidden;
    text-align: center;
  }
  .icon-absolute {
    position: absolute;
    margin-top: 0.6em;
  }
  .icon-user {
    color: #fdfdfd;
    border-bottom: 4px solid #e42f36;
    display: inline-block;
    font-size: 4vw;
    font-weight: 600;
    padding: 5px;
  }
  .icon-user i {
    margin-right: 10px;
    font-size: 7vw;
  }
  .profile img {
    width: 36vw;
  }
  .photo-profile h2,
  .photo-profile p {
    color: #fdfdfd;
  }
  .photo-profile h2 {
    font-size: 4.9vw;
    font-weight: 700;
    margin-top: 1.5em;
  }
  .photo-profile p {
    font-size: 3.4vw;
  }
  .photo-profile .btn {
    padding: 10px;
    width: 80vw;
    border-radius: 10px;
    margin-top: 1em;
    font-size: 3.9vw;
  }
  .ri-phone-fill,
  .ri-whatsapp-fill,
  .ri-mail-fill {
    margin-right: 10px;
  }
  /*====================== Footer============== */

  .footer {
    background-color: #e42f36;
    color: #fdfdfd;
    padding: 3em 1em;
  }
  .footer h3 {
    font-size: 4vw;
    margin-top: 2em;
  }
  .footer ul {
    font-size: 3vw;
    margin-left: 1.5em;
    line-height: 2;
  }
  .footer img {
    width: 50vw;
  }
  .footer .d-flex {
    margin-top: 2em;
  }
  .footer .d-flex a {
    font-size: 5vw;
    margin-right: 0.5em;
    color: #fdfdfd;
  }
  .footer .slogan,
  .footer .nama-kantor,
  .footer .develop {
    font-size: 3vw;
  }
  .footer .slogan {
    margin-top: 2em;
  }
  .footer .nama-kantor {
    font-size: 3vw;
  }

  /* =======================Pricelist=============== */
  .initial-view-row {
    display: inline-block;
    margin: 0;
  }
  .initial-view-row .text-awal-pricelist {
    font-family: "Montserrat", sans-serif;
    margin-top: 1em;
    font-weight: 600;
    font-size: 14vw;
    letter-spacing: 1px;
  }
  .initial-view-row .text-cover p {
    font-size: 3.5vw;
    margin-bottom: 0;
  }
  .foto-mobil-pricelist {
    width: 90vw;
    margin: 5vw 0 5vw -40vw;
  }
  .initial-view-row .text-cover {
    padding: 0 3vw;
    margin: 0 0 5vw 0;
  }

  /*=================== Table Pricelist============ */
  .table-pricelist {
    background-color: #fefefe;
    /* margin: 0; */
  }
  .table-price .card {
    width: 80vw;
    border-radius: 10px;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 1vw;
    margin-top: 3em;
    box-shadow: 0 5.9px 10px rgba(0, 0, 0, 0.015), 0 47px 80px rgba(0, 0, 0, 0.03);
  }
  .table-price img {
    width: 70vw;
    margin-top: 1.5em;
  }
  .table-price .nama-mobil {
    font-size: 4.5vw;
    font-weight: 700;
    font-style: italic;
    margin-top: 0.8em;
    text-align: center;
  }
  .tabel .table tbody tr .harga-berubah {
    font-weight: 300;
    font-size: 2vw;
    font-style: italic;
  }
  .table-price .btn {
    font-size: 4.6vw;
    width: 60vw;
    margin: 1.5em 0;
    border-radius: 15px;
  }
  .table-price .harga {
    font-size: 3.2vw;
    margin-top: 1em;
    line-height: 0.5em;
  }
  .table-price .price {
    font-size: 4.5vw;
  }

  .card-tabel {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .tabel .table {
    width: 80vw;
    font-size: 4vw;
  }
  /* .table tbody tr td {
    white-space: nowrap;
  } */
  .tabel {
    margin-top: 6vw;
  }
  .title-price {
    margin: 0 10vw 0 12.5vw;
  }
  .title-price .icon-mobil {
    border-bottom: 1vw solid #e42f36;
    font-size: 4vw;
    font-weight: 600;
    margin: 10vw 0 -2vw 0;
  }
  .table-detail .tabel {
    margin: 1vw 0 5vw 0;
  }

  /*================== Detail Mobil ========================*/
  .foto-mobil-detail {
    width: 80vw;
    margin: 0 0 5vw -28vw;
  }
  .initial-view-row .text-awal-detail {
    font-family: "Montserrat", sans-serif;
    margin-top: 14vw;
    font-weight: 600;
    font-size: 12vw;
    letter-spacing: 1px;
  }
  .preview-mobil .title-price .icon-mobil {
    margin: 2vw 0 9.5vw 0;
  }
  .preview-mobil {
    margin-bottom: 4vw;
  }
  .video-mobil .title-price .icon-mobil {
    margin: 3vw 0 10vw 0;
  }

  /* About Us */
  .initial-view-row-about .text-awal-about,
  .initial-view-row-about p {
    text-align: center;
  }
  .foto-mobil-about {
    width: 90vw;
    margin: 0 0 5vw 6vw;
  }
  .testi {
    width: 80vw;
    margin: 5vw 0 5vw 0;
  }
  .about-us {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10vw 10vw;
  }
  .about-us div {
    text-align: justify;
  }
  .about-us h2 {
    font-size: 5vw;
    text-align: left;
  }
  .about-us p {
    font-size: 4vw;
  }
  .about-us ul {
    font-size: 3.9vw;
    margin-left: 10vw;
  }
  .initial-view-row-about .text-cover p {
    white-space: normal;
  }
}
