*{
    margin-left: 30px;
    margin-right: 2%;
    margin-bottom: 0;
    width: auto;
    scroll-behavior: smooth;
    box-sizing: border-box;
    background: #a34141;
    background-image:
    linear-gradient(rgba(255,0,0,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,0,0,0.3) 1px, transparent 1px);
    
    background-size:60px 60px;
    
    animation:gridMove 12s linear infinite;
    /* animasi grid bergerak */
    @keyframes gridMove{

    0%{
    transform:translate(0,0);
    }
    
    100%{
    transform:translate(-60px,-60px);
    }
}
}

.semua{
    max-width:1200px;
    min-width:500px;
    margin:auto;
    padding:20px;
}
.loader{
    position:fixed;
    top:0;
    left:0;
    margin: auto;
    max-width:100%;
    width: 100%;
    height:100%;
    
    background: linear-gradient(135deg,#ff0000,#8b0000,#300000);
    
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    
    color:rgb(237, 231, 231);
    font-size:2vw;
    
    z-index:999;
    transition:opacity 1s ease;
    }
    
    /* efek grid tech */
    
    .spinner{
        display:inline-block;
        width:25px;
        height:25px;
        border:4px solid white;
        border-top:4px solid transparent;
        border-radius:50%;
        margin-left:10px;
        animation:spin 1s linear infinite;
        }
        
        @keyframes spin{
        0%{transform:rotate(0deg);}
        100%{transform:rotate(360deg);}
        }
        

.navbar{
    font-family: 'roboto',sans-serif;
    margin-top: 30px;
    margin-right: 0;
    max-width: 100%;
    margin: auto;
    padding: 1px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background:none;
}
.active{
    display: flex;
    list-style: none;
    max-width: 100%;
}
.navbar a{
    text-decoration: none;
    background-color: none;
    margin-right: 2%;
    color: white;
    font-size: 1.5vw;
    transition: 1,2s ease-in-out;
}
.navbar a:hover{
    color: wheat;
    transform: scale(1.2);
    transition: 1,2s ease-in-out;
}

.pengenalan {
justify-content: center;
letter-spacing: 0.5;
text-align: justify;
display: flex;
font-family: 'Kanit',sans-serif;
 margin-top: 100px;
 color: white;
}

.hallo{
    text-align: justify;
    padding:0;
    color: white;
    font-family: 'Montserrat',sans-serif;
    font-size: 3vw;
    letter-spacing: 1px ;
    opacity: 1;
    transform: translateY(100px);
    transition: 0.6s;
}

.identitas{
    font-family: 'Kanit',sans-serif;
    font-size: 2vw;
    padding-right: 10%;
    border-right:3px solid red;
        padding-right:5px;
    animation:blink 0.7s infinite;
}

@keyframes blink{
0%{border-color:transparent;}
50%{border-color:red;}
100%{border-color:transparent;}
}
.deskripsi1{
    font-family: 'Kanit',sans-serif;
    font-size: 1.5vw;
    margin-left: 5%;
    margin-right:20%;
    text-align: justify;
    word-spacing: 3px;
}
.photoprofile{
  max-width: 100%;
  margin: auto;  
  margin-right: 10%;
  transition: 1,2 ease-in;

}
.photoprofile img{
    width: 100vw;
    max-width: 100%;
    height: auto;
    background-color: #c94d4d;
    padding: 2px;
    border-radius: 60px;
    display: inline-block;
}

.project{
    margin-top: 100px;
    text-decoration: none;
   
}
.listproject{
    font-family: 'Roboto','times new roman',sans-serif;
    font-size: 2vw;  
    color: white;
    text-align: center;
    margin:auto;

}
.listproject img{
    display: inline-block;
    justify-content: center;
    margin-top: 20px ;
    width: 70vw;
    max-width: 100%;
    height: auto;

}

.listproject img:hover{
    opacity: 0.5;
    transform: scale(1.1);
    transition: 1.2s ease;
}

.button{
    width: 70vw;
    max-width: 100%;
    margin: auto;
}

.lainnya {
    color: white;
    color: orange;
    padding: 2vw;
    max-width: 100%;
    font-size: 2vw;
    border-color: orange;
    text-decoration: none;
    font-family: 'times new roman',sans-serif;
    border-radius: 10px;
    margin-top: 2%;
    margin-left: 20%;
    max-width: 100%;
    height: auto;
}

.lainnya:hover{
    transform: scale(1.1);
    transition: 1,2 ease;

}
#certifications{
    max-height: 0;
    overflow: hidden;
    transition: 0.5s ease;
}

