/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
   
   header, ol, ul {
	list-style: none;
}

nav ul {
    display:block;
    font-size: 5vw;
}



/* Mobile */
@media screen and (max-width:640px){
    body {
        background-image: url('images/nick-nice-zwjSCTItiZU-unsplash.jpg');
        background-size:cover;
        background-repeat:no-repeat;
        justify-content: center;
        overflow-x: hidden;
        animation-duration: 1.5s;
        animation-name: blur;
    }
    @keyframes blur{
        0%{
            filter: blur(6px)
        }
        100%{
            filter: blur(0px)
        }
    }

    header{
        position: fixed;
        display: flex;
        text-align: left;
        justify-content: right;
        align-items: center;
        width:100%;
        height: 4em;
        background-color:rgb(0, 0, 0);
        color: white;
        z-index: 20;

    }
    .links-container{
    
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 20;
        width: 60%;
        height: 100%;
        background-image: url('images/nick-nice-zwjSCTItiZU-unsplash.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        transition: 1s ease;
    }
    li {
        box-sizing: border-box;
        height: auto;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        padding: 20px;
    }
    .open-sidebar-button {
        display: block;
        padding: 20px;
    }
    .close-sidebar-button {
        display: block;
    }
    #sidebar-active {
        visibility: hidden;
    }
    #sidebar-active:checked ~ .links-container{
        right:0;
    }


    li {
        position: relative;
        text-align: center;
        height: 4em;
        display:flex;
        align-items: center;
        color: white;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        transition: 150ms ease;
        
        }
        li a::before{
            content: "";
            position: absolute;
            bottom: 15px;
            left: 0px;
            width: 0%;
            height: 3px;
            background-color: white;
            transition: 150ms ease;
            }
    
        li a:hover::before{
                width:40%;
        }

    a:link, a:visited {
    color:white;
    text-decoration: none;
    }
    .s {
        color:white;
        font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif'
    }
    #MainHome {

    }
    #spacer {
        height:4em
    }
   
    #footerHome {
        background-color: black;
        color:white;
        display: flex;
        justify-content: space-around;

        font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        padding: 75px;
    }
    #TitleSection{
        display: flex;
        flex-direction: column;
        height: 300px;
        color: white;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 35px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    }
    #description{
        padding-top: 20px;
        font-size: 18px;
    }


    .projectsFlex{
        background-color: black;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        justify-self: center;
    }
    .projects {
        color:white;
        background-color: rgb(0, 0, 0);
        width: 300px;
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        position: relative;
        text-align: left;
        transition: 150ms ease;
    }
    .projects:hover{

        scale: 1.1;
        z-index: 3;
    }
    .centerthingy {
        padding: 20px;
        display: flex;
        flex-direction: column;
        background-color: rgb(56, 55, 55);

    }
    .projectImg {
    width:300px;
    height: 300px;
    object-fit: cover;
    }
    .ProjectTitles{
        color:#b9bbf1;
        font-size: 30px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    }
    .projectBody{
    
        color: white;
        font-size: 18px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    }



    #spacer {
        height:4em
    }



    #footerHome {
        background-color: black;
        color:white;
        display: flex;
        justify-content: space-around;
        padding: 75px;
        font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }

}
@media screen and (max-width:900px ){


}

/*Desktop*/








@media screen and (min-width:641px){
    body {
        overflow-x: active;
        background-image: url('images/nick-nice-zwjSCTItiZU-unsplash.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        justify-content: center;
        animation-duration: 1.5s;
        animation-name: blur;
    }
    @keyframes blur{
        0%{
            filter: blur(6px)
        }
        100%{
            filter: blur(0px)
        }
    }
    .icon {
        visibility: hidden;
    }
    header{
        position: fixed;
        display: flex;
        text-align: left;
        justify-content: left;
        align-items: center;
        width:100%;
        height: 4em;
        background-color:rgb(0, 0, 0);
        color: white;
        z-index: 20;

    }
    nav svg {
        fill: var(white);
        padding: 20px;
    }
    #sidebar-active{
        display: none;
    }
    .open-sidebar-button {
        display: none;
    }
    .close-sidebar-button {
        display: none;
    }
    .links-container{
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        color: white;
    }

    ul {
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        color: white;
        justify-content: space-evenly;
    }

    li {
    position: relative;
    text-align: center;
    height: 4em;
    display:flex;
    align-items: center;
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    transition: 150ms ease;
    
    }
    li a::before{
        content: "";
        position: absolute;
        bottom: 15px;
        left: 0px;
        width: 0%;
        height: 3px;
        background-color: white;
        transition: 150ms ease;
        }

    li a:hover::before{
            width:100%;
    }


    a:link, a:visited {
    color:white;
    text-decoration: none;
    }
    .s {
        color:white;
        font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif'
    }

    #TitleSection{
        display: flex;
        flex-direction: column;
        height: 300px;
        color: white;
        align-items: center;
        justify-content: center;
        font-size: 40px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    }
    #description{
        padding-top: 20px;
        font-size: 18px;
    }


    .projectsFlex{
        background-color: black;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        justify-self: center;
    }
    .projects {
        color:white;
        background-color: rgb(0, 0, 0);
        width: 600px;
        margin-top: 30px;
        display: flex;
        position: relative;
        text-align: left;
        transition: 150ms ease;
    }
    .projects:hover{

        scale: 1.1;
        z-index: 3;
    }
    .centerthingy {
        padding: 20px;
        display: flex;
        flex-direction: column;
        background-color: rgb(56, 55, 55);

    }
    .projectImg {
    width:300px;
    height: 300px;
    object-fit: cover;
    }
    .ProjectTitles{
        color:#b9bbf1;
        font-size: 30px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    }
    .projectBody{
    
        color: white;
        padding-top: 20px;
        font-size: 14px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    }



    #spacer {
        height:4em
    }



    #footerHome {
        background-color: black;
        color:white;
        display: flex;
        justify-content: space-around;
        padding: 75px;
        font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }
}