/* ========================================
   QEDEVELOPER - CSS RESET
   Menyamakan perilaku dasar browser
======================================== */

/* Box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Pengaturan dokumen */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* Reset margin */
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

/* Reset daftar */
ul,
ol {
  padding: 0;
}

ul,
ol {
  list-style: none;
}

/* Media responsif */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Form mengikuti font website */
button,
input,
textarea,
select {
  font: inherit;
}

/* Tombol */
button {
  cursor: pointer;
}

/* Link */
a {
  color: inherit;
  text-decoration: none;
}

/* Fokus keyboard */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #91baff;
  outline-offset: 3px;
}

/* Elemen tersembunyi */
[hidden] {
  display: none !important;
}

/* Mengurangi animasi jika diminta pengguna */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
