: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: var(--bg);
  color: #ead196;
  min-height: 3000px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 7%;
  background-color: #7d0a0a;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.navbar .navbar-logo {
  font-size: 2rem;
  font-weight: 700;
  color: #be1e2d;
}

.navbar .navbar-logo span {
  color: var(--primary3);
}

.navbar .nb .hubungi a {
  font-weight: 450;
  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;
  border: 2px solid #f1f1f1;
}

.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: #ead196;
}

.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 .navbar-extra a {
  color: #f1f1f1;
  margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
  color: var(--primary2);
}

#humburger-menu {
  display: none;
}

/*Hero Section*/
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/Beige minimalist photo collage7 (1).jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 20%;
  bottom: 0;
  background: linear-gradient(0deg,
    rgb(241, 241, 241) 20%,
    rgb(238, 238, 238, 0) 100%
  );
}

.hero .content {
  padding: 1.4rem 7%;
  max-width: 60rem;
}

.hero .content h1 {
  font-size: 2.7em;
  color: #f1f1f1;
  /*text-shadow: 1px 1px 3px rgba(1,1,3, 0.5);*/
  line-height: 1.3;
}

.hero .content h1 span {
  color: var(--bg);
}

.hero .content p {
  font-size: 1.1rem;
  margin-top: 0.4rem;
  color: #f1f1f1;
  /*text-shadow: 1px 1px 3px rgba(1,1,3, 0.5);*/
  line-height: 2rem;
  font-weight: 500;
}

.hero .content .cta {
  margin-top: 1.5rem;
  display: inline-block;
  padding: 0.7rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 25rem;
  border: 2px solid #f1f1f1;
  background: transparent;
  color: #f1f1f1;
  gap: 8px;
  transition: 0.3s ease;
}

.hero .content a:hover {
  color: #be1e2d;
  background-color: #f1f1f1;
  border: 2px solid #f1f1f1;
}

/*About Section*/
.aboutus {
  padding: 5rem 7% 2rem;
}

.aboutus h2,
.product h2,
.contact h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 4rem;
}

.aboutus h2 span,
.product h2 span,
.contact h2 span {
  color: var(--primary3);
}

.aboutus .row {
  display: flex;
}

.aboutus .row .aboutus-img {
  flex: 1 1 45rem;
}

.aboutus .row .aboutus-img img {
  width: 95%;
  border-radius: 2rem;
}

.aboutus .row .content {
  flex: 1 1 43rem;
  padding: 0 1rem;
  word-spacing: 0.3rem;
}

.aboutus .row .content p {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: justify;
  color: #4a4a4a;
}

/*Visi & Misi Section*/
.visimisi {
  padding: 4rem 0 1rem 0;
}

.visimisi .row {
  display: flex;
}

.visimisi .row .aboutus-img {
  flex: 1 1 45rem;
}

.visimisi .row .aboutus-img img {
  border-radius: 2rem;
  display: block;
  margin: 0 auto;
  width: 70rem;
  height: auto;
}

.visimisi {
    opacity: 0;
    transform: translateY(40px);
    transition: 2s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/*Line Section*/
.line {
  width: 100%;
  border-top: 1px solid #4a4a4a;
  margin: 0;
}

/* Product Section*/
.product {
  background-color: #ffffff;
  background-size: cover;
  padding: 5rem 7% 1.4rem;
  border-top: 5.8rem solid #f1f1f1;
}

.product h2,
.contact h2 {
  margin-bottom: 1rem;
}

.product p,
.contact 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 {
  cursor: pointer;
  margin-top: 7rem;
  margin-bottom: 7rem;
  margin-left: 5.8rem;
  margin-right: 5.8rem;
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 25rem;
  border: 2.3px solid #4a4a4a;
  background: transparent;
  color: #4a4a4a;
  font-weight: 450;
  gap: 8px;
  transition: 0.3s ease;   
}

.product .row .product-card a:hover {
  background-color: #7d0a0a;
  color: #f1f1f1;
  border: 2.3px solid #7d0a0a;
}

.product .next {
  color: #be1e2d;
}

.product a:hover {
  color: #2200cc;
}

/* Contact Section */
.contact {
  padding: 4.5rem 0 0rem;
}
.contact .row {
  display: flex;
  margin-top: 3rem;
  justify-content: center;
}

.contact h2 {
  margin-bottom: 1.5rem;
}

.contact .row .map {
  height: 25rem;
  width: 60rem;
  border-radius: 1rem;
  box-shadow: 0px 0px 15px rgb(74, 74, 74, 0.5);
}

.contact p span {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.contact a {
  color: #4a4a4a;
}

.contact a:hover {
  color: #be1e2d;
}

/*.contact .row .map {
  flex: 1 1 45rem;
  width: 100%;
  height: 50%;
  object-fit: cover;
}*/

/*Footer Kedua*/
.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;
  transition: 0.3s ease;   
}

.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) {
  .aboutus .row .aboutus-img img {
    height: 24rem;
    object-fit: cover;
    object-position: cover;
  }

  .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;
  }

}

@media (max-width: 1000px) {
  .visimisi .row .aboutus-img img {
    border-radius: 2rem;
    display: block;
    margin: 0 auto;
    width: 65rem;
    height: auto;
  }
}

@media (max-width: 900px) {
  .visimisi .row .aboutus-img img {
    border-radius: 2rem;
    display: block;
    margin: 0 auto;
    width: 60rem;
    height: auto;
  }
}

/*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);
  }

  .aboutus .row {
    flex-wrap: wrap
  }

  .aboutus .row .aboutus-img img {
    height: 24rem;
    width: 100%;
    object-fit: cover;
    object-position: cover;
  }

  .aboutus .row .content {
    padding: 0;
  }

  .aboutus .row .content p {
    margin-top: 1rem;
    font-size: 1.1rem;
  }

  .visimisi {
    padding: 0 0 0 0;
  }

  .visimisi .row .aboutus-img img {
    border-radius: 2rem;
    display: block;
    margin: 0 auto;
    width: 60rem;
    height: auto;
  }

  .product .row .product-card {
    font-size: 1.1rem;
  } 

  .footer .footer-left .logo-footer {
    width: 100%;
  }

  .contact p {
    padding: 0 5rem 0 5rem;
  }

  .contact .row .map {
    width: 60rem;
  }

}

@media (max-width: 700px) {
  .contact .row .map {
    width: 55rem;
  }

  .visimisi .row .aboutus-img img {
    border-radius: 2rem;
    display: block;
    margin: 0 auto;
    width: 55rem;
    height: auto;
  }

}

@media (max-width: 620px) {
  .contact .row .map {
    width: 50rem;
  }

  .visimisi .row .aboutus-img img {
    border-radius: 2rem;
    display: block;
    margin: 0 auto;
    width: 50rem;
    height: auto;
  }

}

@media (max-width: 560px) {
  .contact .row .map {
    width: 40rem;
  }

  .visimisi .row .aboutus-img img {
    border-radius: 2rem;
    display: block;
    margin: 0 auto;
    width: 45rem;
    height: auto;
  }

}

/*Mobile Phone*/
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }

  .product .row .product-card {
    font-size: 1.1rem;
  } 

  .contact p {
    padding: 0 5rem 0 5rem;
  }

  .contact .row .map {
    width: 40rem;
  }
  
}