/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");


/*========== Button Dark/Light ==========*/
.change-theme{
  color: var(--text-color);
  font-size: 1.3rem;
  cursor: pointer;
  transition: .3s;
}
.change-theme:hover{
 color: var(--tem-color);	
}

.nav__btns{
  display: inline-flex;
  align-items: center;
  column-gap: 1rem;
}
html{
  scroll-behavior: smooth;
}

body{
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color-store);
  color: var(--text-color);
  line-height: 1.6;
  transition: .4s; /* For animation dark mode */
}
h1,h2,h3,p,ul{
  margin: 0;
}

ul{
  padding: 0;
  list-style: none;
}

a{
  text-decoration: none;
  color: var(--text-color);
}

img{
  max-width: 105%;
  height: auto;
}

/*========== CLASS CSS ==========*/
.section{
  padding: 4rem 0 2rem;
}

.section-title, .section-subtitle{
  text-align: center;
}

.section-title{
  font-size: var(--h1-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-3);
}

.section-subtitle{
  display: block;
  color: var(--first-color);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-1);
}

/*========== LAYOUT ==========*/
.bd-container{
  max-width: 960px;
  width: calc(100% - 2rem);
  margin-left: var(--mb-2);
  margin-right: var(--mb-2);
}

.bd-grid{
  display: grid;
  gap: 0.3rem;
}

.l-header{
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--drack-color);
  transition: .4s; /* For animation dark mode */
}

/*========== NAV ========== backdrop-filter: blur(50px);*/
.nav{
  max-width: 1050px;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  	
}

@media screen and (max-width: 768px){
  .nav__menu{
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    padding: 1.5rem 0 1rem;
    text-align: center;
    background-color: var(--drack-color);
    transition: .4s;
    box-shadow: 0 4px 4px var(--syam);
    border-radius: 0 0 1rem 1rem;
    z-index: var(--z-fixed);

  }
}

.nav__item{
  margin-bottom: var(--mb-2);
}

.nav__link, .nav__logo, .nav__toggle{
  color: var(--text-color);
  font-weight: var(--font-medium);
}
  .nav__toggle:hover{
    color: #7ce046;
  }

.nav__logo:hover{
  color: var(--first-color);
}

.nav__link{
  transition: .3s;
}

.nav__link:hover{
  color: #7ce046;
}
.nav_dgz {
  color: var(--text-color);
  font-size: 15px;
  font-weight: bold;
  transition: .3s;
  user-select: none;
}

.nav_dgz:hover{
  color: #7ce046;
}

.nav__toggle{
  font-size: 1.3rem;
  cursor: pointer;
}

/* Show menu */
.show-menu{
  top: var(--header-height);
}

/* Active menu */
.active-link{
  color: #7ce046;
    position: relative;
}
.active-link::after{
  content: '';
  position: absolute;
  bottom: -.5rem;
  left: 0;
  width: 70%;
  height: 2px;
  background-color: #7ce046;
}

/*
  content: '';
  position: absolute;
  bottom: -.5rem;
  left: 0;
  width: 50%;
  height: 2px;
  background-color: var(--first-color);
*/

/* Change background header shadow bawah header*/
.scroll-header{
  box-shadow: 0 2px 4px var(--tran);
}

/* Scroll top */
.scrolltop{
  position: fixed;
  right: 1rem;
  bottom: -20%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: .3rem;
  background: rgba(43,101,147,.5);
  border-radius: .4rem;
  z-index: var(--z-tooltip);
  transition: .4s;
  visibility: hidden;
}

.scrolltop:hover{
  background-color: var(--first-color-alt);
}

.scrolltop__icon{
  font-size: 1.8rem;
  color: var(--body-color-store);
}

/* Show scrolltop */
.show-scroll{
  visibility: visible;
  bottom: 1.5rem;
}

/*========== HOME ==========*/
.home__container{
  height: calc(100vh - var(--header-height));
  align-content: center;
}

