:root{
  --blue:#5f9ea0;
}

*{
  margin: 0; padding: 0;
  box-sizing: border-box;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  outline: none; border: none;
  text-decoration: none;
  text-transform: capitalize;
  transition: 1s linear;
}

html{
  font-size: 60.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  overflow-x: hidden;
}

section{
  padding: 2rem 9%;
}

.btn{
  display: inline-block;
  margin-top: 1rem;
  border-radius: 5rem;
  background: var(--blue);
  color: #fff;
  padding: .9rem 3.5rem;
  cursor: pointer;
  font-size: 1.7rem;
  justify-content: right;
}

.btn:hover{
  background: #666;
}

.heading{
  text-align: center;
  font-size: 3rem;
  color: #333;
  padding: 1rem;
  margin: 2rem 0;
  background: rgba(168, 134, 154, 0.05);
}

.heading span{
  color: var(--blue);
}

header{
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #fff;
  padding: 3rem 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  box-shadow: 0.5rem 1rem rgba(0, 0, 0, 0.1); 
}

.gambar img{
  width: 105px;
  align-items: center;
}
header .logo{
  color: #191970;
  font-weight: bolder;
  font-size: 2.5rem;
  margin-right: 37%;
}

header .navbar a{
  font-size: 1.9em;
  padding: 1.5rem;
  color: #666;
}

header .navbar a:hover{
  color: var(--blue);
}

header #toggler{
  display: none;
}

header .fa-bars{
  font-size: 3rem;
  color: #333;
  border-radius: .5rem;
  padding:.5rem 1.5rem;
  cursor: pointer;
  display: none;
}

.home{
  display: flex;
  align-items: center;
  min-height: 100vh;
  background:url(gambar/home.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}

.home .content{
  max-width: 50rem;
}

.home .content h3{
  font-size: 3rem;
  color: white;
}

.home .content span{
  font-size: 1.5rem;
  color: whitesmoke;
  padding: 1rem 0;
  line-height: 1.5;
}


.about .row{
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem 0;
  padding-bottom: 3rem;
}

.about .row .photo-container{
  flex: 1 1 40rem;
  position: relative;
}

.about .row .photo-container img{
  width: 100%;
  border: 1.5rem solid #fff;
  border-radius: .5rem;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0,.1);
  height: 100%;
  object-fit: cover;
}

.about .row .photo-container h3{
  position: absolute;
  top: 50%; transform: translateY(-50%);
  font-size: 3rem;
  background: #fff;
  width: 100%;
  padding:1rem 2rem;
  text-align: center;
  mix-blend-mode: screen;
}

.about .row .content{
  flex: 1 1 40rem;
}

.about .row .content h3{
  font-size: 2rem;
  color: #333;
}

.about .row .content p{
  font-size: 1.5rem;
  color: #999;
  padding: .5rem 0;
  padding-top: 1rem;
  line-height: 1.5;
}

.products .box-container{
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.products .box-container .box{
  flex: 1 1 30rem;
  box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0,.1);
  border-radius: .5rem;
  border: .1rem solid rgba(0, 0, 0,.1);
  position: relative;
}

.products .box-container .box .barang{
  position: absolute;
  top: 1rem; left: 1rem;
  padding: .7rem 1rem;
  font-size: 2rem;
  color: var(--blue);
  background: rgba(255, 51, 153,.05);
  z-index: 1;
  border-radius: .5rem;
}

.products .box-container .box .image{
  position: relative;
  text-align: center;
  padding-top: 2rem;
  overflow: hidden;
}

.products .box-container .box .image img{
  height: 25rem;
}

.products .box-container .box:hover .image img{
  transform: scale(1.1);
}

.products .box-container .box .image .icons{
  position: absolute;
  bottom:-7rem; left:0; right:0;
  display: flex;
}

.products .box-container .box:hover .image .icons{
  bottom: 0;
  transition: 0.8s linear;
}

.products .box-container .box .image .icons a{
  height: 5rem;
  line-height: 5rem;
  font-size: 2rem;
  width: 50%;
  background: var(--blue);
  color: #fff;
}

.products .box-container .box .image .icons .cart-btn{
  border-left: .1rem solid #fff7;
  border-right: .1rem solid #fff7;
  width: 100%;
}

.products .box-container .box .image .icons a:hover{
  background: #333;
}

.products .box-container .box .content{
  padding: 2rem;
  text-align: center;
}

.products .box-container .box .content h3{
  font-size: 2rem;
  color: #333;
}

.footer .box-container{
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer .box-container .box{
  flex: 1 1 25rem;
}

.footer .box-container .box h3{
  color: #333;
  font-size: 2.5rem;
  padding: 1rem 0;
}

.footer .box-container .box a {
  display: block;
  color: #666;
  font-size: 1.5rem;
  padding: 1rem 0;
}

.footer .box-container .box a:hover{
  color: var(--blue);
  text-decoration: underline;
}

.footer .box-container .box p{
  display: block;
  color: #666;
  font-size: 1.5rem;
  padding: 0.3rem 0;
}

.footer .credit{
  text-align: center;
  padding: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 2.5rem;
  font-size: 1.5rem;
  color: #333;
  border-top: .1rem solid rgba(0, 0, 0,.1);
}


/* media queries */
/*@media (max-width:991px){

  html{
    font-size: 75%;
  }

  header{
    padding:2rem;
  }

  section{
    padding: 2rem;
  }

  .home{
    background-position: left;
  }

}
*/
@media (max-width:768px){

  header .fa-bars{
    display: block;
  }

  header .navbar{
    position: absolute;
    top: 100%; 
    left: 0; right: 0;
    background: #eee;
    border-top: .1rem solid rgba(0, 0, 0,.1);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  }

  header #toggler:checked ~ .navbar{
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  header .logo{
  font-weight: bolder;
  margin-left: 4%;
  font-size: 2.5rem;
}

  header .navbar a{
    margin: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    border: .1rem solid rgba(0, 0, 0,.1);
    display: block;
  }

.gambar img{
  width: 60px;
  margin-left: 5px;
}

header .logo{
  font-size: 1.3rem;
  margin-right: 15%;
}
  .home .content h3{
    font-size: 3rem;
  }

  .home .content span{
    font-size: 1.3rem;
  }
}

/*@media (max-width:450px){

  html{
    font-size: 50%;
  }
}*/