
body{

    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
    margin: 0
 
}

#nav-bar {

    position: sticky;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: white;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 9%;
    margin-bottom: 40px;


    border-bottom: 1px solid lightgray;
}

#home {

    font-weight: bold;
    color: black;
}

#home:hover {

    color: blue;
}

a{

    text-decoration: none;
    margin: 0
}


a:visited{

    color: rgb(62, 81, 99);
}

#projects-container {

    display: flex;
    flex-direction: column;
}

.hide-project{
 
    display: none;
}

.projects {

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
   
}

.screenshot-links {

    width: 40%;
    display: flex;
    flex-direction: column;
    max-height: 40%;
   /* height: 100%;*/
}

.screenshot {

    width: 100%;
    min-width: 300px;
    border: 1px solid gray;
}

.projects:hover .projects-hover {

    width: 80%;
}

.projects-hover {

    background-color: lightgray;
    content: '';
    width: 0px;
    height: 2px;
    bottom: -2px;
    transition: all 0.5s ease; 
    margin-top: 50px;
    margin-bottom: 50px;
}

.non-hover-project {

    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
   
}

    

h1 {

 font-size: 2.7rem;
 margin-top: 1.3%;
 margin-bottom: 0;
 margin-left: 20px;
}

.project-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 0px;
    font-size: 1.1rem;
   
}

.project-link {

    margin: 10px;
    color: rgb(62, 81, 99);
    margin-left: 0;
}

.project-link:hover {

    color: rgb(73, 143, 223);
}
.project-description {

    width: 50%;

    display: flex;

    flex-direction: column;

    margin-top: 0;

    justify-content: space-evenly;
}

.project-description p {

    margin-top: 5px;
    color: rgb(88, 88, 88);
    font-size: 1.3rem;
}

.project-title-and-icon{

    display: flex;
    flex-direction: row;
}

.icon-container {

    width: 10%;
    padding-right: 20px;
    margin-right: 5%;
}

.skill{

    display: inline-block;
    padding: 5px;
    background-color: lightgray;
}

.icon {

    width: 4vw;
    height: 4vw;
    min-width: 50px;
    min-height: 50px;
    border-width: 5px;
    border-style: solid;
    border-radius: 25%;
}

.icon.improv {

    border-color: rgb(168, 167, 168);
}

.icon.author-website {

    border-color: rgb(155, 160, 224);
}

.icon.midi-shortcuts {

    border-color: rgb(243, 211, 151);
}

.icon.graphing-calc {

    border-color: lightgreen;
}

.icon.other-perspectives {

    border-color: rgb(218, 172, 216);
}

.icon.youtube-scraper {

    border-color: rgb(240, 121, 121);
}

.icon.other-perspectives, .icon.icon.youtube-scraper {

   padding-right: .5%;
}

.icon.trace-js {

    border-color: lightblue;
}

.trace-js-ext-screenshot{

    width: 85%;
    max-height: 85%;
}

#footer{

    border-top: 1px solid lightgray;
    margin-top: 8%;
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    justify-content: center;
}

#contact-link{

    color: black;
}

#contact-link:hover{

    color: blue;
}


@media only screen and (max-width: 800px){

    #projects-container {

        align-items: center;
    }

    .projects {

        display: flex;
        flex-direction: column;
        padding-top: 20px;
        align-items: center;
        margin-top: 20px;
    }


    .non-hover-project {

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 90%;


    }

    .project-title-and-icon{

        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    .project-description{

        display: flex;
        flex-direction: column;
        align-items: center;
        width: 75%;
    }

    .project-description p {

        margin-bottom: 10px;
        margin-top: 10px;
    }


    .screenshot-links {

        width: 80%;
        display: flex;
        max-height: 70%; /* change to make picture fit */
        flex-direction: column;
    }
    
    .screenshot {
        
        max-height: 30vh;
    } 

    .screenshot-links a {

        display: flex;
        justify-content: center;
    }

    .project-links{

        margin-top: 0;
        justify-content: center;
    }

    .icon {

        width: 0;
        height: 0;
        min-width: 0;
        min-height: 0;
        display: none;
    }

    .icon-container {

    width: 25%;
    margin-left: 0;
    margin-right: 0;
   }

   h1{
       text-align: center;
       font-size: 2rem;
   }
}