.home__title{
  font-size: var(--biggest-font-size);
  color: var(--first-color);
  margin-bottom: var(--mb-1);
}

.home__subtitle{
  font-size: 1.5rem;
  color: var(--title-color);
  margin-bottom: var(--mb-4);
}

.home__img{
  width: 300px;
  justify-self: center;
}
.profile__img{
  width: 40px;
  margin-top: 6px; 
  bottom: 100px;
}

/*========== BUTTONS ==========*/
.button{
  display: inline-block;
  background-color: var(--first-color);
  color: #FFF;
  padding: .75rem 1rem;
  border-radius: .5rem;
  transition: .3s;
}

.button:hover{
  background-color: var(--first-color-alt);
}
.button-tengah{
  display: inline-block;
  justify-self: center;
  background-color: var(--first-color);
  color: #FFF;
  padding: .75rem 1rem;
  border-radius: .5rem;
  transition: .3s;
}
.button-tengah:hover{
  background-color: var(--first-color-alt);
}

/*========== ABOUT ==========*/
.about__data{
  text-align: center;
}

.about__description{
  margin-bottom: var(--mb-3);
}

.about__img{
  width: 280px;
  border-radius: .5rem;
  justify-self: center;
}

/*========== SERVICES ==========*/
.services__container{
  row-gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.services__content{
  text-align: center;
}

.services__img{
  width: 64px;
  height: 64px;
  fill: var(--first-color);
  margin-bottom: var(--mb-2);
}

.services__title{
  font-size: var(--h3-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-1);
}

.services__description{
  padding: 0 1.5rem;
}

/*========== MENU ========== ukuran card*/
.menu__container{
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
}

.menu__content{
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--container-color);
  -webkit-border-radius: 0px 0px 10px 10px;
  box-shadow: 0 3px 4px var(--syad);
  padding: 0.75rem;
}

.menu__img{
  width: 320px;
  align-self: center;
  margin-bottom: var(--mb-2);
}

.menu__preci{
  font-weight: var(--font-semi-bold);
  color: var(--harga-color);
  min-height: 80%;
}

.menu__name{
  font-size: var(--normal-font-size);
}

.menu__detail, .menu__preci{
  font-size: var(--small-font-size);
}

.menu__detail{
  margin-bottom: var(--mb-1);
}

.menu__button{
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  padding: .625rem .813rem;
  border-radius: .5rem 0 .5rem 0;
}

/*========== APP ==========*/
.app__data{
  text-align: center;
}

.app__description{
  margin-bottom: var(--mb-5);
}

.app__stores{
  margin-bottom: var(--mb-4);
}

.app__store{
  width: 120px;
  margin: 0 var(--mb-1);
}

.app__img{
  width: 230px;
  justify-self: center;
}

/*========== CONTACT ==========*/
.contact__container{
  text-align: center;
}

.contact__description{
  margin-bottom: var(--mb-3);
}

/*========== FOOTER ==========*/
.footer__container{
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  row-gap: 2rem;
}


.footer__logo{
  font-size: var(--h3-font-size);
  color: var(--first-color);
  font-weight: var(--font-semi-bold);
}

.footer__description{
  display: block;
  font-size: var(--small-font-size);
  margin: .25rem 0 var(--mb-3);
}

.footer__social{
  font-size: 1.5rem;
  color: var(--title-color);
  margin-right: var(--mb-2);
}

.footer__social:hover {
  color: var(--first-color);
}

.footer__title{
  font-size: var(--h2-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-2);
}

.footer__link{
  display: inline-block;
  color: var(--text-color);
  margin-bottom: var(--mb-1);
}

.footer__link:hover{
  color: var(--first-color);
}

.footer__copy{
  text-align: center;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin-top: 3.5rem;
  user-select: none;
  transition:0.3s;
}
.footer__copy:hover{
  text-align: center;
  font-size: var(--small-font-size);
  color: var(--text-color-light-hover);
  margin-top: 3.5rem;
  user-select: none;
  transition:0.3s;
}
  .menu__img{
    margin: -11px;
    width: auto;
  }
  /* mobail kontainer */
  .menu__shop{
    grid-template-columns: repeat(2, 51%);
    column-gap: 0.3rem;
	
  } 
  