#certifications.show{
    max-height: 1000px; /* cukup besar */
}
    
        .card-container{
            display:flex;
            justify-content: center; /* INI KUNCINYA */
            align-items: center;
            gap: 20px;
            flex-wrap: wrap; /* biar responsif ke bawah */
            overflow: visible; 
            padding: 5%;
            margin-top: 5%;
             }
            
            .card1, .card2, .card3, .card4{
                width: 250px; /* jangan pakai 80vw, kegedean */
                transition: 0.4s;
            }
            
            .card1 img, .card2 img, .card3 img, .card4 img{
                width: 100%;
                object-fit: contain;
                border-radius: 5px;
            }
            .card1 img:hover{
                transform: scale(1.5);
                z-index: 10;
            transition: 0.5s ease;
            box-shadow: 0 12px 20px rgba(0,0,0,0.3);
            
            }

            .card2 img:hover{
                transform: scale(1.5);
                position: relative;
                overflow-y: visible;
                        z-index: 10;
                transition: 0.5s ease;
                box-shadow: 0 12px 20px rgba(0,0,0,0.3);
                }
            .card3 img:hover{
                transform: scale(1.5);
                 z-index: 10;
                    transition: 0.5s ease;
                    box-shadow: 0 12px 20px rgba(0,0,0,0.3);
                    }
            .card4 img:hover{
                        transform: scale(1.5);
                        z-index: 10;
                        transition: 0.5s ease;
                        box-shadow: 0 12px 20px rgba(0,0,0,0.3);
                        }
            
                           
              @media (max-width: 768px){
                            .card1, .card2, .card3, .card4{
                                width: 45%; /* jadi 2 kolom */
                            }
                        }

.background_skillset{
    margin-top: 100px;
    color: white;
    max-width:1200px;
    min-width:500px;
    margin:auto;
    padding:20px;
    
}

.background_skillset h2{
    font-size: 7vw;
    margin-left: 10%;
    margin-right: 30%;

}

.latarbelakang1{
    display: flex;
    justify-content: center;
    max-width: 100%;
    margin:auto;  
}
.latarbelakang1 p{
    margin-top: 10%;
    margin-right: 5%;
    text-align: justify;
    font-size: 3vw;
}
.latarbelakang1 a{
    text-decoration: none;
    font-size: 2.7vw;
    color: wheat;
    justify-content: center;
    padding: 0;
    margin: 0;
}


.latarbelakang1 img{
    display: inline-block;
    margin-top: 20px;
    margin-left: 0%;
    background-color: #a34141;
    width: 50vw;
    max-width: 100%;
    height: auto;
    margin: auto;
    border-radius: 40px;
}
.latarbelakang2{
    display: flex;
    justify-content: center;
    max-width: 100%;
    margin:auto;
}
.latarbelakang2 img{

    display: inline-block;
    margin-bottom: 10%;
    margin-left: 0%;
    background-color: #a34141;
    width: 50vw;
    max-width: 100%;
    height: auto;
    margin: auto;
}
.latarbelakang2 p{
    margin-top: 20%;
    margin-right: 5%;
    text-align: justify;
    font-size: 3vw;
}
.latarbelakang2 a{
    padding: 0;
    margin: 0;
    text-decoration: none;
    font-size: 2.7vw;
    color: wheat;
}

.education{
    margin-top: 200px;
    max-width: 100%;
    margin: auto; 
}

.education h2{
    font-size: 7vw;
    margin-top: 150px;
    margin-left: 20%;
    margin-right: 10%;
    text-align: right;
}
.educationdesc{
  display: flex;  
}

.educationdesc p{
    margin-top: 10%;
    margin-right: 5%;
    text-align: justify;
    font-size: 3vw;
  }

.educationdesc img{
    margin-top: 20px;
    width: 50vw;
    max-width: 100%;
    height: auto;
    margin: auto;
}
.skills{
margin-top: 100px;
}
 .skills-container{
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #ff0033;
    box-shadow: 0 0 15px #ff0033, 0 0 30px #ff0033;
    border-left: none;
    border-right: none;
    padding: 10px 0;
    margin: auto;
    margin-top: 2%;
}

