body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: #a35e7e;
}

/* Navbar */
nav {
  background: #333;
  padding: 15px;
  text-align: center;
}
nav a {
  color: #eedce4;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}
nav a:hover {
  color: #ebedef;
}

/* Section Umum */
section {
  padding: 40px;
  text-align: center;
  background: #f7e5f4;
  margin: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
h1 {
  color: #0a0b0b;
  margin-bottom: 20px;
}

/* Foto Bulat */
.profile-pic {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}
.caption {
  font-size: 14px;
  color: #333;
  margin-top: 8px;
  font-style: italic;
}

/* Layout About & Hobby */
.flex-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  text-align: left;
}
.flex-container p {
  flex: 2;
  font-size: 18px;
  max-width: 400px;
}

/* Skills */
.skill {
  margin: 20px auto;
  max-width: 500px;
  text-align: left;
}
.skill p {
  margin: 5px 0;
  font-weight: bold;
}
.skill-bar {
  background: #ddd;
  border-radius: 20px;
  overflow: hidden;
  height: 25px;
}
.skill-level {
  background: linear-gradient(90deg, #ff5da2, #d63384);
  height: 100%;
  text-align: right;
  padding-right: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  border-radius: 20px 0 0 20px;
  transition: width 1s ease-in-out;
}

/* Form Contact */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: auto;
}
input, textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
}
button {
  background: #090909;
  color: #f3cfed;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}
button:hover {
  background: #121212;
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 20px;
}
footer a {
  color: #f7b3d0;
  text-decoration: none;
  margin: 0 10px;
  display: inline-flex;
  align-items: center;
}
footer a:hover {
  text-decoration: underline;
}
.icon {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  height: 80vh;
  background: linear-gradient(135deg, #f7b3d0, #faa3ca, #fddde6);
  color: #2d2d2d;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
/* Background dekorasi bulat */
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}
.hero::before {
  width: 300px;
  height: 300px;
  background: #ffb6c1;
  top: -50px;
  left: -80px;
}
.hero::after {
  width: 400px;
  height: 400px;
  background: #ff69b4;
  bottom: -80px;
  right: -100px;
}

/* Teks Hero */
.hero h2 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #111;
  letter-spacing: 1px;
  animation: fadeInDown 1.5s ease;
}
.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  color: #333;
  max-width: 600px;
  line-height: 1.5;
  animation: fadeInUp 1.5s ease;
}

/* Tombol Hero */
.hero .btn {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(135deg, #ff5da2, #d63384);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  animation: fadeInUp 1.8s ease;
}
.hero .btn:hover {
  background: linear-gradient(135deg, #d63384, #ff5da2);
  transform: scale(1.05);
}

/* Animasi fade */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Efek Ketikan */
.typing {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #333;
  width: 0;
  animation: typing 3s steps(14, end) forwards, blink 0.7s infinite;
}
@keyframes typing {
  from { width: 0 }
  to { width: 14ch } /* jumlah huruf */
}
@keyframes blink {
  0%, 50% { border-color: transparent; }
  51%, 100% { border-color: #333; }
}