:root {
  --primary: #4e4b4b;
  --bg: #010101;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg);
  color: #ffffff;
  /* min-height: 2000px; */
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 5%;
  background-color: #bebebe;
  border-bottom: 5px solid #900f0f;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.navbar .navbar-logo img {
  position: relative;
  height: 65px;
  width: 240px;
}
.navbar .navbar-logo {
  font-size: 20px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.navbar .navbar-logo a {
  padding-bottom: 20px;
}

.navbar .navbar-nav a {
  color: #000000;
  display: inline-block;
  font-size: 1.3rem;
  margin: 0 1rem;
}


.navbar .navbar-nav a:hover{
  color: var(--bg);
}

.navbar .navbar-nav a::after {
  content: "";
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid var(--primary);
  transform: scaleX(0);
  transition: 0.2s linear;
}


.navbar .navbar-nav a:hover::after{
  transform: scaleX(0.5);
}


.navbar .navbar-extra a {
  color: #000000;
  margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
  color: var(--primary);
}

#menu {
  display: none;
}
/* Dropdown Style */
.navbar .dropdown {
  position: relative;
  display: flex;
}

.navbar .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #c2c2c2;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  border-radius: 0.1rem;
  z-index: 999;
}

.navbar .dropdown-menu li {
  list-style: none;

}

.navbar .dropdown-menu li a {
  display: block;
  padding: 1rem 2rem;
  color: #000;
  text-decoration: none;
}

.navbar .dropdown-menu li a:hover {
  background-color: #b1b1b1;
}

/* Show dropdown on hover */
.navbar .dropdown:hover .dropdown-menu {
  display: block;
}



/* hero section */

.hero {
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  mask-image: linear-gradient(rgba(0, 0, 0, 1)90%, rgba(0, 0, 0, 0));
}
.slider {
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  margin: auto;
  position: relative;
  overflow: hidden;
}

.list {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  width: max-content;
  transition: 1s;
}

.list img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

