nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid  #333333;
    

    ul li{
         margin: 20px;
    }
     a{
        text-decoration: none;
        padding: 20px;
        color: #333333;
         
    }
    a:hover{
        color: #1c1b1b;
    }
}

#hero {
    display: flex ;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    flex-wrap: wrap;
    padding: 0;

    h1{
        text-transform: uppercase;
        font-size: 5rem;   
    }
    a{
        text-decoration: none;
        color: #333333;
    }
    a:hover{
        border-bottom: 1px solid black;
    }
}

#background {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
}

#background .bg-con {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px;
    padding: 20px;
}

#background .bg-item {
    background-color: #222222;
    color: white;
    padding: 20px;
    width: 400px;
    border-radius: 10px;
    border: none;
    text-decoration: none;
    text-align: center;
    box-shadow: #222222 2px 2px 10px;
}

#background .bg-item h1,
#background .bg-item h2 {
    color: white;
    background: none;
    border: none;
    text-decoration: none;
    margin: 5px 0;
}

#background .bg-item h1 {
    font-size: 25px;
}

#background .bg-item h2 {
    font-size: 15px;
}

#work {
    background-image: url('images/black.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 20px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    h1 {
        text-align: center;
        margin-bottom: 10px;
        background-color: transparent;
        color: white;
        font-size: 25px;
    }
    h2 , p{
        background-color: transparent;
        color: white;
        font-size: 15px;
        text-align: justify;
    }
    .work-con {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
        background-color: transparent;
    }
    .work-item {
        background-color: rgba(0, 0, 0, 0.7);
        padding: 20px;
        border-radius: 10px;
        max-width: 500px;
    }
}

#skills {
    padding: 60px 20px;
    width: 100%;
    .SectionTitle {
        text-align: center;
        margin-bottom: 40px;
    }
    .SectionTitle h2 {
        font-size: 40px;
        margin-bottom: 10px;
    }
     .SectionTitle p {
        font-size: 14px;
        line-height: 1.4;
        opacity: 0.8;
    }
    .AllSkills {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }
    .AllSkills > div {
        background: #222;
        padding: 25px;
        width: 260px;
        border-radius: 12px;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }
    .skillEnd {
        font-size: 20px;
        margin-bottom: 15px;
        color: white;
    }
    .skillTitle {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .skillType {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 10px 0;
        font-size: 16px;
        color: white;
    }
    .tech-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}


}

.projects-section {
    display: flex;
    height: 100vh;
    width: 100%;
}

.sidebar {
    width: 250px;
    background: #111;
    color: white;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.cat-header {
    font-size: 18px;
    font-weight: bold;
    margin-top: 15px;
    cursor: pointer;
    padding: 10px 5px;
    background-color: #222;
    border-radius: 5px;
}

.cat-header:hover {
    background-color: #333;
}

.cat-list {
    list-style: none;
    padding-left: 15px;
    margin-top: 5px;
    display: none; /* hidden by default */
}

.cat-list li {
    padding: 8px 5px;
    cursor: pointer;
    border-radius: 5px;
}

.cat-list li:hover {
    background-color: #333;
}

.projectDisplay {
    flex: 1;
    background: #1a1a1a;
    padding: 30px;
    color: white;
    overflow-y: auto;
}
.project-images img {
    width: 250px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin: 10px 10px 0 0;
}
.project-images .click-note {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 10px;
    text-align: center;
    font-style: italic;
}

.lightbox {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 20px black;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    font-weight: bold;
}


 

.contact {
    padding: 60px 20px;
    text-align: center;
    font-family: 'Arial', sans-serif;
    h2 {
        font-size: 36px;
        margin-bottom: 10px;
        color: #1c1b1b; 
    }
    h3 {
        font-size: 18px;
        margin-bottom: 5px;
    }
    h3 a {
       
        text-decoration: none;
    }
    h3 a:hover {
        color: #ff4c4c;
        text-decoration: underline;
    }
    h4 {
        font-size: 16px;
        margin: 20px 0;
        letter-spacing: 1px;
    }

    .webdev-buttons {
        display: flex;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
        margin-top: 20px;
         a {
            padding: 12px 25px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: bold;
            transition: 0.3s;
            color: #fff;
        }
    }
    .githubButton {
        background-color: #24292f;
    }
    .githubButton:hover {
        background-color: #444;
    }
    .linkedinButton {
        background-color: #0077b5;
    }
    .linkedinButton:hover {
        background-color: #005582;
    }
    .resumeButton {
        background-color: #ff4c4c;
    }

    .resumeButton:hover {
        background-color: #e03f3f;
    }
}