.garga-terjual{
display: flex;
}

.text-harga{
  font-weight: var(--font-semi-bold);
  color: var(--harga-color);
  font-size: 15px;
  position: relative;
  margin-left: 5px;
}
.text-produk{
  font-size: 15px;
  color:var(--text-color);
  position: absolute;
  right: 4%;
}
div.flow{
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  box-sizing: border-box;
  font-size: 12px;
}
.txt-des{
	padding: 5px;
	-webkit-border-radius: 0px 0px 7px 7px;
	 bottom:-20px;	
}
/*========== MEDIA QUERIES ==========*/
@media screen and (min-width: 576px){
  
  .nav_dgz {
    font-size: 17px;
  }

  .home__container,
  .about__container,
  .faqs__container,
  .app__container{
    grid-template-columns: repeat(2,1fr);
    align-items: center;
  }

  .about__data, .about__initial,
  .app__data, .app__initial,
  .contact__container, .contact__initial{
    text-align: initial;
  }

  .about__img, .app__img{
    width: 380px;
    order: -1;
  }
  
  .menu__img{
	margin: -11px;
    width: 500px;
  }

  .contact__container{
    grid-template-columns: 1.75fr 1fr;
    align-items: center;
  }

  .contact__button{
    justify-self: center;
  }
  .shop__button{
    padding: 50px;
    text-align: center;
  }
  .faqs__container{
    align-items: flex-start;
  }

  .menu__shop{
    grid-template-columns: repeat(3, 33%);
    column-gap: 0.5rem;
	
  }
.text-harga{
  font-size: 20px;
}  
div.flow{
  font-size: 17px;
}  
.txt-des{
	padding: 10px;	
}
.bd-grid{
  display: grid;
  gap: 0.5rem;
}
  
}

@media screen and (min-width: 768px){
  body{
    margin: 0;
  }
   /* jarak footer dengn list produk */ 
  .section{
    padding-top: 8rem;
  }

  .nav{
    height: calc(var(--header-height) + 0.7rem);
  }
  .nav__list{
    display: flex;
  }
  .nav__item{
    margin-left: var(--mb-5);
    margin-bottom: 0;
  }
  .nav__toggle{
    display: none;
  }

  .home__container{
    height: 100vh;
    justify-items: center;
  }

  .services__container,
  .menu__container{
    margin-top: var(--mb-6);
  }

/* jumlah produk*/
  .menu__container{
    grid-template-columns: repeat(3, 25%);
    column-gap: 4rem;
  }
  .menu__shop{
    grid-template-columns: repeat(3, 32%);
    column-gap: 0.5rem;
	
  }
  .menu__content{
    padding: 0.4rem;
  }
  .menu__img{
	  margin: -6px;
    width: auto;
  }

  .app__store{
    margin: 0 var(--mb-1) 0 0;
  }
  
  	.helper__img img {
	width: 250px;
	max-height: 200px;
	object-fit: contain;
	position: absolute;
	right: 0;
	bottom: 0;
}

.text__content{
max-width:70%;
}


}

@media screen and (min-width: 960px){
  .nav_dgz {
    font-size: 20px;
  }
  .bd-container{
    margin-left: auto;
    margin-right: auto;
  }

  .bd-container__group{
    row-gap: 0.5rem;
  }

  .home__img{
    width: 500px;
  }

  .about__container,
  .app__container{
    column-gap: 7rem;
  }
  
  .menu__shop{
    grid-template-columns: repeat(3, 33%);
    column-gap: 0.5rem;
	
  }
  
}
@media screen and (min-width: 987px){
  .menu__shop{
    grid-template-columns: repeat(3, 35%);
    column-gap: 0.5rem;
	
  }	
}
@media screen and (min-width: 1367px){
  .menu__shop{
    grid-template-columns: repeat(4, 26%);
	
  }	
}
/* For tall screens on mobiles y desktop*/
@media screen and (min-height: 721px) {
    .home__container {
        height: 640px;
    }
	

}




