.info-box {
  background-color: rgba(255, 255, 255, 0.8); /* putih transparan */
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* efek bayangan */
  background-color: rgba(255, 255, 255, 0.8); /* putih transparan */
  padding: 15px;  
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: #333;
  height: 190px;
  
  /* Animasi awal */
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeSlideIn 1s ease-out forwards;
}
.info-box p {
  margin: 5px 0; /* jarak antar baris */


}
.about-me {
    font-family: 'Lexend', sans-serif;
    max-width: 800px;
    margin: 50px auto;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
     opacity: 0;
  transform: translateX(-30px);
  animation: fadeSlideIn 1s ease-out forwards;
}

.about-me h2 {
    font-family: 'Lexend', sans-serif;
    text-align: left;
    margin-bottom: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #000000;
}

.about-me p {
    font-family: 'Lexend', sans-serif;
    margin: 0;
    max-width: 400px; /* batas lebar paragraf */
    margin: 0;   /* biar paragraf di tengah */
    text-align: left; /* teks rata kanan-kiri */
    word-wrap: break-word; /* kalau ada kata panjang biar pindah baris */
    line-height: 1.6;
}
html {
    scroll-behavior: smooth;
    font-family: 'Lexend', sans-serif;
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.photo img {
  width: 250px;
  height: 250px;
  border-radius: 10px;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.text {
 flex: 1;
}

/* CSS: taruh di head atau file .css */
:root{
  --glass-bg: rgba(255,255,255,0.85);
  --glass-bg-2: rgba(255,255,255,0.65);
  --accent: rgba(7,100,120,0.95);
  --muted: rgba(0,0,0,0.6);
  --shadow: 0 8px 20px rgba(10,20,30,0.25);
}

/* wrapper untuk mengatur posisi -- sesuaikan margin-top agar pas di tengah */
.timeline-wrapper {
  background: rgba(255,255,255,0.8);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* efek bayangan */
  background-color: rgba(255, 255, 255, 0.8); /* putih transparan */
  padding: 15px;
  border-radius: 10px;
}

/* judul */
.timeline-title {
  font-size: 20px;
  margin-bottom: 15px;
  text-align: center;
}



/* garis timeline */
.timeline{
  display: flex;
  gap: 22px;
  align-items: stretch;
  justify-content: space-between;
  position: relative;
  padding: 18px;
}

/* horizontal connector line (di belakang) */
.timeline::before{
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
  border-radius: 2px;
  z-index: 0;
  filter: blur(0.3px);
}

/* tiap item */
.timeline-item{
  z-index: 2;
  width: 30%;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 10px;
  transition: transform .36s cubic-bezier(.2,.9,.2,1), box-shadow .36s;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 6px 18px rgba(8,12,18,0.12);
  backdrop-filter: blur(4px);
  transform-origin: center;
  animation: fadeUp .6s ease both;
}

/* penekanan hover */
.timeline-item:hover{
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 36px rgba(8,12,18,0.18);
}

/* titik + ikon */
.timeline-point{
  width: 68px;
  height: 68px;
  min-width: 68px;
  min-height: 68px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 6px 18px rgba(10,20,30,0.06);
}

/* ikon svg */
.icon{
  width: 34px;
  height: 34px;
  fill: var(--accent);
  opacity: 0.95;
}

/* konten teks */
.timeline-content{
  color: var(--muted);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  line-height: 1.25;
}

.timeline-period{
  font-size: 13px;
  display:block;
  color: rgba(0,0,0,0.45);
}

.timeline-school{
  display:block;
  font-size: 15px;
  color: rgba(5,40,60,0.95);
  margin-top: 2px;
}

.timeline-desc{
  margin: 6px 0 0 0;
  font-size: 13px;
  color: rgba(0,0,0,0.55);
}

/* responsif: layar sempit -> ubah jadi vertikal */
@media (max-width: 780px){
  .timeline{
    flex-direction: column;
    gap: 14px;
    padding: 12px;
  }
  .timeline::before{ display:none; }
  .timeline-item{ width: 100%; align-items: flex-start; }
  .timeline-point{ width:56px; height:56px; min-width:56px; min-height:56px; border-radius:10px; }
}

/* animasi masuk */
@keyframes fadeUp{
  from{ transform: translateY(12px); opacity: 0; }
  to{ transform: translateY(0); opacity: 1; }
}

.timeline-horizontal {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,0.8);
  padding: 15px;
  border-radius: 10px;
}

.favorite-song {
  background: rgba(255,255,255,0.8);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* efek bayangan */
  background-color: rgba(255, 255, 255, 0.8); /* putih transparan */
  padding: 15px;
  border-radius: 10px;
  align-items: center;
  align-content: center;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  color: #333;
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeSlideIn 1s ease-out forwards;
}

.scratch {
 background: rgba(255,255,255,0.8);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* efek bayangan */
  background-color: rgba(255, 255, 255, 0.8); /* putih transparan */
  padding: 15px;
  border-radius: 10px;
  align-items: center;
  align-content: center;
  gap: 20px;
  width: fit-content;
  margin: 0 auto;
  text-align: center;
  color: #333;
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeSlideIn 1s ease-out forwards;
}

.animate-down {
  transform: translateY(-30px);
  opacity: 0;
  transition: all 0.6s ease;
}
.animate-down.show {
  transform: translateY(0);
  opacity: 1;
}