.buttons {
  position: relative;
  top: 45%;
  left: 5%;
  width: 90%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.buttons button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff5;
  color: #000000;
  box-shadow: 1px 1px 1px #000;
  border: none;
  font-family: monospace ;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.buttons button:hover {
  background-color: #c82020;
  color: rgba(255, 255, 255, 0.333);
}

.dots {
  position: absolute;
  bottom: 10px;
  color: #ffffff;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  cursor: pointer;
}

.dots li {
  list-style: none;
  width: 10px;
  height: 10px;
  background-color: #fff;
  margin: 40px;
  border-radius: 20px;
  transition: 1s;
  z-index: 1;
}
.dots li.active {
  width: 30px;
}


.hero-about, .hero-sparepart {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/PT.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  mask-image: linear-gradient(rgba(0, 0, 0, 1)90%, rgba(0, 0, 0, 0));
}
.hero-produk {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/PT.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  mask-image: linear-gradient(rgba(0, 0, 0, 1)90%, rgba(0, 0, 0, 0));
}
.hero-teknologi {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/all\ produk.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  mask-image: linear-gradient(rgba(0, 0, 0, 1)90%, rgba(0, 0, 0, 0));
}

.hero-traktor {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/traktor.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  mask-image: linear-gradient(rgba(0, 0, 0, 1)90%, rgba(0, 0, 0, 0));
}
.hero-alat-berat {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/alatberat.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  mask-image: linear-gradient(rgba(0, 0, 0, 1)90%, rgba(0, 0, 0, 0));
}
.hero-genset {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/genset.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  mask-image: linear-gradient(rgba(0, 0, 0, 1)90%, rgba(0, 0, 0, 0));
}
.hero-forklift {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/forklift.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  mask-image: linear-gradient(rgba(0, 0, 0, 1)90%, rgba(0, 0, 0, 0));
}
.hero-combine-harvester {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/combine-harvester.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  mask-image: linear-gradient(rgba(0, 0, 0, 1)90%, rgba(0, 0, 0, 0));
}
.hero-periodic {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/periodic\ maintenance.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  mask-image: linear-gradient(rgba(0, 0, 0, 1)90%, rgba(0, 0, 0, 0));
}
.hero-recondition {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/recondition.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  mask-image: linear-gradient(rgba(0, 0, 0, 1)90%, rgba(0, 0, 0, 0));
}
.hero-repowering {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/after\ repowering.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  mask-image: linear-gradient(rgba(0, 0, 0, 1)90%, rgba(0, 0, 0, 0));
}
.hero-kelengkapan-instalasi {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/instalasi\ genset2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  mask-image: linear-gradient(rgba(0, 0, 0, 1)90%, rgba(0, 0, 0, 0));
}
.hero-teknologi {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/table\ teknologi.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  mask-image: linear-gradient(rgba(0, 0, 0, 1)90%, rgba(0, 0, 0, 0));
}
.hero-maxam {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/maxam\ cover.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  mask-image: linear-gradient(rgba(0, 0, 0, 1)90%, rgba(0, 0, 0, 0));
}
.hero-construction {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background-image: url("../img/construction.JPG");
  background-repeat: no-repeat;
  background-size: 120rem;
  background-position: center;
  position: relative;
  mask-image: linear-gradient(rgba(0, 0, 0, 1)50%, rgba(0, 0, 0, 0));
}
.hero-off-the-road {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background-image: url("../img/off-the-road.JPG");
  background-repeat: no-repeat;
  background-size: 120rem;
  background-position: center;
  position: relative;
  mask-image: linear-gradient(rgba(0, 0, 0, 1)50%, rgba(0, 0, 0, 0));
}
.hero-industrial {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background-image: url("../img/industrial.JPG");
  background-repeat: no-repeat;
  background-size: 120rem;
  background-position: center;
  position: relative;
  mask-image: linear-gradient(rgba(0, 0, 0, 1)50%, rgba(0, 0, 0, 0));
}
.hero-forestry {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background-image: url("../img/forestry.JPG");
  background-repeat: no-repeat;
  background-size: 120rem;
  background-position: center;
  position: relative;
  mask-image: linear-gradient(rgba(0, 0, 0, 1)50%, rgba(0, 0, 0, 0));
}

.hero-about .konten,.hero-kelengkapan-instalasi .konten, .hero-sparepart .konten,
.hero-traktor .konten, .hero-alat-berat .konten, .hero-teknologi .konten,
.hero-genset .konten, .hero-forklift .konten, .hero-combine-harvester .konten,
.hero-periodic .konten, .hero-recondition .konten, .hero-repowering .konten {
  padding: 1.4rem 7%;
  max-width: 60rem;
  position: fixed;
}
.hero-produk .konten {
  padding: 12rem 10% ;
  max-width: 60rem;
  position: fixed;
}
.hero-produk .konten h1 {
  font-size: 5em;
  color: #c82020;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  line-height: 1.2;
}

.hero-about .konten h1, .hero-sparepart .konten h1, .hero-kelengkapan-instalasi .konten h1,
.hero-traktor .konten h1, .hero-alat-berat .konten h1, .hero-teknologi .konten h1,
.hero-genset .konten h1, .hero-forklift .konten h1, .hero-combine-harvester .konten h1,
.hero-periodic .konten h1, .hero-recondition .konten h1, .hero-repowering .konten h1 {
  font-size: 5em;
  color: #c82020;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  line-height: 1.2;
}

/* menu Part */

.menu-traktor, .menu-produk {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 4rem;
}

.menu-traktor ul, .menu-produk ul {
  border-bottom: 2px solid #4e4b4b;
  padding: 1rem;
}

.menu-traktor ul li {
  display: inline-block;
  font-size: 20px;
  padding: 0.5rem;
}
.menu-produk ul li {
  display: inline-block;
  font-size: 15px;
  padding: 0.5rem;
}

.menu-traktor ul li a {
  display: inline-block;
  color: #000000;
  border-radius: 10px;
  border: solid 1px #c82020;
  background: #c2c2c2;
  padding: 1rem;
  text-transform: uppercase;
  transition: 0.3s;
}
.menu-produk ul li a {
  display: inline-block;
  color: #000000;
  border-radius: 5px;
  border: solid 1px #c82020;
  background: #c2c2c2;
  padding: 1rem;
  text-transform: uppercase;
  transition: 0.3s;
}

.menu-traktor ul li a:hover, .menu-produk ul li a:hover {
  color: #ffffff;
  background: #c82020;
  border: solid 1px #c2c2c2;
}

.menu-traktor ul li a::after {
  content: "";
  display: block;
  transition:inherit;
}


/* About Section page home*/

.about {
  padding: 5rem 7% 1.4rem;
}

.about h2 {
  text-align: left;
  font-size: 2.6rem;
  margin-bottom: 3rem;
}

.about h2 span {
  color: var(--primary);
}
.about .konten span {
  color: #c82020;
}

.about .konten {
  display: flex;
  flex: 1 1 35rem;
  padding: 0 1rem;
}

.about .konten p {
  text-align: justify;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  font-weight: 100;
  line-height: 1.6;
}

.about .konten p a {
  color: rgb(14, 167, 206);
}

.about .konten a:hover {
    color: #c82020;
}

/* PRODUK */
.menu h2 


.produk {
  padding: 8rem 7% 1.4rem;
  margin-bottom: 1rem;
}

.produk h2, .menu h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 3rem;
}

