* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #111;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    z-index: 1000;
}

.navbar nav a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
}

.navbar nav a:hover {
    color: #00adb5;
}

body {
    padding-top: 70px;
}

.hero {
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #00adb5, #393e46);
    color: white;
    text-align: center;
}

section h2 {
    margin-bottom: 30px;
}

section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.projects {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    width: 300px;
    background: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
}

#skills ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

#skills li {
    background: #00adb5;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
}

footer {
    background: #111;
    color: white;
    padding: 15px;
    text-align: center;
}

@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
    }

    .navbar nav {
        margin-top: 10px;
    }

    .projects-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
    }
}