/* Reset and Base Styles */
*, *:before, *:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}


body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #1a151578;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal overflow */
}


/* Utility Classes */
.container {
    width: 100%;
}

h1, h2 {
    /* Improve section headings visibility with a bottom margin */

    margin-top: 30px;
    margin-bottom: 1rem;
}

/* Header and Navigation */
header, nav, ul {
    background-color: #000000;
}

header {
    background-color: #000;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10; /* Above other content */
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    padding: 1rem;
}

nav a {
    color: #f5f5f5;
    text-decoration: none;
    padding: 0.5rem 1rem;
}

nav a:hover,
nav a:focus {
    background-color: #f5f5f5;
    color: #000;
}

/* Project Details Section */
.project-details {
    margin: 3rem 0;
}

.project-details figure {
    margin-bottom: 1rem;
    padding: auto;
    box-shadow: 2px;
    
}

.project-details figure figcaption {
    color: #867c7ca7;
    font-size: 0.8rem;
    text-align: center;
}

/* Lighter and cleaner color theme for the project */

/* Responsive Adjustments */
@media (max-width: 768px) {
    nav {
        position: relative;
    }
    
    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: #fff;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    nav a {
        padding: 0.75rem;
    }
    nav ul li {
        border-bottom: 1px solid #ddd;
    }

    nav ul li:last-child {
        border-bottom: 0;
    }

    nav ul.active {
        display: block;
    }
}


footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    width: 100%;
    margin-top: 2rem;

}


/* Slideshow container styles */
.slideshow-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 2rem 0;
}

.project {
    flex: none;
    width: 100%;
    max-width: 600px;
    scroll-snap-align: center;
    background-color: #867c7ca7;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin: 0 10px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.project:hover {
    opacity: 1;
    cursor: pointer;
}

.slideshow-container:hover .project:not(:hover) {
    opacity: 0.2;
}

.project-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-height: 100vh;
    justify-content: space-between;
}

.section-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.technologies-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: fit-content;
    margin: 0 auto;
    background-color: #867c7ca7;
    border-radius: 5px;
padding: 1rem;
}

.technology-item {
    padding: 0.5rem;
    border-radius: 5px;
    background-color: #f5f5f5;
}

.separator {
    padding: 1rem 0;
    background-color: #867c7ca7;
    margin: 1rem 0;
    border-radius: 5px;
}

.see-on-github {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}