@charset "utf-8";

/* Main Container Styles */

html {
    height: 100%;
    font-family: Verdana, Geneva, sans-serif;
}

body {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    margin: 0px auto;
    padding: 0px;
    background-color: rgb(248, 247, 247);
}


/* END Main Container Styles */

/* Header Styles */

a#navicon {
    display: block;
}

a#navicon img {
    width: 35px;
    padding-left: 10px;
    margin-top: 10px;
}

.navbar {
    background-color: white;
    width: 100%;
}

.main_nav {
    width: 100%;
    background-color: white;
    padding: 0px;
}

.main_nav li {
    list-style-type: none;
    display: block;
    width: 80%;
    padding-left: 4%;
    line-height: 40px;
}

.main_nav a {
    text-decoration: none;
    color: black;
}

.main_nav ul {
    display: none;
    padding: 0px;
    margin: 0px;
}

.main_nav ul a:hover, .main_nav ul a:active {
    color: red;
    text-shadow: 2px 2px 5px black;
}

.logo {
    width: 100px;
    height: auto;
    margin: 0px;
    padding-top: 10px;
    padding-left: 10px;
}




/* END Header Styles */

/* Universal Body Styles */


    /*Figcaption "go to project" button visibility*/
    .visible_button {
        display: block;
    }

    .nvisible_button {
        display: none;
    }

/* END Universal Body Styles */

/* Template Styles */

/* Home Template */

/* Body */

.container {
    background-color: rgb(248, 247, 247);
    padding: 20px 0px;
}

.home_article {
    text-align: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    box-shadow: inset 1px 1px 5px rgb(223, 223, 223);
    padding: 0px 15px;
}

.home_article h1 {
    font-size: 1em;
    margin: 0px;
    padding: 20px 0px;
}

.home_article p {
    font-size: .8em;
    margin: 0px;
    padding-bottom: 20px;
    text-align: left;
}

.home_article a {
    font-size: .9em;
}

.contact_me {
    display: block;
    width: fit-content;
    text-align: center;
    padding: 8px 10px;
    background-color: white;
    text-decoration: none;
    color: black;
    border: 1px solid black;
    border-radius: 5px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: inset 0px 0px 3px black;
}

.contact_me:hover {
    background-color: lightgray;
    color: red;
}



/* END Home Template */


/* All Projects Template */

/* Body */

.project_container {
    display: flex;
    margin: 20px auto 20px auto;
    width: 100%;
    background-color: rgb(248, 247, 247);
}

.project_container h1 {
    font-size: 1em;
}

.project_container p {
    font-size: .8em;
}

.project_container a {
    font-size: 1em;
    text-decoration: none;
    color: black;
}

.project_container a:hover, .project_container a:active {
    color: red;
}


.project_container aside {
    width: 80%;
    text-align: center;
    background-color: white;
    height: fit-content;
    margin: 20px auto;
    box-shadow: inset 1px 1px 5px rgb(223, 223, 223);
}

.side_nav ul {
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    padding: 0px;
}


.side_nav li, .article_container .return {
    width: 100%;
    list-style: none;
    margin: 5px 0px;
}

.article_container .return {
    width: 20%;
    list-style: none;
    margin: 5px auto 20px auto;
    display: block;
}

.side_nav a, .return a {
    display: block;
    width: auto;
    text-align: center;
    padding: 10px 5px;
    background-color: white;
    box-shadow: inset black 0px 0px 5px;
    font-size: 1em;
    text-decoration: none;
    color: black;
}

.side_nav a:hover, .return a:hover {
    background-color: lightgray;
    color: red;
}
.side_nav li:first-of-type {
    display: none;
}

.side_nav li.true_return {
    display: block;
}

.nvisible_aside  {
    display: none;
}

.project_container article {
    display: none;
} 

.project_container .right_side_article {
    display: block;
    width: 100%;
}

