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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}


/* ================= NAVBAR ================= */

nav {
    background-color: #222;
    color: white;

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

    padding: 20px 10%;
}

nav h2 {
    font-size: 24px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
}


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

.hero {
    min-height: 80vh;

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

    text-align: center;

    background-color: #f4f4f4;
}

.hero-content {
    max-width: 700px;
}

.greeting {
    font-size: 20px;
}

.hero h1 {
    font-size: 60px;
    margin-bottom: 5px;
}

.hero h2 {
    font-size: 25px;
    margin-bottom: 15px;
}

.description {
    font-size: 18px;
    margin-bottom: 25px;
}


/* ================= BUTTON ================= */

.button {
    display: inline-block;

    background-color: #222;
    color: white;

    padding: 12px 25px;

    text-decoration: none;

    border-radius: 5px;
}


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

section {
    padding: 80px 10%;
}

.section-title {
    text-align: center;
    font-size: 35px;
    margin-bottom: 40px;
}


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

.about-content {
    max-width: 700px;
    margin: auto;
}

.about-text p {
    margin-bottom: 15px;
}


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

#skills {
    background-color: #f4f4f4;
}

.skills-container {
    display: flex;
    justify-content: center;
    gap: 20px;

    flex-wrap: wrap;
}

.skill-card {
    width: 250px;

    padding: 25px;

    background-color: white;

    border-radius: 10px;

    text-align: center;
}

.skill-card h3 {
    margin-bottom: 10px;
}


/* ================= PROJECT ================= */

.project-container {
    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;
}

.project-card {
    width: 280px;

    padding: 25px;

    border: 1px solid #ddd;

    border-radius: 10px;

    text-align: center;
}

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

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

.project-button {
    display: inline-block;

    color: #222;

    text-decoration: none;

    font-weight: bold;
}


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

#contact {
    text-align: center;

    background-color: #f4f4f4;
}

#contact p {
    margin-bottom: 20px;
}


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

footer {
    background-color: #222;

    color: white;

    text-align: center;

    padding: 20px;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

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

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

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

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

    section {
        padding: 60px 5%;
    }

}