/*========== MEDIA QUERIES ==========*/
.bd-container__group{
  display: grid;
  row-gap: 0.1px;
}

.bd-container-item {
  background-color: var(--tema-color);
  color: #FFF;
  margin: 1rem 0;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px 0 var(--syat);
}
.bd-container-item-header {
  padding: 0.5rem 3rem 0.5rem 1rem;
  min-height: 3.5rem;
  line-height: 1.25rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}
.bd-container-item-header::after {
  content: "\002B";
  font-size: 2rem;
  position: absolute;
  right: 1rem;
}
.bd-container-item-header.active::after {
  content: "\2212";
}
.bd-container-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.bd-container-item-body-content {
  padding: 1rem;
  line-height: 1.5rem;
  border-top: 1px solid;
  border-image: linear-gradient(to right, transparent, #34495e, transparent) 1;
}

@media(max-width:767px) {
  html {
    font-size: 14px;
  }
  .helper__img img {
	width: 120px;
	max-height: 120px;
	object-fit: contain;
	position: absolute;
	right: 0;
	bottom: 0;
}
.profile__img{
  width: 30px;
  margin-top: 5px; 
  bottom: 100px;
}
}

/*
https://jsfiddle.net/prasathmani/vkwg6d6r/
*/

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar{
  width: .6rem;
  background: var(--tema-color);
  width: 10px;
}

::-webkit-scrollbar-thumb{
  background: #FFF;
  border-radius: .2rem;
}

.card{
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 576px;
  height: auto;
  /*max-height: 300px;*/
  box-shadow: 0 3px 4px var(--syad);
  border-radius: 8px;
  padding: 1px;
  transition: 0.2s;
  background-color: var(--container-color);
  
}

.card:hover{
  box-shadow: 1px 1px 10px gray;
  transition: 0.2s;
}
.img-card{
  height: auto;
  overflow: hidden;
  padding: 2px;
}
.img{
	max-width: 334px;
	width: 100%;
  -webkit-border-radius: 7px 7px 0px 0px;
  user-select: none;
}
.img-size{
	max-width: 100%;
	max-height: 334px;	
	overflow: hidden;
}


/*
unicode-bidi: bidi-override; flip text

  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--container-color);
  -webkit-border-radius: 0px 0px 10px 10px;
  box-shadow: 0 3px 4px var(--syad);
  padding: 0.75rem;
  
*/

.box {
	margin-bottom: 25px;
	border-radius: 5px;
	background: #007bff;

}
.box--primary {
	background: #007bff;
	color: #fff;
}


.helper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
}
.helper__content {
	padding: 10px;
}


.btn-light{
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  padding: 8px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 12px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px;	
  transition: .3s;
  user-select: none;
}
.btn-light:hover{
  background-color: #4CAF00; /* Green */
  transition: .3s;
}
.ic-heart{
  font-size: 1.5rem;
  color: var(--title-color);
  font-family: "roboto", sans-serif;
}

/* loading*/

#loading{
 width:50px;
 height:50px;
 border:solid 15px #ccc;
 border-top-color:#4285F4;
 border-radius:100%;
 
 position:fixed;
 left:0;
 top:0;
 right:0;
 bottom:0;
 margin:auto;	
 animation: putar 1.5s linear infinite;
}

@keyframes putar{
 from{transform:rotate(0deg)}
 to{transform:rotate(360deg)}
}

.shadow{

position: fixed;
top:0;
left: 0;
height: 100%;
width: 100&;
z-index:2;
background: rgba(0,0,0,0,4);	
}
.loading-container{
    width: 100%;
    height: 100vh;
    background-color: #111;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}
