/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Fira Code', monospace;
}

/* Body Styles */
body {
    background: url('background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #CCCCCC;
    line-height: 1.6;
}

/* Navigation Bar */
nav {
    background: rgba(0, 0, 0, 0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 10px;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #0AF;
}

/* About Section */
#about {
    text-align: center;
    margin: 50px 20px;
}

.glitch-wrapper {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.pic {
    margin: 20px auto;
    text-align: center;
}

.pic img {
    max-width: 150px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
}

.about-text {
    margin: 20px auto;
    max-width: 700px;
    text-align: justify;
}

/* Projects Section */
#projects {
    text-align: center;
    padding: 50px 20px;
}

#projects h1 {
    font-size: 36px;
    margin-bottom: 30px;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
}

.tablink {
    margin: 0 10px;
    padding: 10px 20px;
    border: 2px solid #0AF;
    background: transparent;
    color: #0AF;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.tablink:hover,
.tablink.active {
    background-color: #0AF;
    color: #fff;
}

.tabcontent {
    display: none;
    margin: 0 auto 30px auto;
    max-width: 700px;
}

.tabcontent.active {
    display: block;
}

/* Project Items */


.project-video {
    max-width: 100%;
    margin: 20px auto;
    display: block;
}

.project-image {
    width: 100%;
    max-width: 700px;
    margin: 20px auto;
}

.tech-stack ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 20px;
}

.tech-stack ul li {
    margin: 0 10px;
}

.tech-stack ul li img {
    width: 50px;
    height: 50px;
}
.github-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2ea44f;  /* GitHub's green color */
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    margin: 15px 0;
    transition: background-color 0.3s ease;
}

.github-link:hover {
    background-color: #2c974b;  /* Slightly darker on hover */
}

.github-link:visited {
    color: white;  /* Ensures link stays white even after visiting */
}

/* Contact Section */
#contact {
    padding: 30px 20px;
    text-align: center;
}

#contact h1 {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    display: inline-block;
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

.social-links img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsiveness */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin-bottom: 10px;
    }

    .tabs {
        flex-direction: column;
    }

    .tablink {
        margin-bottom: 10px;
    }

    .tabcontent {
        padding: 10px;
    }

    .pic img {
        max-width: 100px;
    }

    .social-links a {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    nav ul li a {
        font-size: 16px;
    }

    #about {
        margin: 30px 10px;
    }

    .glitch-wrapper {
        font-size: 36px;
    }

    .tabs {
        padding: 0 10px;
    }
}
