:root {
  --primary1: #bf3131;
  --primary2: #ead196;
  --primary3: #be1e2d;
  --primary4: #ffffff;
  --primary5: #f1f1f1;
  --primary6: #7d0a0a;
  --primary7: #ffbd59;
  --primary8: #2200cc;
  --primary9: #4a4a4a;
  --bg: #f1f1f1;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

body {
  font-family: "poppins", sans-serif;
  background-color: #ffffff;
  color: #ead196;
  min-height: 1000px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 7%;
  background-color: #7d0a0a;
  border-bottom: 1px solid #7d0a0a;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.navbar .nb {
  margin-left: 17.3rem;
}

.navbar .nb 
.navbar-nav,
.hubungi {
  display: inline-block;
}

.navbar .nb 
.navbar-nav a,
.hubungi a {
  color: #f1f1f1;
  display: inline-block;
  font-size: 1rem;
  margin: 0 0.8rem;
}

.navbar .nb .navbar-nav a:hover {
  color: var(--primary2);
}

.navbar .nb .navbar-nav a::after {
  content: "";
  display: block;
  padding-bottom: 0.3rem;
  border-bottom: 0.125rem solid var(--primary2);
  transform: scaleX(0);
  transition: 0.2s linear;
}

.navbar .nb .navbar-nav a:hover::after {
  transform: scaleX(0.5);
}

.navbar .nb .hubungi a {
  font-weight: 500;
  padding: 0.6rem 1.5rem;
  border-radius: 25rem;
  border: 2px solid #f1f1f1;
  background: transparent;
  color: #f1f1f1;
  gap: 8px;
  transition: 0.3s ease;
}

.navbar .nb .hubungi a:hover{
  color: #be1e2d;
  background-color: #f1f1f1;
}

.navbar .navbar-extra a {
  color: #f1f1f1;
  margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
  color: var(--primary2);
}

#humburger-menu {
  display: none;
}

/* Product Section*/
.product {
  background-size: cover;
  padding: 5rem 7% 1.4rem;
  border-top: 5.8rem solid #f1f1f1;
}

.product h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary3);
}

.product p {
  text-align: center;
  max-width: 60rem;
  margin: auto;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #4a4a4a;
}

.product .row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 4rem;
  justify-content: center;
}

.product .row .product-card {
  text-align: center;
  padding-bottom: 2.5rem;
  color: #4a4a4a;
}

.product .row .product-card img {
  width: 90%;
}

.product .row .product-card .product-card-title {
  margin: 0.5rem auto;
  margin-bottom: 0rem ;
}

.product .row .product-card .product-card-price {
  margin: 0rem;
  color: #be1e2d;
}

.product .row .product-card .lainnya {
  margin-top: 7rem;
  margin-bottom: 7rem;
  margin-left: 5.8rem;
  margin-right: 5.8rem;
  display: inline-block;
  padding: 0.8rem 2rem;
  color: #be1e2d;
}

.product .row .product-card a:hover {
  color: var(--primary2);
}

.product h2, p {
  opacity: -50;
  animation: slideDown 2s ease-out forwards;
}

@keyframes slideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product .row .product-card {
  opacity: -50;
  transform: translateY(40px);
  animation: fadeUp 2s ease-out forwards;
}

@keyframes fadeUp {
  to {
      opacity: 1;
       transform: translateY(0);
  }
}

/*Footer*/
.footer {
  background-color: #ead196;
  box-sizing: border-box;
  width: 100%;
  text-align: center;
  padding: 50px 50px 60px 50px;
  margin-top: 80px;
}

.footer .footer-left,
.footer .footer-center,
.footer .footer-right {
  display: inline-block;
  vertical-align: top;
  text-align: left;
}

.footer .footer-left {
  margin-right: 3rem;
  margin-top: 1rem;
}

.footer .credit {
  color: #4a4a4a;
  font-size: 11.5px;
  margin: 0;
  padding-top: 1rem;
}

.footer .credit a {
  color: #be1e2d;
  font-weight: 500;
  
}

