

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


nav {
    position: sticky;
    top: 0;
    background-color: #282c34;
    z-index: 1000;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 15px 0;
    display: inline-block;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #61dafb;
}


header {
    text-align: center;
    background-color: #282c34;
    color: white;
    padding: 80px 20px;
}

header p {
    font-size: 1.2em;
    margin-top: 10px;
}


section {
    padding: 60px 20px;
    text-align: center;
}

section h2 {
    margin-bottom: 30px;
    font-size: 2em;
    color: #333;
}


.profile-pic {
    width: 250px;
    border-radius: 15px;
    margin-bottom: 20px;
}


#skills ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#skills li {
    background-color: #61dafb;
    color: white;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    transition: transform 0.3s;
}

#skills li:hover {
    transform: scale(1.1);
}


.project {
    margin: 20px auto;
    max-width: 400px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project img {
    width: 100%;
    border-radius: 5px;
}

.project h3 {
    margin-top: 10px;
    color: red;
}

.project:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

#resume a {
    text-decoration: none;
    color: white;
    background-color: #282c34;
    padding: 12px 25px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#resume a:hover {
    background-color: #61dafb;
}

footer {
    background-color: #282c34;
    color: white;
    text-align: center;
    padding: 20px;
}


@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    #skills ul {
        flex-direction: column;
    }

    .project {
        max-width: 90%;
    }
}


.projects-container {
    display: flex;
    flex-wrap: wrap;         
    justify-content: center; 
    gap: 30px;               
    margin-top: 30px;
}

.project {
    margin: 0;               
    flex: 1 1 300px;         
    max-width: 320px;        
}
.project-link {
    display: inline-block;
    margin: 10px 15px 20px 15px;
    padding: 8px 15px;
    background-color: #61dafb;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
}

.project-link:hover {
    background-color: #21a1f1;
    transform: scale(1.05);
}
