
/*
*
*
General CSS (navbar and footer) 
*
*
*/
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #4c5e38;
    font-size: 16px;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}



.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #d5c6b3;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
    list-style: none;
}

.nav-button {
    background-color: #49433b;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
}

.nav-button:hover {
    background-color: #7d7365;
}


.footer {
    background-color: #d5c6b3;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.github-section,
.resume-section,
.linkedin-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.resume-icon {
    width: 3rem;
    height: auto;
}

.github-logo {
    width: 6rem;
    height: auto;
}

.linkedin-logo {
    width: 2.5rem;
    height: auto;
}

.github-text,
.resume-text,
.linkedin-text {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-weight: bold;
    font-size: 2rem;
    color: #49433b;
    margin: 0;
    font-weight: bold;
    color: #49433b;
    font-size: 1.2rem;
}

.github-logo:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}
.resume-icon:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.linkedin-logo:hover{
    transform: scale(1.1);
    transition: transform 0.3s ease;
}



/*
 *
 *
Home Page CSS
 *
 *
 */


.name {
    font-family:'Courier New', Courier, monospace;
    font-size: 2rem;
    color: #ffffff;
    margin: 1.5rem auto;
    margin-top: 0%;
    margin-bottom: 0%;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background-color: #49433b;
    text-align: center;
    width: fit-content;
}



.profile-picture {
    width: 100%;
    height: 100%;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
    border-radius: 0.75rem;
}

.bio-text {
    position: relative;
    width: 45%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.5rem;
    border-radius: 12px;
    background-color: #49433b;
    max-width: 30vw;
    padding: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.picture-section {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    margin: 2rem;
    width: 100%;
    gap: 2rem;
    max-width: 90vw;
    
}

.bio-heading {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 2rem;
    color: #ffffff;
    text-align: center;
    background-color: #49433b;
    border-radius: 0.5rem;
    margin-bottom: 0%;
    margin-top: 0%;
}


.picture-bio {
    flex: 1 1 35%;
    max-width: 500px;
    width: 100%;
    margin: 2rem 0;
}



/*
*
* 
About Page CSS 
*
*
*/

.about-h1,.about-h2,.about-h3{
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 1.5rem;
    color: #ffffff;
    text-align: left;
    background-color: #49433b;
    padding: 0.25em 0.75em;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    max-width: 30%;
}
.why-cs, .tech-skills-heading{
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 1.1rem;
    color: #ffffff;
    text-align: left;
    background-color: #7d7365;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    max-width: 20%;

}
.why-cs-content {
    background-color: #7d8d6b;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 98%;
    font-family: 'Courier New', Courier, monospace;
    color: #ffffff;
}



.prg-lang, .tech-tools {
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 1rem;
    color:#49433b;
    background-color: #d5c6b3;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    max-width: 15%;
    
}

.tech-skills-list, .tech-tools-list {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    list-style: none;
    padding: 0.25rem;
    border-radius: 0.5rem;

}
.tech-skills-list li, .tech-tools-list li {
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
    background-color: #49433b;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-family:'Courier New', Courier, monospace;
    font-size: 1rem;
}
.tech-skills-list li:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}


.record {
    width: 80%;
    max-width: 20rem;
    aspect-ratio: 1 / .862;
    border-radius: 50%;
    animation: spin 5s linear infinite;
    transition: animation-play-state 0.2s ease;
    margin: 2rem auto;
    display: block;
}

.record:hover {
    animation-play-state: paused;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}


.music-section {
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #d5c6b3;
    border-radius: 0.75rem;
    padding: 1rem;
    margin: 1rem 0;
    width: 40%;
    max-width: 45vw;
    flex: 1 1 35%;
}

