/* 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
    }


    .titleHero {
        color:white;
        font-weight: bolder;
        display:flex;
       justify-content: center;
        height:300px;
        align-items: center;
       font-size: clamp(2.5rem, 6vw, 5rem);
       font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
       word-spacing: 10px;
       letter-spacing: 3px;


    }

    #about_me {
        padding-top: 20px;
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        width: 100%;
        background-color: black;
    }
    #about_me button {
        display: flex;
        justify-content: space-evenly;
        width:150px;
        height: 50px;
        margin-top: 90px;
        background-color: #50527B;
        color:white;
        font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        font-weight: bold;
        align-items: center;
        border: black;
        transition: 150ms ease;
    }
    #about_me button:hover{

        scale: 1.5;
    }
    #about_me img {
        display: flex;
        justify-self: center;
        width: 80%;
        padding:20px;

    }
    #about_me img:hover {
        scale: 1.05;

    }
    #AboutmeInfo {
        display:flex;
        align-items: center;
        font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        justify-content: center;
        flex-direction: column;
        color: white;
        font-size: 18px;
        line-height: 2.5em;
    }
    #AboutmeInfo h2 {
        font-size: 40px;
        margin-bottom: 20px;
    }
    #projectTitle {
        display: flex;
        background-color: black;
        color: white;
        font-size: 50px;
        font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        padding: 25px;
        padding-top: 30px;
        letter-spacing: 2px;
        justify-content: center;
        font-weight:lighter;
    }
    #projects {
        background-color: black;
        justify-content: center;
        display: flex;
        align-items: center;
        padding:40px;
    }
    #centerForProjects {
        display: flex;
        width: 90%;
        justify-content: space-between;
        align-items: center;
        background-color: #50527B;
        padding: 50px;
        flex-wrap: wrap;


    }
    .projectElement {
        color:white;
        width: 300px;
        height: 420px;
        position: relative;
        transition: 150ms ease;
    }
    .projectElement:hover{

        scale: 1.1;
    }
    .projectImg {
    width:200px;
    height: 300px;
    object-fit: cover;
    }
    #quote {
        background-color: white;
        color: black;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        padding-top: 100px;
        padding-bottom: 100px;
        padding: 10px;
    }
    #quoteTitle {
        font-size: 40px;
        padding-bottom: 50px;
    }
    #quoteInfo {
        display: flex;
        flex-direction: column;
        font-size: 18px;
        font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        padding-bottom: 20px;
    }
    #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;
    }
    .projectElement h2 {
        text-align: center;
        bottom: 112px;
        right:20px;
        position: absolute;
        background-color: black;
        padding: 10px;
        width:130px; 
        font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;

    }
}
@media screen and (max-width:900px ){
    #about_me img {
        width: 300px;

    }

}

/*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'
    }

    #spacer {
        height:4em
    }
    .titleHero {
        color:white;
        font-weight: bolder;
        display:flex;
       justify-content: center;
        height:400px;
        align-items: center;
       font-size: clamp(2rem, 6vw, 5rem);
       font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
       word-spacing: 10px;
       letter-spacing: 3px;

    }

    #about_me {
        padding-top: 20px;
        display: flex;
        justify-content: space-evenly;
        width: 100%;
        background-color: black;
    }
    #about_me button {
        display: flex;
        justify-content: space-evenly;
        width:150px;
        height: 50px;
        margin-top: 90px;
        background-color: #50527B;
        color:white;
        font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        font-weight: bold;
        align-items: center;
        border: black;
        transition: 150ms ease;
    }
    #about_me button:hover{

        scale: 1.5;
    }
    #about_me img {
        z-index: -1;
        max-width: 600px;
        transition: 150ms ease;

    }
    #about_me img:hover {
        scale: 1.05;

    }
    #AboutmeInfo {
        display:flex;
        align-items: center;
        font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        justify-content: center;
        flex-direction: column;
        color: white;
        font-size: 18px;
        line-height: 2.5em;
        min-width: 300px;
    }
    #AboutmeInfo h2 {
        font-size: 60px;
        margin-bottom: 40px;
    }
    #projectTitle {
        display: flex;
        background-color: black;
        color: white;
        font-size: 50px;
        font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        padding: 25px;
        padding-top: 40px;
        letter-spacing: 2px;
        justify-content: center;
        font-weight:lighter;
    }
    #projects {
        background-color: black;
        justify-content: center;
        display: flex;
        align-items: center;
        padding:40px;
    }
    #centerForProjects {
        display: flex;
        width: 90%;
        justify-content: space-between;
        align-items: center;
        background-color: #50527B;
        padding: 50px;
        flex-wrap: wrap;


    }
    .projectElement {
        color:white;
        width: 320px;
        height: 420px;
        position: relative;
        transition: 150ms ease;
    }
    .projectElement:hover{

        scale: 1.1;
    }
    .projectImg {
    width:300px;
    height: 400px;
    object-fit: cover;
    }
    #quote {
        background-color: white;
        color: black;
        display: flex;
        justify-content: space-evenly;
        padding: 100px
    }
    #quoteTitle {
        font-size: 40px;
    }
    #quoteInfo {
        display: flex;
        flex-direction: column;
        font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }
    #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;
    
    }
    .projectElement h2 {
        text-align: center;
        bottom: 8px;
        right: 8px;
        position: absolute;
        background-color: black;
        padding: 10px;
        width:130px; 
        font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;

    }
    #cnacer{
        cursor: pointer;
    }
}