.article_container p{
    width: 60%;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

.article_container p.end_links{
    text-align: center;
    font-size: 1em;
}

.article_container li {
    display: none;
}

.article_container h1 {
    width: 60%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

article figure video, article figure img {
    display: none;
}

.thumbnail, .short_video {
    margin-left: auto;
    margin-right: auto;
    height: auto;
    display: block;
    width: 100%;
}

.thumbnail_container{
    display: block;
}

.video_container {
    display: block;
}



.thumbnail_container figcaption {
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid black;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
}

.thumbnail_container figcaption a {
    text-decoration: none;
    color: black;
    display: block;
}

.thumbnail_container figcaption a:last-of-type {
    padding: 8px;
    box-shadow: inset 0px 0px 3px black;
}


.thumbnail_container figcaption a:hover {
    color: red;
    background-color: lightgray;
}

figcaption {
    display: none;
}

figure {
    display: none;
}

/* END All Projects Template */



/* END Template Styles */


/* Footer Styles */

footer {
    background-color: white;
    position: sticky;
    top: 100%;
    font-size: .8em;
}

.contact_info {
    padding: 5px;
    margin: 0px;
}

.contact_info li {
    list-style-type: none;
    text-align: center;
    line-height: 25px;
}

.contact_info a {
    text-decoration: none;
    color: black;
}

.contact_info a:hover, .contact_info a:active {
    color: red;
    text-shadow: 2px 2px 5px black;
}

/* END Footer Styles */


/* Mobile Styles: 0 to <43em */


@media only screen and (max-width: 43em) {

    a#navicon:hover+ul, nav ul:hover {
        display: block;
    }

}


/* Styles: >=43em (688px)*/


@media only screen and (min-width: 43em) {

    /* Header Styles */

    .navbar {
        margin: 0px auto;
    }

    .main_nav {
        height: 120px;
        padding: 10px 0px;
        text-align: center;
    }

    .main_nav li {
        padding: 0px;
        height: 24px;
        margin-top: 4px;
        margin-bottom: 4px;
        display: inline;
    }

    .main_nav a {
        display: inline-block;
        margin-right: 2%;
        line-height: 80px;
        font-size: .8em;
    }

    .logo {
        vertical-align: top;
        width: 120px;
        margin-right: 20px;
        margin-left: 10px;
        float: left;
        padding: 10px 0px;
    }

    .main_nav ul {
        margin: 24px 0px;
        height: 112px;
        display: block;
    }

    a#navicon {
        display: none;
    }

    

    /* END Header Styles */

    /* Body Styles */

    .container {
        width: 100%;
        margin: 0px auto;
    }

    /* Home Template Style */

    .home_article {
        width: 60%;
        margin-top: 20px;
        margin-bottom: 20px;
        padding: 0px 20px;
    }

    /* END Home Template Style */


    /* All Projects Template */

    /* Body */
   
    .project_container aside {
        padding-bottom: 10px;
    }

    .article_container .return {
        width: 15%;
    }
    
    /* END All Projects Template */



    /* END Body Styles */


}


/* Styles: >=62em (992px) */

@media only screen and (min-width: 62em) {


    /* Header Styles */

    .navbar {
        width: 100%;
    }

    .main_nav {
        height: 150px;
    }

    .main_nav a {
        margin-right: 3%;
        line-height: 100px;
        font-size: 1em;
    }

    .logo {
        width: 150px;
    }

    /* END Header Styles */


    /* Template Styles */

    /* Universal Body Styles */

   
    /* END Universal Body Styles */
    
    
    
    /* Home Template */

    /* Body */

    .home_article {
        width: 40%;
    }

    .home_article p {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .side_nav .selected {
        background-color: lightgray;
        color: red;
    }
    /* Footer */

    .contact_info {
        padding: 20px 10px;
        display: block;
        text-align: center;
    }

    .contact_info li {
        display: inline;
        margin-right: 2%;
        margin-left: 2%;
    }

    .copyright {
        text-align: right;
    }

    /* END Home Template */



    /* All Projects Template */

    /* Body */

    .project_container {
        display: flex;
        margin: 40px 0px;
        width: 95%;
        margin-left: auto;
        margin-right: auto;
        background-color: white;
        box-shadow: inset 1px 1px 5px rgb(223, 223, 223);

    }

    .project_container aside {
        margin: 20px 0px 0px 20px;
        width: 15%;

    }
    .project_container h1 {
        font-size: 1em;
    }

    .project_container a {
        font-size: 1em;
    }

    .side_nav ul {
        margin-left: auto;
        margin-right: auto;
        width: 80%;
        padding: 0px;
    }


    .side_nav li {
        width: 100%;
        list-style: none;
        margin: 5px 0px;
    }

    .side_nav a {
        display: block;
        width: auto;
        text-align: center;
        padding: 10px 5px;
        background-color: white;
        box-shadow: inset black 0px 0px 5px;
        font-size: 1em;
        text-decoration: none;
        color: black;
    }

    .side_nav a:hover {
        background-color: lightgray;
        color: red;
    }

    .side_nav .selected {
        background-color: lightgray;
        color: red;
    }

    .nvisible_aside  {
        display: block;
    }
    
    .project_container article {
        display: block;
        width: 80%;
    } 
    
    .project_container .right_side_article {
        display: block;
        width: 80%;
    }

    .article_container p{
        width: 50%;
    }
   
    .thumbnail, .short_video {
        margin-left: auto;
        margin-right: auto;
        height: auto;
        display: block;
        width: 80%;
    }

    .thumbnail_container figcaption {
        margin-top: 10px;
        border-radius: 5px;
        border: 1px solid black;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        background-color: white;
    }

    .thumbnail_container figcaption a {
        text-decoration: none;
        color: black;
        display: block;
    }

    .thumbnail_container figcaption a:last-of-type {
        padding: 8px;
        box-shadow: inset 0px 0px 3px black;
    }


    .thumbnail_container figcaption a:hover {
        color: red;
        background-color: lightgray;
    }

    .article_container .return {
        display: none;
    }

    .contact_me {
        display: none;
    }

    /* END All Projects Template */


    /* END Styles */

}

/* Styles: >=82em (1312px)*/

@media only screen and (min-width: 82em) {

    .logo {
        margin: 0px 0px 0px 50px;
    }

    .project_container aside {
        width: 13%;
    }

    .project_container h1 {
        font-size: 1.5em;
    }

    .article_container p {
        font-size: 1.4em;
    }

    .side_nav a {
        font-size: 1.2em;
    }
    
}