* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #1C1C1C;
  color: #E0E0E0;
  font-family: 'Fira Code', monospace;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
}

.profile {
  margin-bottom: 20px;
  text-align: center;
}
.profile img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #79D9FF4f;
  box-shadow: 0 0 10px rgba(121, 217, 255, 0.623);
  transition: transform 0.3s ease;
}
.profile-photo img:hover {
  transform: scale(1.05);
}


.terminal {
  max-width: 700px;
  text-align: center;
  margin-bottom: 10px;
}

.greeting {
  font-size: 24px;
  color: #79D9FF;
  margin-bottom: 10px;
}
.desc {
  font-size: 16px;
  color: #B0B0B0;
  margin-bottom: 25px;
}

.highlight {
  color: #FF88A8; 
  font-weight: bold;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  justify-content: flex-start;
}

.btn {
  background-color: #79D9FF;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-width: 220px;
  max-width: 300px;
  box-sizing: border-box;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn:hover {
  background-color: #FF88A8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 123, 114, 0.3);
}

.contact {
  background-color: #79D9FF;
  animation: pulse 2s infinite;
}

.contact:hover {
  animation: none;
}

.icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
  filter: invert(100%);
}


.project {
  width: 100%;
  max-width: 1000px;
  margin-top: 40px;
  text-align: center;
}

.project h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #79D9FF;
}


.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 0 10px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 0 10px;
}

.image-card {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #30363d;
  transition: transform 0.3s ease;
}

.image-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.image-card img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.image-card {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #30363d;
  transition: transform 0.3s ease;
  max-height: 300px;
}

.image-card:hover img {
  transform: scale(1.05);
  cursor: pointer;
}

.card {
  background: #252525;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #444444;
  transition: transform 0.3s;
  font-size: 16px;
  text-decoration: none;
  color: #c9d1d9;
  text-align: center;
  display: block;
}
.card:hover {
  transform: translateY(-5px);
  border-color: #79D9FF;
  background-color: #333333;
  color: #79D9FF;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #58a6ff;
}

footer {
  text-align: center;
  margin-top: 60px;
  font-size: 14px;
  color: #B0B0B0;
}

/* Ganti class .blinking-cursor sebelumnya */

.cursor {
  /* Tampilan default saat mengetik: hanya garis solid */
  display: inline-block;
  width: 2px;
  height: 1.2em; /* Sesuaikan dengan tinggi font */
  background-color: #c9d1d9; 
  margin-left: 5px;
  vertical-align: middle;
}

.blinking-cursor {
  /* Animasi kedip hanya ditambahkan setelah selesai mengetik */
  animation: blink 0.75s step-end infinite;
}

/* Kunci animasi kedip */
@keyframes blink {
  from, to {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 500px) {
  .greeting {
    font-size: 20px;
  }
  .desc {
    font-size: 14px;
  }
  .btn {
    padding: 12px;
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .image-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(88, 166, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(88, 166, 255, 0);
  }
}
