html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  background: #F8FAFC;
  font-family: 'Quicksand';
}

header{
  display: flex;
  position: sticky;
  top: 0;
  left: 0;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: #38BDF8;
  box-shadow: 0px 5px 10px #0F172A;
  z-index: 1000;
}

header nav{
  display: flex;
  gap: 10px;
  margin:10px;
}

header nav a{
  color: #0F172A;
  font-family: 'Quicksand', Sans-Serif;
  font-size: clamp(1rem,3vw,2rem);
}


header button{
  display: none;
  font-size: 40px;
  background: none;
  border: none;
  text-align: center;
  height: 60px;
  width: 40px;
  color: #0F172A;
}


header h1{
  font-family: 'Quicksand',Sans-Serif;
  color: #0F172A;
}

/*main loh ya  */

@keyframes muncul{
  0%{
    opacity: 0;
    transform: translateY(10px);
  }
  100%{
    opacity: 1;
    transform: translateY(0);
  }
}

.containerhero{
  display: flex;
  padding: 10px;
  position: relative;
  flex-direction: column;
  height: auto;  
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  background-image: url(banner.jpg);
  background-size: cover;
  background-position: center;
  transition: transform 0.3s;
  
}

.containerhero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

.containerhero h1{
  color: #38BDF8;
  width: fit-content;
  text-align: center;
  border-radius: 10px;
  margin: 0 auto;
  background: #0F172A;
  padding: 5px;
  z-index:1;
  animation: muncul 2s;
  transition: all 0.3s;
}

.containerhero h2{
  color: #F8FAFC;
  z-index: 1;
  animation:muncul 1s;
  transition: all 0.3s;
}

.containerhero a{
  color:  #F8FAFC;
  text-shadow: 0px 0px 10px #0F172A;
  z-index: 1;
  animation:muncul 2.5s;
  transition: all 0.3s;
}

.containerhero a:hover{
  transform: scale(1.09);
}

.containerhero h1:hover{
  transform: scale(1.09);
}

.containerhero h2:hover{
  transform: scale(1.09);
}

.containerhero h1, .containerhero h2{
  line-height: 1;
}

/*=============================  */


/*Produkkkkkkk*/
.judulproduk{
  color: #0F172A;
}

.judulprodukresp{
  display: none;
}


.containerproduk{
  display: grid;
  margin: 10px;
  grid-template-columns: repeat(2,200px);
  gap:15px;
  overflow-x: scroll;
  height: auto;
}

.card img{
  transform:scale(1.111);
}

.card{
  display: flex;
  justify-content: center;
  flex-direction: column;
  background: #0F172A;
  padding: 9px;
  border-radius:20px;
  overflow: hidden;
}

.card h1{
  color: #F8FAFC;
}

.card h2{
  color:#38BDF8 ;
}



@media(max-width: 350px){
  header h1{
    display: none;
  }

  header img{
    width: 50px;
    height: 50px;
  }

  
}

@media(max-width: 600px){
  header button{
    display: flex;
  }
  
  header nav{
    display: none;
  }

  header img{
    width: 50px;
    height: 50px;
  }

  .judulprodukresp{
    display: block;
    text-align: center;
  }

  .judulproduk{
    display: none;
  }
}

@media(min-width: 601px){
  header img{
    width: 100px;
    height: 100px;
  }
}


