*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
    scroll-behavior:smooth;
}

body{
    background:#0f172a;
    color:white;
    overflow-x:hidden;
}

/* PARTICLES BACKGROUND */
canvas{
    position:fixed;
    top:0;
    left:0;
    z-index:-1;
}

/* NAV */
nav{
    position:fixed;
    width:100%;
    background:rgba(0,0,0,0.6);
    backdrop-filter:blur(10px);
    padding:15px;
    text-align:center;
    z-index:100;
}

nav a{
    color:white;
    margin:0 15px;
    text-decoration:none;
    transition:0.3s;
    font-weight:500;
}

nav a:hover{
    color:#38bdf8;
}

/* HERO */
header{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:20px;
}

header img{
    width:180px;
    height:180px;
    border-radius:50%;
    border:4px solid #38bdf8;
    object-fit:cover;
    transition:0.5s;
}

header img:hover{
    transform:scale(1.1) rotate(3deg);
}

h1{
    margin-top:20px;
    font-size:32px;
}

.typing{
    color:#38bdf8;
    font-weight:bold;
    margin-top:10px;
    min-height:24px;
}

/* SECTIONS */
section{
    padding:80px 20px;
    max-width:1000px;
    margin:auto;
    opacity:0;
    transform:translateY(50px);
    transition:1s;
}

section.show{
    opacity:1;
    transform:translateY(0);
}

h2{
    text-align:center;
    margin-bottom:40px;
    color:#38bdf8;
    font-size:28px;
}

.card{
    background:rgba(255,255,255,0.05);
    padding:20px;
    border-radius:15px;
    margin-bottom:20px;
    transition:0.4s;
}

.card:hover{
    transform:translateY(-10px);
}

/* SKILLS GRID */
.skills{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:20px;
}



/* CONTACT */
.contact a{
    display:block;
    margin:8px 0;
    color:#38bdf8;
    text-decoration:none;
    font-size:16px;
}

.contact a i{
    margin-right:8px;
    color:#38bdf8;
}

.contact a:hover i{
    color:#ffffff;
}

/* FOOTER */
footer{
    text-align:center;
    padding:20px;
    background:#111827;
}

/* ABOUT TABLE FOR HOBBIES */
.about-list{
    margin-top:15px;
}

.about-list li{
    margin:5px 0;
}