.footer .footer-center {
  color: #4a4a4a;
  margin-right: 3rem;
}

.footer .footer-center i {
  background-color: #f1f1f1;
  color: #be1e2d;
  font-size: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin: 10px 15px;
  vertical-align: middle;
}

.footer .footer-center .envelope span {
  display: block;
  font-weight: normal;
  line-height: 1.5;
  margin-top: 0.5rem;
}

.footer .footer-center i.fa-envelope {
  font-size: 17px;
  line-height: 38px;
}

.footer .footer-center p {
  display: inline-block;
  color:#4a4a4a;
  vertical-align: middle;
  margin: 0px;
  font-size: 13px;

}

.footer .footer-center .map span {
  display: block;
  font-weight: normal;
  font-size: 12px;
  line-height: 1.5;
}

.footer .footer-center p a {
  color:#4a4a4a;
  text-decoration: none;
}

.footer .footer-center p a:hover {
  color: #be1e2d;
}

.footer .footer-center .phone span {
  display: block;
  font-weight: normal;
  line-height: 1.5;
  margin-top: 0.5rem;
}

.footer .footer-right {
  width: 30%;
}

.footer .footer-about {
  line-height: 20px;
  color:#4a4a4a;
  font-size: 13px;
  font-weight: normal;
  margin: 0px;
}

.footer .footer-about span {
  display: block;
  color: #4a4a4a;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

.footer .footer-media a {
  display: inline-block;
  width: 45px;
  height: 45px;
  cursor: pointer;
  color: #be1e2d;
  background-color: #f1f1f1;
  border-radius: 50%;
  font-size: 17px;
  text-align: center;
  line-height: 45px;
  margin-right: 3px;
  margin-bottom: 5px;
  margin-top: 20px;
}

.footer .footer-media a:hover {
  color: #f1f1f1;
  background-color: #7d0a0a;
}

/*Media Queries*/

/*Laptop*/
@media (max-width: 1336px) {
  html {
    font-size: 75%;
  }
}

@media (max-width: 1045px) {
  .footer {
    position: static;
  }

  .footer .footer-left,
  .footer .footer-center,
  .footer .footer-right {
    display: block;
    width: 100%;
    margin-bottom: 40px;
    text-align: left;
  }

  .footer .footer-center i {
    margin-left: 0px;
  }

}

/*Tablet*/
@media (max-width: 840px) {
  html {
    font-size: 62.5%;
  }

  #humburger-menu {
    display: inline-block;
  }

  .navbar .nb {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: #bf3131;
    width: 28rem;
    height: 100vh;
    transition: 0.3s;
  }

  .navbar .nb.active {
    right: 0;
  }

  .navbar .nb 
  .navbar-nav a,
  .hubungi a {
    color: var(--bg);
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 1.7rem;
  }

  .navbar .nb 
  .navbar-nav,
  .hubungi {
    display: block;
  } 

  .navbar .nb .hubungi a {
    font-weight: 400;
    padding: 0.5rem;
    border-radius: 0;
    border: none;
    background: 0;
    color: none;
    gap: none;
    transition: none;
  }

  .navbar .nb .hubungi a:hover {
    color: #ead196;
    background: 0;
    border: 0;
  }

  .navbar .nb .hubungi a::after {
    content: "";
    display: block;
    padding-bottom: 0.3rem;
    border-bottom: 0.125rem solid var(--primary2);
    transform: scaleX(0);
    transition: 0.2s linear;
    transform-origin: 0 0;
  }

  .navbar .nb .hubungi a:hover::after {
    transform: scaleX(0.5);
  }

  .navbar .nb .navbar-nav a::after {
    transform-origin: 0 0;
  }

  .navbar .nb .navbar-nav a:hover::after {
    transform: scaleX(0.22);
  }

  .product .row .product-card {
    font-size: 1.1rem;
  } 

  .footer .footer-left .logo-footer {
    width: 100%;
  }

}

/*Mobile Phone*/
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }

  .product .row .product-card {
    font-size: 1.1%;
  } 
  
}