.produk p, .menu p{
  text-align: center;
  max-width: 30rem;
  margin: auto;
  font-weight: 100;
  line-height: 1.6;
}

.produk .rows {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5rem;
  justify-content: center;
}

.produk .rows .produk-card {
  text-align: center;
  padding-bottom: 4rem;
}

.produk .rows .produk-card img {
  background-color: #666666;
  border-radius: 2%;
  width: 50%;
}

.produk .rows .produk-card .produk-tittle {
  margin: 1.5rem auto 0.5rem;
}

.produk .product {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}

.product .product-card {
  text-align: center;
  border: 1px solid #666;
  padding: 2rem;
}

.product .product-icon {
  display: flex;
  justify-content: center;
}

.product .product-icon a {
  width: 4rem;
  height: 4rem;
  color: #fff;
  border: 1px solid #666;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product .product-icon a:hover {
  background-color: #c82020;
  border: 1px solid #c82020;
}

.product .product-image {
  padding: 1rem 0;
}

.product .product-image img {
  height: 25rem;
}

.product .product-content h3 {
  font-size: 2rem;
}

.product .product-maxam {
  text-align: center;
  border: 1px solid #666;
  padding: 1rem;
}
.product .product-tires img {
  height: 80rem;
  display: flex;
}

/* section MENU SPAREPART & SERVICE*/
.menu, .menu-maxam {
  position: relative;
}

.menu .row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5rem;
  justify-content: center;
  gap: 20px;
}

.menu .row .menu-list h3 {
  font-weight: 900;
  font-size: 1.5rem;
  text-align: center;
  text-transform: uppercase;
}

.menu .row .menu-list {
  height: 372px;
  width: 203px;
  flex-shrink: 0;
  position: relative;
  display: block;
  border-radius: 5px;
  overflow: hidden;
}

.menu .row .menu-list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu .row .menu-list:hover img {
  transform: scale(1.1);
  opacity: 0.7;
}

.menu-tittle {
  width: 100%;
  height: 20%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  color: rgb(255, 255, 255);
  z-index: 1;
  text-transform: uppercase;
  font-weight: bold;
}
.menu .row .menu-list:hover .menu-tittle {
  background: rgba(0, 0, 0, 0.5);
  transition: background 0.3s ease;
  border-radius: 5px;
}

.menu .row .menu-list h3 {
  font-weight: 900;
  font-size: 1.5rem;
  text-align: center;
  text-transform: uppercase;
}
/* SECTION MAXAM */
.menu-maxam .row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10rem;
  justify-content: center;
  gap: 20px;
}

