* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  font-family: "Space Grotesk", serif;
  font-optical-sizing: auto;
  position: relative;
  background-image: url(img/Fujibg.png);
  background-size: cover;
  background-position: center;
}

section {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0;
  overflow-y: auto;
}

section main {
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 600px;
  justify-content: center;
  align-items: center;
}

section main img {
  width: 120px;
  border-radius: 50%;
  aspect-ratio: 1;
  box-shadow: 0 0 5px 1px teal;
}

section main h2 {
  font-weight: 600;
  color: white;
  white-space: nowrap;
  font-size: 1.8rem;
  text-align: center;
  text-shadow: 0 0 1px transparent, 0 1px 2px rgba(0, 0, 0, 0.8);
}

section main a {
  display: flex;
  max-width: 100%;
  width: 90%;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  padding: 12px 16px;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  gap: 12px;
  transition: 0.3s;
  font-size: 1rem;
}

section main a:hover {
  background-color: white;
  color: #333;
}

section main a i {
  font-size: 1.5em;
}

section footer p {
  color: white;
  font-size: 0.75em;
  padding: 20px;
  text-align: center;
  text-shadow: 0 0 1px transparent, 0 1px 2px rgba(0, 0, 0, 0.8);
}

section footer p a {
  color: white;
  font-weight: 600;
  text-decoration: none;
}

/* ✅ Tambahkan media query untuk layar kecil (ponsel) */
@media (max-width: 600px) {
  section main {
    padding: 60px 15px;
    gap: 12px;
  }

  section main h2 {
    font-size: 1.3rem;
    white-space: normal;
  }

  section main a {
    width: 100%;
    font-size: 0.95rem;
    padding: 10px;
  }

  section main img {
    width: 100px;
  }
}
