*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:
    "Pretendard",
    sans-serif;

    background:#f8fafc;
    color:#0f172a;
}

/* =====================
   HEADER
===================== */

header{
    position:sticky;
    top:0;

    background:white;

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

    padding:20px 10%;

    border-bottom:1px solid #e2e8f0;

    z-index:100;
}

.logo{
    font-size:24px;
    font-weight:700;
}

nav{
    display:flex;
    gap:20px;
}

nav a{
    text-decoration:none;
    color:#334155;
    font-weight:500;
}

/* =====================
   HERO
===================== */

.hero{
    min-height:80vh;

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

    text-align:center;

    padding:20px;
}

.hero h1{
    font-size:24px;
    color:#2563eb;
}

.hero h2{
    font-size:54px;
    margin:15px 0;
}

.hero p{
    font-size:20px;
    color:#64748b;
    line-height:1.7;
}

.btn{
    margin-top:30px;

    background:#2563eb;
    color:white;

    text-decoration:none;

    padding:14px 28px;

    border-radius:12px;
}

/* =====================
   SECTION
===================== */

section{
    padding:100px 10%;
}

section h2{
    text-align:center;

    font-size:36px;

    margin-bottom:50px;
}

/* =====================
   ABOUT
===================== */

#about p{
    max-width:700px;
    margin:20px auto;

    text-align:center;

    line-height:1.8;
}

/* =====================
   SKILLS
===================== */

.skills{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(150px,1fr));

    gap:20px;
}

.skill-card{
    background:white;

    padding:25px;

    text-align:center;

    border-radius:15px;

    box-shadow:
    0 5px 15px rgba(0,0,0,.05);
}

/* =====================
   PROJECTS
===================== */

.project-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(320px,1fr));

    gap:30px;
}

.project-card{
    background:white;

    padding:30px;

    border-radius:20px;

    box-shadow:
    0 5px 15px rgba(0,0,0,.08);
}

.project-card h3{
    margin-bottom:15px;
}

.project-card p{
    margin-bottom:20px;
}

.tags{
    display:flex;
    gap:10px;

    flex-wrap:wrap;

    margin-bottom:20px;
}

.tags span{
    background:#dbeafe;

    color:#1d4ed8;

    padding:5px 10px;

    border-radius:20px;

    font-size:14px;
}

.project-card a{
    text-decoration:none;
    font-weight:600;
}

/* =====================
   CONTACT
===================== */

#contact{
    text-align:center;
}

#contact p{
    margin:10px 0;
}

/* =====================
   FOOTER
===================== */

footer{
    text-align:center;

    padding:30px;

    color:#64748b;
}

/* =====================
   MOBILE
===================== */

@media(max-width:768px){

    header{
        flex-direction:column;
        gap:15px;
    }

    .hero h2{
        font-size:38px;
    }

    .hero p{
        font-size:18px;
    }

}