* {
  box-sizing: border-box;
}

:root {
  --background: white;

  --primary: #ff1ead;
  --secondary: #1effc3;
  
  --card-size: 400px;
}

body {
  height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: var(--background);
  font-family: 'Source Code Pro', monospace;
  
  text-rendering: optimizelegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.card { 
  width: calc(var(--card-size) * 1.586);
  height: var(--card-size);
  
  border-radius: 0.75rem;
  box-shadow:  0 22px 70px 4px rgba(0,0,0,0.56), 0 0 0 1px rgba(0, 0, 0, 0.3);
  
  background: black;
  
  display: grid;
  grid-template-columns: 40% auto;
  color: white;
  
  align-items: center;
  
  will-change: transform;
  transition: transform 0.25s cubic-bezier(0.4, 0.0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0.0, 0.2, 1);
  
  &:hover {
     transform: scale(1.1);
     box-shadow:  0 32px 80px 14px rgba(0,0,0,0.36), 0 0 0 1px rgba(0, 0, 0, 0.3);
  }
}

.card-details {
  padding: 1rem;
}

.name {
  font-size: 1.25rem;
}

.occupation {
  font-weight: 600;
  color: var(--primary);
}

.card-avatar {
  display: grid;
  place-items: center;
  margin-bottom: 5.5rem;
}

.card-avatar img {
  width: 80%;  /* Sesuaikan persentasenya sesuai kebutuhan */
  max-width: 200px; /* Batas maksimal agar tidak terlalu besar */
  height: auto; /* Menjaga aspek rasio gambar */
  border-radius: 50%; /* Opsional: Membuat gambar menjadi bulat */
}

.card-about {
  margin-top: 1rem;
  display: grid;
  grid-auto-flow: column;
}

.item {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
  
  .value {
     font-size: 1rem;
  }
  
  .label {
     margin-top: 0.15rem;
     font-size: 0.75rem;
     font-weight: 600;
     color: var(--primary);
  }
}

.skills {
  display: flex;
  flex-direction: column;
  margin-top: 0.75rem;
  
  .label {
     font-size: 1rem;
     font-weight: 600;
     color: var(--primary);
  }
  
  .value {
     margin-top: 0.15rem;
     font-size: 0.75rem;
     line-height: 1.25rem;
  }
}

.rate-hour {
  display: flex;
  flex-direction: column;
  margin-top: 0.75rem;
  text-align: center;
}

.rate-hour .value {
  font-size: 1.5rem; /* Ukuran angka */
  font-weight: bold;
  color: var(--secondary); /* Menggunakan warna tema */
}

.rate-hour .label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary); /* Warna label */
}

.qr-box {
  margin-top: 2rem;
  padding: 2rem;
  border: 1px solid #ccc; /* Border untuk box */
  border-radius: 8px; /* Sudut melengkung pada box */
  background: #111; /* Latar belakang box */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 150px;
}

.qr-code img {
  width: 100px;  /* Sesuaikan ukuran gambar QR */
  height: 100px; /* Sesuaikan ukuran gambar QR */
  object-fit: cover; /* Memastikan gambar tetap proporsional */
  border-radius: 4px; /* Opsional: memberikan sudut melengkung pada gambar */
}

.social-links {
  margin-top: 1rem;
  display: flex;
  gap: 10px;
}
.social-links a {
  text-decoration: none;
  color: var(--primary);
  font-weight: bold;
}
.contact {
  margin-top: 1rem;
}
.contact-button {
  display: inline-block;
  background: var(--secondary);
  color: black;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}