.menu-maxam .row .menu-ban {
  height: 150px;
  width: 850px;
  flex-shrink: 0;
  position: relative;
  display: block;
  border-radius: 5px;
  overflow: hidden;
  
}
.menu-maxam .row .menu-ban img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 1px solid #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-maxam .row .menu-ban:hover img {
  transform: scale(1.1);
  opacity: 0.7;
}
.menu-ban .menu-tittle{
  width: 100%;
  height: 20%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  color: rgb(255, 255, 255);
  z-index: 1;
  text-transform: uppercase;
  font-weight: bold;
}
.menu-maxam .row .menu-ban:hover .menu-tittle {
  background: rgba(0, 0, 0, 0.5);
  transition: background 0.3s ease;
  border-radius: 5px;
}
.menu-maxam .row .menu-ban h3 {
  font-weight: 900;
  font-size: 1.5rem;
  text-align: center;
  text-transform: uppercase;
}
/* --------------------------------------- */


.traktor {
  padding: 1rem 10% 1rem;
}


.traktor h2 {
  text-align: left;
  padding-top: 2rem;
  font-size: 2.6rem;
  margin-bottom: 3rem;
}

.traktor .konten {
  display: flex;
  flex: 1 1 35rem;
  padding: 0 1rem;
}

.traktor .konten p {
  text-align: justify;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  font-weight: 100;
  line-height: 1.6;
}
.brand, .image {
  
  justify-content: center;
  align-items: center;
  text-align: center;
}


.traktor .brand h2 {
  text-align: center;
}

.traktor .brand img {
  width: 40%;
}
.traktor .image img {
  width: 60%;
}


/* about untuk page tentang kami */

.about2 {
  padding: 1rem 10% 1rem;
}

.about2 h2 {
  text-align: left;
  font-size: 2.6rem;
  margin-bottom: 3rem;
  border-bottom: 3px #c82020;
}

.about2 h2 span {
  color: var(--primary);
}
.about2 .konten span {
  color: #c82020;
}

.about2 .konten {
  display: flex;
  flex: 1 1 35rem;
  padding: 0 1rem;
}

.about2 .konten p {
  font-size: 1.4rem;
  text-align: justify;
  margin-bottom: 0.8rem;
  font-weight: 100;
  line-height: 1.6;
}

.about2  .visi p {
    font-size: 1.4rem;
    text-align: justify;
    margin-bottom: 0.8rem;
    font-weight: 100;
    line-height: 1.6;
  }

  .about2  .misi p {
    
    font-size: 1.4rem;
    text-align: justify;
    margin-bottom: 0.8rem;
    font-weight: 100;
    line-height: 1.6;
  }

.about2 .tagline {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about2 .tagline img {
  max-width: 100%;
  max-height: 100%;
}

.about2 .tagline h2 span {
    color: #c82020;
}

.about2 .tagline .tag {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 100;
    line-height: 1.6;
}

.about2 .tagline p {
    color: #c82020;
}

/* Galery */
.galery {
  margin: 50px 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 25px;
  position: relative;
}
.galery .galery-list h2 {
  font-family:monospace ;
  font-size: 17px;
  margin-bottom: 5px;
}
.galery img {
  width: 100%;
  height: 288px;
  object-fit: cover;
  border: 1px #fff;
  box-shadow: 1px 1px 1px #ddd;
  box-sizing: border-box;
}



/* kontak */
.info {
  position: relative;
  width: 100%;
}

.info h2 {
  width: 250px;
  text-transform: uppercase;
  text-align: center;
  justify-content: center;
  margin: 0 auto;
  border-radius: 10px;
  color: #ffffff;
  border: solid 1px #c2c2c2;
  background: #c82020;
  padding: 10px;
  box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5); 
}

.info p {
  text-align: center;
  padding-top: 5px;
  font-size: 20px;

}

.kontak {
  position: relative;
  top: 45%;
  left: 10%;
  width: 80%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 5rem;
}

.kontak .media {
  font-size: 2rem;
}

.kontak .media h2 {
  margin-bottom: 1rem;
  text-align: center;
}
.kontak .media .email{
  margin-top: 5rem;
}

.kontak .media .sosial {
  padding: 1rem 0;
}

.kontak .media .sosial a { 
  color: #ffffff;
  margin: 1rem;
}