.music-heading {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 1rem;
    color: #ffffff;
    text-align: center;
    background-color: #7d7365;
    padding: 0.25em 0.75em;
    width: 100%;
    border-radius: 0.5rem;
    margin-top: 0%;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .record {
        width: 80vw;
    }

    .music-heading {
        font-size: 1.5rem;
        padding: 0.5em 1em;
    }

    .music-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 1.5rem;
    }

    .bio-text {
        font-size: 1rem;
    }

    .record {
        width: 90vw;
    }

    .nav-button {
        width: 100%;
        text-align: center;
    }
}

.hobby-section{
    align-items: center;
    justify-content: center;
    background-color: #d5c6b3;
    border-radius: 0.75rem;
    padding: 1rem;
    width: 50%;
    max-width: 45vw;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
}

.hobby-heading {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 1rem;
    color: #ffffff;
    text-align: center;
    background-color: #7d7365;
    padding: 0.25em 0.75em;
    border-radius: 0.5rem;
    margin-top: 0%;
}
.hobby-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.hobby-list li {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    font-weight: bold;
    color: #49433b;
    margin: 0.25rem 0;
}

.music-and-hobbies{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem auto;
    width: 100%;
}

.contact-info {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    color: #ffffff;
    background-color: #7d8d6b;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    max-width: 20%;
}

/*
*
* 
Projects Page CSS 
*
*
*/

.project-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    list-style: none;
    margin-right: 2.5%
}

.project-items li {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    color: #ffffff;
    background-color: #7d8d6b;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
}

.project-title {
    font-size: 1.05rem;
    font-weight: bold;

}

.project-categories {
    margin-top: 10%;
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0.5rem;
    margin-left: 5%;
    margin-right: 5%;
}

.project-categories li {
    align-items: center;
    background-color: #7d8d6b;
    border-radius: 0.5rem;
    padding: 1rem;
    width: 50%;
    font-family: 'Courier New', Courier, monospace;
    color: #ffffff;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
}
.project-categories li:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.cycle-button {
    background-color: #7d7365;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 0.8rem;
    text-align: center;
    margin: 1rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
}


.projects-h1 {
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 1.5rem;
    color: #ffffff;
    text-align: left;
    background-color: #49433b;
    padding: 0.25em 0.75em;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.project-category-description {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    color: #ffffff;
    background-color: #7d8d6b;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0%;
    margin-top: 2%;
    margin-left: 10%;
    margin-right: 10%;
    text-align: center;
}

.all-buttons {
    display: flex;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
}

.back-button-container {
    margin-left: auto;
    margin-right: 1.5%;
}

.back-button {
    background-color: #49433b;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 0.8rem;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
}





/* Make sure project images are visible */
.image-container {
    position: relative;
    width: 200px; /* smaller width */
    height: auto;
    margin-top: 1rem;
}

.projectss {
    display: none;
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.3);
}

.projectss.active {
    display: block;
}


  /* Lightbox container (shared style for both lightboxes) */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
}

  /* Hide lightbox when not active */
.lightbox.hidden {
    display: none;
}

  /* Lightbox image style */
.lightbox img {
    max-width: 90%;
    max-height: 80%;
}

  /* Arrows for navigation */
.arrow {
    position: absolute;
    top: 50%;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    user-select: none;
    transform: translateY(-50%);
}

.arrow.left {
    left: 30px;
}

.arrow.right {
    right: 30px;
}

  /* Close button style */
.close-btn {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
}

.image-container img {
    display: none; /* hide all images by default */
    max-width: 300px;
    height: auto;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.3);
}

  /* Show only the first image */
.image-container img:first-child {
    display: block;
}


/*
*
* 
Coursework Page CSS 
*
*
*/

.coursework-h1{
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 1.5rem;
    color: #ffffff;
    text-align: left;
    background-color: #49433b;
    padding: 0.25em 0.75em;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.coursework-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    list-style: none;
    margin-right: 2.5%
}
.coursework-list li {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    font-weight: bold;
    color: #ffffff;
    background-color: #7d8d6b;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
}

.coursework-title {
    font-size: 1.05rem;
}

