@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');
@import url('https://unpkg.com/tippy.js@6.3.1/dist/tippy.css');

body {
    background: #121212;
    color: #e0e0e0;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

nav {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

nav .nav-container {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    padding: 10px 15px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #00e676;
}

.nav-profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

.container {
    max-width: 1200px;
    background-color: rgba(34, 34, 34, 0.9);
    padding: 30px;
    border: 1px solid #333;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.7);
    text-align: center;
    margin: 100px 30px 30px;
}

#project img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

#project img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.7);
}

.tags {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.tags span {
    background-color: #00e676;
    color: #121212;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
    display: inline-block;
    margin-bottom: 5px;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.tags span:hover {
    background-color: #00c853;
    transform: scale(1.1);
}

footer {
    background-color: #1c1c1c;
    padding: 20px 0;
    margin-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9em;
    color: #777;
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.footer-social a {
    font-size: 1.5em;
    color: #00e676;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.footer-social a:hover {
    color: #00c853;
    transform: scale(1.1);
}

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #00e676;
    color: #121212;
    border: none;
    border-radius: 50%;
    padding: 10px 15px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s, transform 0.3s;
    display: none;
}

#back-to-top.show {
    display: block;
}

#back-to-top:hover {
    background-color: #00c853;
    transform: scale(1.1);
}

/* Media Queries */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    #nav-links {
        display: none;
        flex-direction: column;
        gap: 10px;
        background-color: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        text-align: center;
    }

    #nav-links.active {
        display: flex;
    }

    .container {
        margin: 150px 10px 30px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 10px;
    }

    nav ul {
        gap: 5px;
    }

    .container {
        margin: 150px 10px 30px;
        padding: 20px;
    }

    footer {
        font-size: 0.8em;
    }

    .footer-social a {
        font-size: 1.2em;
    }
}
