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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #0d0d12;
    color: white;
    line-height: 1.6;
}

/* Navigation */

header {
    position: sticky;
    top: 0;
    background: #111118;
    padding: 20px 8%;
    z-index: 10;
}

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

nav h2 {
    color: #b98cff;
}

.nav-links {
    display: flex;
    gap: 25px;
}

a {
    color: #b98cff;
    text-decoration: none;
}

a:hover {
    color: white;
}


/* Sections */

section {
    padding: 80px 10%;
    min-height: 50vh;
}

section h2 {
    margin-bottom: 25px;
    color: #b98cff;
}


/* Hero */

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.small-text {
    color: #b98cff;
    letter-spacing: 3px;
}

.hero h1 {
    font-size: 60px;
    margin: 10px 0;
}

.hero h2 {
    color: #ccc;
}

.hero p {
    max-width: 600px;
    margin-bottom: 30px;
}


/* Button */

.button {
    display: inline-block;
    background: #8d5cff;
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
}

.button:hover {
    background: #7040d8;
}


/* Skills */

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skill {
    padding: 12px 20px;
    background: #191923;
    border: 1px solid #333;
    border-radius: 6px;
}


/* Projects */

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.project-card {
    background: #17171f;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #292936;
}

.project-card h3 {
    margin-bottom: 10px;
    color: #b98cff;
}

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


/* Contact */

#contact a {
    display: inline-block;
    margin-top: 10px;
}


/* Footer */

footer {
    text-align: center;
    padding: 30px;
    background: #111118;
    color: #888;
}


/* Mobile */

@media (max-width: 700px) {

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

    .nav-links {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 42px;
    }

    section {
        padding: 60px 7%;
    }
}
