: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: 2s linear;
}

html{
  font-size: 60.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  overflow-x: hidden;
}

section{
  padding: 2rem 9%;
  margin-top: 6rem;
}

.heading{
  text-align: center;
  font-size: 3rem;
  color: #333;
  padding: 1rem;
  margin: 2rem 0;
  background: rgba(225, 51, 153,.05);
}

.heading span{
  color: var(--blue);
}

header{
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #fff;
  padding: 1.8rem 9%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  box-shadow: 0.5rem 1rem rgba(0, 0, 0, 0.1); 
}

header ul{
	position: relative;
}
header ul li{
	position: relative;
	list-style: none;
	float: left;
}

header ul li a{
	color: #666;
	font-size: 1.6em;
	padding: 5px 7px;
	text-decoration: none;
	display: flex;
	justify-content: space-between;
}

header ul li ul{
	position: absolute;
	left: 0;
	width: 200px;
	background: whitesmoke;
	display: none;
}
header ul li:hover > ul{
	display: block;
}
header ul li ul li{
	position: relative;
	width: 100%;
	border-bottom: 1px solid #5f9ea0;
}
header ul li ul li ul{
	top: 0;
	left: 200px;
}

.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: 1s 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: 55%;
  }

  header{
    padding:2rem;
  }

  section{
    padding: 2rem;
  }

  .home{
    background-position: left;
  }

}*/

@media screen and (max-width:768px){

  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 .navbar a{
    margin: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    border: .1rem solid rgba(0, 0, 0,.1);
    display: block;
  }

  header ul{
	position: relative;
}
header ul li{
	position: relative;
	list-style: none;
	float: left;
  font-size: 1.3rem;
}
header ul li a{
	color: #666;
	font-size: 1.1em;
	text-decoration: none;
	display: flex;
	justify-content: space-between;
}
header ul li a:hover{
	background: #5f9ea0;
  color: white;
}
header ul li ul{
	position: absolute;
	width: 200px;
	background: whitesmoke;
	display: none;
}
header ul li:hover > ul{
	display: block;
}
header ul li ul li{
	position: relative;
	width: 100%;
	border-bottom: 1px solid #5f9ea0;
}
header ul li ul li ul{
	top: 0;
	left: 200px;
}



}

/*@media (max-width:450px){

  html{
    font-size: 50%;
  }

  .heading{
    font-size: 3rem;
  }

}*/

/* Responsive */
/*@media (max-width: 900px)
{
	header
	{
		padding: 10px 20px;
	}
	header nav
	{
		position: absolute;
		width: 100%;
		top: 66px;
		left: 0;
		background: whitesmoke;
		display: none;
	}
	header.active nav
	{
		display: initial;
	}
	header nav ul li
	{
		width: 100%;
	}
	header nav ul li ul
	{
		position: relative;
		width: 100%;
		left: 0;
	}
	header ul li ul li ul
	{
		top: 0;
		left: 0;
	}
	header nav ul li:hover ul li 
	{
		background: whitesmoke;
	}
}

*/