/* Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  font-family: "Poppins", sans-serif;
  background: #ffffff;   
  color: #000000;        
  line-height: 1.35;
}

main, body > *:not(script) {
  max-width: 900px;
  padding: 32px 24px;
  margin-inline: auto;
}

h1 {
  font-weight: 700;
  font-size: clamp(28px, 6vw, 42px);
  margin: 0 0 8px;
}

p, input, textarea, label {
  margin: 14px 0;
  font-size: clamp(18px, 4.6vw, 34px);
  font-weight: 400;
  color: #000000;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 24px auto;   
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

h1, p, img {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

.controls{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 20px auto 8px;
  text-align: center;
  width: min(600px, 90vw);
}

.controls label{
  font-size: clamp(18px, 4.6vw, 28px);
}

.controls input, .controls button{
  font-size: clamp(16px, 4vw, 22px);
  padding: 10px 14px;
  border: 1px solid #000;
  border-radius: 10px;
  background: #fff;
  color: #000;
  width: min(420px, 92%);
}

.controls button{
  cursor: pointer;
  border: 1px solid #000;
}

img.hero{
  width: min(560px, 90vw);
  max-height: 70vh;
  object-fit: contain;
  display: block;
  margin: 24px auto;
}

#bunga-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

#bunga-container img{
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}


p:nth-of-type(2n){ animation-duration: 700ms; }
p:nth-of-type(3n){ animation-duration: 800ms; }

@media (max-width: 520px) {
  main, body > *:not(script) { padding: 24px 18px; }
  h1 { font-size: clamp(24px, 7vw, 34px); }
  p  { font-size: clamp(17px, 5.4vw, 26px); line-height: 1.4; }
}