.kontak .media .sosial a:hover {
  color: #c82020;
}

/* floating button */
.btn-floating {
  bottom: 25px;
  background-color: #34af23;
  border: 2px solid #fff;
  position: fixed;
  right: 30px;
  overflow: hidden;
  width: 60px;
  height: 60px;
  border-radius: 120px;
  z-index: 999;
  transition: 0.3s;
}
.btn-floating i {
  font-size: 35px;
  color: #fff;
}
.btn-floating:hover {
  background-color: #1f7a12;
  cursor: pointer;
}

/* Footer */

footer {
    background-color: #c82020;
    text-align: center;
    padding: 1rem 0 2rem;
    margin-top: 3rem;
}

footer .sosial {
    padding: 1rem 0;
}

footer .sosial a { 
    color: #ffffff;
    margin: 1rem;
}

footer .sosial a:hover, footer .links a:hover {
    color: var(--bg);
}

footer .links {
    margin-bottom: 1.4rem;
}

footer .links a {
    color: #ffffff;
    padding: 0.7rem 1rem;
}

footer .credit {
    font-size: 0.8rem;
}

/* Produk Box */
/* Item Detail */
.box {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

.detail-container {
  position: relative;
  color: var(--bg);
  margin: 15% auto;
  padding: 1.2rem;
  width: auto;
  height: auto;
  animation: animateBox 0.5s;
}
.detail-container-traktor {
  position: relative;
  color: var(--bg);
  margin: 15% auto;
  padding: 1.2rem;
  width: auto;
  height: auto;
  animation: animateBox 0.5s;
}

/* Box Animation */
@keyframes animateBox {
  from {
    top:  -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

.detail-container .close-icon-dumper, .detail-container .close-icon-traktor {
  position: absolute;
  right: 0;
  color: #fff;
  border: 0.5px solid #fff;
}
.detail-container .close-icon-dumper:hover,
.detail-container .close-icon-traktor:hover {
color: #c82020;
}

.detail-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.detail-content img {
  height: 90%;
  max-width: 100%;
  object-fit: cover;
}



/* Media Queries */

/* laptop */
@media (max-width: 1566px) {
  html {
    font-size: 75%;
  }

}

/* tablet */
@media (max-width: 768px) {
  .slider {
    height: 900px;
  }
  
  html {
    font-size: 62.5%;
  }

  #menu {
    display: inline-block;
  }

  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: #c2c2c2;
    width: 30rem;
    height: 100vh;
    transition: 0.3s;
  }

  .navbar .navbar-nav.active {
    right: 0;
  }

  .navbar .navbar-nav a {
    color: #010101;
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }

  .navbar .navbar-nav a::after {
    transform-origin: 0 0;
  }
  .navbar .navbar-nav a:hover::after {
    transform: scaleX(0.3);
  }

  .about .konten p{
    font-size: 1.6rem;
  }

  .menu .row .menu-list {
    height: 185px;
    width: 102px;
    flex-shrink: 0;
    position: relative;
  }
  .menu .row .menu-list h3 {
    font-weight: 750;
    font-size: 1rem;
    text-align: center;
    text-transform: uppercase;
  }

  .galery {
    grid-template-columns: 1fr 1fr;
  }
  .galery img {
    height: 170px;
  }

  .kontak {
    position: relative;
    justify-content: center;
    margin-top: 5rem;
  }
  .kontak .media .sosmed {
    margin-top: 5rem;
  }

  .detail-content {
    flex-direction: column;
    align-items: center;
  }

  .detail-container {
    width: auto;
  }

  .detail-content img {
    width: 70%;
  }
  .menu-maxam .row {
    flex-direction: column;
    align-items: center; 
  }

  .menu-maxam .row .menu-ban {
    width: 100%; 
    height: 200px; 
  }

  .menu-maxam .row .menu-ban h3 {
    font-size: 1.2rem; 
  }
  .hero {
    min-width: 100%;
    min-height: 80vh;
    mask-image: linear-gradient(rgba(0, 0, 0, 1)70%, rgba(0, 0, 0, 0));
  }
  .hero-about, .hero-sparepart, .hero-produk,
  .hero-teknologi, .hero-traktor, .hero-alat-berat,
  .hero-genset, .hero-forklift, .hero-combine-harvester,
  .hero-periodic, .hero-recondition, .hero-repowering,
  .hero-kelengkapan-instalasi, .hero-teknologi, .hero-maxam, .hero-teknologi {
    min-height: 80vh;
    mask-image: linear-gradient(rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
  
  }
    .hero-maxam, .hero-off-the-road, .hero-industrial, .hero-construction, .hero-forestry {
  min-height: 80vh;
  background-size: 80rem;
  mask-image: linear-gradient(rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0));
}

  .hero-about .konten h1, .hero-sparepart .konten h1, .hero-kelengkapan-instalasi .konten h1,
  .hero-traktor .konten h1, .hero-alat-berat .konten h1, .hero-teknologi .konten h1,
  .hero-genset .konten h1, .hero-forklift .konten h1, .hero-combine-harvester .konten h1,
  .hero-periodic .konten h1, .hero-recondition .konten h1, .hero-repowering .konten h1 {
    font-size: 2em;
    line-height: 1.1;
  }
  .btn-floating {
    width: 50px;
    height: 50px;
    right: 20px;
    bottom: 20px;
  }

  .btn-floating i {
    font-size: 30px; /* Mengurangi ukuran ikon untuk layar lebih kecil */
  }

  .product .product-tires img {
  height: 40rem;
  justify-content: center;
}
}
  


/* HandPhone */
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
  .slider {
    height: 40vh;
  }

  .list img {
    width: 100vw;
    height: 40vh;
    justify-content: center;
  }
  .navbar .navbar-logo img {
    position: relative;
    height: 45px;
    width: 150px;
  }

  .detail-container {
    width: 85%;
  }

  .detail-content img {
    width: 85%;
  }
  .menu-maxam .row .menu-ban {
    height: 125px; 
  }

  .hero {
    min-width: 100%;
    min-height: 80vh;
    mask-image: linear-gradient(rgb(0, 0, 0)70%, rgba(0, 0, 0, 0));
  }
  .hero-about, .hero-sparepart, .hero-produk,
  .hero-teknologi, .hero-traktor, .hero-alat-berat,
  .hero-genset, .hero-forklift, .hero-combine-harvester,
  .hero-periodic, .hero-recondition, .hero-repowering,
  .hero-kelengkapan-instalasi, .hero-teknologi {
    min-height: 55vh;
    background-size: 60rem;
    mask-image: linear-gradient(rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0));
  }

  .hero-maxam, .hero-off-the-road, .hero-industrial, .hero-construction, .hero-forestry {
  min-height: 65vh;
  background-size: contain;
  mask-image: linear-gradient(rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
}
  .konten, .hero-about .konten,.hero-kelengkapan-instalasi .konten, .hero-sparepart .konten,
  .hero-traktor .konten, .hero-alat-berat .konten, .hero-teknologi .konten,
  .hero-genset .konten, .hero-forklift .konten, .hero-combine-harvester .konten,
  .hero-periodic .konten, .hero-recondition .konten, .hero-repowering .konten, .hero-produk .konten {
    padding: 0.8rem 3%;
    max-width: 100%;
  }

 .hero-about .konten h1, .hero-sparepart .konten h1, .hero-kelengkapan-instalasi .konten h1,
.hero-traktor .konten h1, .hero-alat-berat .konten h1, .hero-teknologi .konten h1,
.hero-genset .konten h1, .hero-forklift .konten h1, .hero-combine-harvester .konten h1,
.hero-periodic .konten h1, .hero-recondition .konten h1, .hero-repowering .konten h1, .hero-produk .konten h1 {
    font-size: 2em;
    line-height: 1.1; 
  }
  .btn-floating {
    width: 45px; 
    height: 45px;
    right: 15px;
    bottom: 15px;
  }

  .btn-floating i {
    font-size: 25px; /* Mengurangi ukuran ikon lebih lanjut untuk ponsel */
  }
  
}