*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#0f172a;
    color:white;
}

/* NAVBAR */

header{
    position:fixed;
    width:100%;
    top:0;
    z-index:1000;
    background:rgba(15,23,42,.9);
    backdrop-filter:blur(10px);
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
}

.logo{
    color:#38bdf8;
    font-size:28px;
}

nav ul{
    display:flex;
    list-style:none;
    gap:25px;
}

nav a{
    color:white;
    text-decoration:none;
    transition:.3s;
}

nav a:hover{
    color:#38bdf8;
}

/* HERO */

.hero{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:60px;
    padding:120px 10%;
    flex-wrap:wrap;

    background:
    linear-gradient(
        135deg,
        #0f172a,
        #1e293b,
        #2563eb
    );
}

.hero-image img{
    width:300px;
    height:300px;
    object-fit:cover;
    border-radius:50%;
    border:5px solid #38bdf8;

    box-shadow:
    0 0 20px #38bdf8,
    0 0 40px #38bdf8;
}

.hero-text{
    max-width:600px;
}

.hero-text h1{
    font-size:55px;
}

.hero-text span{
    color:#38bdf8;
}

.hero-text h3{
    margin:15px 0;
    color:#cbd5e1;
}

.hero-text p{
    margin-bottom:25px;
}

.btn{
    text-decoration:none;
    color:white;
    background:#38bdf8;
    padding:12px 25px;
    border-radius:30px;
    transition:.3s;
}

.btn:hover{
    background:#0284c7;
}

/* SECTION */

.container{
    padding:100px 10%;
}

.title{
    text-align:center;
    font-size:40px;
    color:#38bdf8;
    margin-bottom:40px;
}

/* CARD */

.card{
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(15px);

    border:1px solid rgba(255,255,255,.1);

    padding:30px;
    border-radius:20px;
}

/* SKILL */

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:20px;
}

.skill-card{
    background:#1e293b;
    text-align:center;
    padding:20px;
    border-radius:15px;
    transition:.3s;
}

.skill-card:hover{
    background:#2563eb;
    transform:translateY(-8px);
}

/* PROJECT */

.project-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.project-card{
    background:#1e293b;
    padding:25px;
    border-radius:20px;
    transition:.3s;
}

.project-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 20px #38bdf8;
}

.project-card h3{
    color:#38bdf8;
    margin-bottom:10px;
}

/* CONTACT */

.contact-card{
    text-align:center;
}

/* FOOTER */

footer{
    background:#020617;
    text-align:center;
    padding:20px;
}

/* RESPONSIVE */

@media(max-width:768px){

    nav{
        flex-direction:column;
        gap:15px;
    }

    .hero{
        text-align:center;
    }

    .hero-text h1{
        font-size:40px;
    }

    .hero-image img{
        width:220px;
        height:220px;
    }
}