@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    position: relative;
    font-family: 'Poppins', sans-serif;
  }

  .brand {
    font-weight: bold;
    font-size: 22px;
    text-decoration: none;
    color: #333;
  }

  .menu-btn {
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
  }

  .menu-btn-burger,
  .menu-btn-burger::before,
  .menu-btn-burger::after {
    content: '';
    display: block;
    height: 3px;
    background: #111;
    border-radius: 2px;
  }

  .menu-btn-burger {
    position: relative;
  }

  .menu-btn-burger::before {
    position: absolute;
    top: -8px;
    width: 100%;
  }

  .menu-btn-burger::after {
    position: absolute;
    top: 8px;
    width: 100%;
  }



  @media (min-width: 768px) {
    .menu-btn {
      display: none;
    }

    .navigation {
      display: flex !important;
      position: static;
      flex-direction: row;
      gap: 20px;
      box-shadow: none;
      background: none;
    }

    .navigation a {
      margin: 0;
    }
  }
*{
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body{
    width: 100%;
    height: auto;
    overflow-x: hidden;
}

header{
    z-index: 889;
    position: fixed;
    background-color: rgba(255, 255, 255, 0.1);
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s ease;
}

header.sticky{
    background-color:rgb(255, 255, 255);
    padding: 10px 200px;
}

header .brand{
    color: rgb(114, 114, 114);
    font-size: 1.8em;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

header .navigation{
    position: relative;
}

header .navigation a{
    color: rgb(0, 0, 0);
    font-size: 1em;
    text-decoration: none;
    font-weight: 500;
    margin-left: 30px;
}

header .navigation a:hover{
    color: #ff0000;
}

header .sticky .navigation a:hover{
    color: black;
}

section{
    padding: 100px 200px;
}

.main{
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    background-image: url(backround.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.main .content{
    max-width: 800px;
}

.main .content h2{
    color: rgb(118, 118, 118);
    font-size: 2em;
    font-weight: 500;
}

.main .content h2 span{
    font-size: 2.8rem;
    font-weight: 600;
}

.animated-text{
    position: relative;
    height: 70px;
    overflow: hidden;
}

.animated-text h3{
    color: #ff0000;
    font-size: 3em;
    font-weight: 00;
    line-height: 70px;
    letter-spacing: 1px;
}

.animated-text h3:nth-child(1){
    animation: text-move 6s infinite ease-out;
}

@keyframes text-move {
    0%,15%{
        margin-top: 0px;
    }
    
    25%,40%{
        margin-top: -70px;
    }
    
    50%,65%{
        margin-top: -140px;
    }
    
    75%,90%{
        margin-top: -70px;
    }
    
    100%{
        margin-top: 0px;
    }
}

.btn{
    color: rgb(255, 255, 255);
    background-color: #7a7a7a;
    font-size: 1em;
    font-weight: 600;
    display: inline-block;
    padding: 10px 20px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 2px;
    margin-top: 30px;
    transition: 0.5s ease;
}

.btn:hover{
    background-color: #717171;
}

.media-icons{
    margin-top: 50px;
}

.media-icons a{
    color: white;
    font-size: 25px;
    margin-right: 30px;
}


/* About */

.title{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.section-title{
    position: relative;
    color: #000000;
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 60px;
}

.section-title::before{
    content: "";
    position: absolute;
    top: 56px;
    left: 50%;
    width: 140px;
    height: 4px;
    background-color: #000000;
    transform: translateX(-50%);
}

.section-title::after{
    content: "";
    position: absolute;
    top: 50px;
    left: 50%;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #000000;
    transform: translateX(-50%);
}

.about .content{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.about .content .col-left{
    position: relative;
    width: 45%;
}

.about .content .col-right{
    position: relative;
    width: 50%;
}

.about .content .col-left .img-card{
    position: relative;
    width: 100%;
    min-height: 450px;
}

.about .content .col-left .img-card img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.about .content .col-right .content-title{
    font-size: 2em;
    font-weight: 800;
    margin-bottom: 20px;
}

.about .content .col-right .paragraph-text{
    font-size: 1em;
}


/* mysocialmedia */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 2rem;
}

.card {
  background: #838383;
  border-radius: 15px;
  padding: 1.5rem;
  width: 250px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,255,255,0.2);
}

.card img {
  width: 60px;
  margin-bottom: 1rem;
}

.card h2 {
  margin-bottom: 0.5rem;
  color: lab(0% 0 0);
}

.card a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  background-color: #ffffff;
  color: #111;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  display: inline-block;
  margin-top: 1rem;
  transition: background 0.3s;
}

.card a:hover {
  background-color: #ff0000;
}

/* mysocialmedia */
.playlist-container {
  max-width: 400px;
  margin: auto;
  padding: 20px;
}

h1 {
  font-size: 28px;
  margin-bottom: 5px;
}

.subtitle {
  color: #aaa;
  margin-bottom: 20px;
}
/* SKILLS */
.skills-container {
  max-width: 600px;
  margin: auto;
  padding: 20px;
}

.skill {
  margin-bottom: 25px;
}

/* TEXT */
.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #111;
}

.skill-info h3 {
  font-size: 16px;
}

.skill-info span {
  font-size: 14px;
}

/* BAR */
.skill-bar {
  width: 100%;
  height: 8px;
  background: #ddd;
  border-radius: 10px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  border-radius: 10px;
  width: 0;
  transition: 1s ease;
}

/* COLORS */
.skill-fill.html { width: 90%; background: #ff4d4d; }
.skill-fill.css { width: 85%; background: #4da6ff; }
.skill-fill.js { width: 30%; background: #ffd11a; }
.skill-fill.php { width: 10%; background: #8c66ff; }

@media (max-width:1040px){

  header{
    padding: 12px 20px;
  }

  header.sticky{
    padding: 10px 20px;
  }

  header .navigation{
    display: none;
  }
.about .content{
    flex-direction: column;
    align-items: center; /* 🔥 center semua */
    text-align: center;
  }

  .about .content .col-left{
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .about .content .col-left .img-card{
    width: 250px; /* biar ga kegedean */
    height: auto;
  }

  .about .content .col-left img{
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .about .content .col-right{
    width: 100%;
    padding: 0 10px;
  }

  .about .content .col-right p{
    text-align: left; /* biar enak dibaca */
  }

  .navigation.active{
    z-index: 889;
    position: fixed;
    background-color: white;
    top: 0;
    right: 0;
    width: 100%; /* FIX dari 380px */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    transition: 0.3s ease;
  }

  header .navigation a{
    color: black;
    font-size: 1.2em;
    margin: 10px;
    padding: 10px 30px;
    border-radius: 5px;
  }

  header .navigation a:hover{
    background-color: #797979;
    color: white;
  }

  .menu-btn{
    position: absolute;
    right: 0;
    margin: 0 20px;
    cursor: pointer;
  }

  /* 🔥 INI YANG FIX PUTIH */
  section{
    padding: 80px 20px;
  }

  .main{
    min-height: 100vh;
    height: 100dvh;
  }

  /* TEXT */
  .main .content h2{
    font-size: 1em;
  }

  .animated-text h3{
    font-size: 2.2em;
  }

  .section-title{
    font-size: 1.8em;
  }

  /* ABOUT */
  .about .content{
    flex-direction: column;
  }

  .about .content .column{
    width: 100%;
  }

  .about .content .col-right{
    margin-top: 40px;
  }

  /* PLAYER */
  .custom-player{
    display: flex;
    align-items: center;
    background: #3b3b3b;
    padding: 10px 15px;
    border-radius: 20px;
    max-width: 100%;
    margin: 20px auto;
    gap: 10px;
  }

  .custom-player button{
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
  }

  #progressBar{
    flex: 1;
    height: 4px;
    border-radius: 10px;
    accent-color: #ffffff;
  }

  .custom-player span{
    font-size: 14px;
    min-width: 40px;
  }
}