html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
              url('../image/bg.webp') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overscroll-behavior: none;
}


.intro {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  margin: 0;
  margin-top: 6rem;
}

.intro h2 {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 10px;
}


.intro p {
  color: white;
  font-size: 16px;
  line-height: 1.5;
}

.intro ul {
  list-style: none;
  padding: 0;
  text-align: left;
  display: inline-block;
}

.intro li {
  font-size: 16px;
  color: white;
  margin: 5px 0;
  display: flex;
  align-items: center;
  margin-left: 2.45rem;
}

.intro li strong {
  margin-left: 8px;
}

.resep {
  padding: 40px 20px;
}

.resep-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  border-radius: 5px;
  margin-bottom: 3rem;
}

.resep img {
  width: 300px;
  height: 200px;
  border-radius: 5px;
  transition: transform 0.2s ease;
}

.resep img:hover {
  transform: scale(1.1);
  border-radius: 5px;
}

.resep figure {
  position: relative;
  width: 300px;
  margin: 0;
  overflow: hidden;
  cursor: pointer;
  border-radius: 5px;
}

.resep figure:hover img {
  filter: brightness(50%);  
  border-radius: 5px;
}


.resep figcaption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  color: #FFD700;
  padding: 10px 15px;
  font-size: 18px;
  font-weight:800 ;
  border-radius: 5px;
  opacity: 0;
  border-radius: 5px;
  transition: opacity 0.2s ease-in-out;
}


.resep figure:hover figcaption {
  opacity: 1;
}

.label {
  font-size: large;
  color: #FFD700;
  text-align: center;
}

.intro ul {
  list-style: none;
  padding: 0; 
  text-align: center;
  margin-right: 5rem;
  
}

.intro ul li {
  margin-bottom: 12px; 
}

.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #25D366;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 1;
  transform: scale(1);
  transition: all 0.3s ease;
  z-index: 1000; /* Tambahkan ini */
}

.whatsapp-btn img {
  width: 35px;
  height: 35px; /* Pastikan aspect ratio tetap */
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
  position: relative; /* Tambahkan ini */
  display: block; /* Pastikan gambar terlihat sebagai block element */
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.whatsapp-btn {
  animation: bounce 1.5s infinite ease-in-out;
}



@media (max-width: 768px) {

  .intro ul {
      margin-right: auto; 
      margin-left: auto;
      text-align: center;
      padding: 0;
  }

  .intro ul li {
      list-style: none;
      text-align: center;
  }

  .resep-container {
    margin-bottom: 3rem;
  }

}