.gambar{
    flex: 0 0 auto;
    width: clamp(100px, 25vw, 180px); /* lebih stabil */
    margin: 0 clamp(10px, 3vw, 30px);
   
    height: auto;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    border-radius: 20px;

}

.skills_img{
    display: flex;
    width: max-content;
    animation: scroll 10s linear infinite;
    will-change: transform;
}

@keyframes scroll{
    0%{
        transform: translateX(0);
    }
    100%{
        transform: translateX(-50%);
    }
}
@media (max-width: 800px) {
        .skills-container{
            margin-right: 3vw;
        }
        .skills_img {
            animation: scroll 2s linear infinite;
    }
    .gambar {
        width:40px; /* lebih kecil */
        height: auto;
        margin: 0 10px; /* jangan terlalu jauh */
    }

}
.skills-container:hover .skills_img{
    animation-play-state: paused;
}
.skills_img img{
    width: 80%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    justify-content: center;
    background-color: none;
    padding: none;
}

.skills p{
    color: #ff9100;
    text-align: center;
    font-size: 5vw;

    /* efek neon 🔥 */
    text-shadow: 
        0 0 5px #e9e4e5,
        0 0 10px #ff0033,
        0 0 20px #ff0033,
        0 0 40px #ff0033;
}
.softskills{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3%;
    flex-wrap: nowrap;
    padding: 20px;

    width: 100%;       /* 🔥 full layar */
    margin: 0 auto;    /* 🔥 center container */
}
/* CARD */
.softskills_card{
    position: relative;
    width: 20vw;
    border-radius: 20px;
    overflow: visible;
    
    background: none;
    
    transition: 0.4s;
}

/* hover */
.softskills_card:hover{
    transform: scale(1.05);
    box-shadow: 
        0 0 20px #f5f2f3,
        0 0 40px #ff0033,
        0 0 80px #ff0033;
}

/* gambar */
.softskills_card img{
    width: 100%;
    max-width: fit-content;
    justify-content: center;
    display: flex;
    opacity: 1;
}

/* teks */
.softskills_card p{
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translate(-50%, -10px); /* posisi awal agak naik */
    
    color: white; /* 🔥 jadi putih */
    font-weight: bold;
    font-size: 18px;

    opacity: 0; /* 🔥 disembunyikan */
    transition: 0.4s ease;
}

/* muncul saat hover */
.softskills_card:hover p{
    opacity: 2;
    transform: translate(-50%, 0); /* turun sedikit biar smooth */
}
.contact{
    margin-top: 50%;
    margin-bottom: 20%;
    padding: 0;
    max-width: 100%;
    margin: auto;
    color: white;
}

.contact h2{
    font-family: 'Courier New', Courier, monospace;
    font-size: 4vw;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact p{
    font-family: 'KANIT', Courier, monospace;
    font-size: 3vw;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.contact-icons {
    margin-top: 5%;
    margin-bottom: 10%;
    gap: 5vw;

    width: 60vw;
    max-width: 100%;
    height: auto;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-left: auto;
    margin-right: auto;
}

.contact-icons i{
    font-size: 3vw;
    max-width: 100%;
    padding: 0;
    background: none;
    
}
.contact-icons .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 8vw;
    height: 8vw;
    border-radius: 50%;
    background: none;
    color: orange; /* semua ikon orange */
    font-size: 28px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255,165,0,0.3);
}

.contact-icons .icon:hover {
    transform: scale(1.7) rotate(-10deg);
    box-shadow: 0 10px 25px rgba(255,165,0,0.8); /* glow orange */
}

/* Animasi neon garis di sekitar ikon */
.contact-icons .icon::before {
    content: '';
    position: absolute;
    width: 10vw;
    height: 10vw;
    border-radius: 50%;
    border: 2px solid orange;
    opacity: 0;
    transition: 0.3s;
    transform: scale(0.9);
}

.contact-icons .icon:hover::before {
    opacity: 1;
    transform: scale(1.2);
}
.footer{
font-size: 1vw;
text-align: center;
margin-bottom: 0;
color: white;
max-width: 100%;
margin: auto;
}
@media (max-width:1200px){
    *{
        max-width: 100%;
        height: auto;
    }
}

@media (max-width:992px){
    *{
        max-width: 100%;
        height: auto;
    }
}

@media (max-width:768px){
    *{
        max-width: 100%;
        height: auto;
    }
}

@media (max-width:576px){
    *{
        max-width: 100%;
        height: auto;
    }
}
