body {
    margin: 0 auto;
    background: white;
    padding: 0;
    font-family: 'Inter', sans-serif;
    max-width: 1800px;
}
button.menu {
    position: absolute;
    right: 0px;
    top: 48px;
    cursor: pointer;
}
button.menu:hover {
    font-weight: bold;
    border-radius: 180px;
}
button.open {
    background: none;
    border: none;
    margin: 27px 20px 0 0;
    position: absolute;
    z-index: 1;
}
button.open div {
    width: 20px;
    height: 2px;
    background-color: rgba(255, 255, 255, .8);
    background-color: rgba(0, 0, 0, 1);
    margin: 5px;
}
button.close {
    background: none;
    border: none;
    color:rgba(255, 255, 255, 1);
    margin: 74px 25px 0 0;
    font-size: 25px;
    position: absolute;
    z-index: 1;
    right: 0px;
}
button.close:hover {
    cursor: pointer;
}
div.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: rgba(0,0,0);
    background-color: rgba(0,0,0,.8);
    overflow-x: hidden;
    overflow-y: 0;
    transition: 0.5s;
}
div.overlay-content {
    width: 100%;
    text-align: center;
    margin-top: 125px;
}
div.overlay-content a {
    text-decoration: none;
    color: whitesmoke;
    display: block;
    font-size: 30px;
    padding: 10px 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: .4s;
}
.overlay-content a:hover, .overlay-content a:focus {
    font-weight: bold;
}
header.hero {
    text-align: center;     
    margin-top: 65px;
}
nav {
    text-align: center;
}
div.name h1 {
    text-transform: uppercase; 
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 5px;
}
div.name h1 a {
    text-decoration: none;
    color: rgba(0, 0, 0, 1);
}
div.name h1 a:hover {
    color: rgba(0, 0, 0, .6);
}
div.name h1 a:focus {
     color: rgba(0, 0, 0, .6);
}
nav ul.navDesktop {
    margin: 0 auto;
}
nav ul.navDesktop li {
    display: inline;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 15px;
    margin-right: 45px;
}
li a {
    text-decoration: none;
    color: rgba(0, 0, 0, .6);
}
li a span {
    position: absolute;
    top: 29px;
    font-size: 20px;
}
li a:hover {
   color: rgba(0, 0, 0, 1);
}
li a:focus {
   color: rgba(0, 0, 0, 1);
}
 div.heropic img {
    border-radius: 180px;
    box-shadow: rgba(0, 0, 0, .8) 0 0 2px;
    margin: 80px auto 0 auto;
 }
section.intro {
    margin: 70px auto 40px auto;
    padding: 0 20px 60px 20px;
    max-width: 60%;
    border-bottom: solid 1px rgba(0, 0, 0, .2);
}
section.intro h1 {
    text-transform: uppercase; 
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 5px;
    line-height: 30px;
}
section.intro p {
    text-align: justify;
    color: rgba(0, 0, 0, .6);
    font-size: 18px;
    font-weight: 400;
    padding-top: 0px;
    padding-bottom: 20px;
    line-height: 45px;
}

section.intro h3 { 
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
}
section.contactMe {
    margin: 0 auto;
    padding-top: 10px;
    text-align: center;
}
h4 {
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
}
h5 {
    font-size: 16px;
    color: rgba(0, 0, 0, .4)
}
ul.socials {
    margin: 25px auto 0 auto;
    text-align: center;
}
ul.socials li {
    display: inline;
    padding: 5px;
    position: relative;
    left: -20px
}
ul.socials li a img {
    opacity: .6;
}
ul.socials li a img.mail {
    position: relative;
    top: -3px;
    opacity: .4;
}
ul.socials li a img.social:hover {
    opacity: 1;
}
ul.socials li a img.mail:hover {
    opacity: .8;
}
footer {
    font-size: 18px;
    margin: 40px auto 20px auto;
    text-align: center;
}
footer h6 a {
    color: rgba(0, 0, 0, 1);

}
/* PORTFOLIO PAGE STYLING */
section.topic{
    margin: 70px auto 40px auto;
    max-width: 60%;
}
section.topic h1 {
    text-transform: uppercase; 
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 5px;
}
section.allProjects {
    margin: 0 auto 40px auto;
    max-width: 60%;
    padding: 0 20px 60px 20px;
    border-bottom: solid 1px rgba(0, 0, 0, .2);
}
section.allProjects h2 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 30px;
}
section.allProjects p {
    color: rgba(0, 0, 0, .6);
    font-size: 18px;
    font-weight: 400;
    padding-top: 0px;
    padding-bottom: 20px;
    line-height: 40px;
}
section.allProjects div.flex-container {
    display: flex;
    margin-bottom: 20px;
} 
div.project {
    flex:1;
    box-sizing: border-box;
}
div.project img {
    object-fit: cover;
    height: 300px;
}
div.project-left {
    margin: 0 20px 0 auto;
}
div.project-right {
    margin: 0 auto 0 20px;
}
section h3 { 
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* PROFILE PAGE STYLING */
section.about {
    margin: 0 auto 40px auto;
    max-width: 60%;
    padding: 0 20px 60px 20px;
    border-bottom: solid 1px rgba(0, 0, 0, .2);
}
div.summary {
 overflow: hidden;
 margin: 0 auto;
}
img.profilepic_float {
    float: right;
    max-width: 50%;
    margin: 0 auto 50px 70px;
    max-height: 500px;
}
section.about p {
    color: rgba(0, 0, 0, .6);
    font-size: 18px;
    font-weight: 400;  
    line-height: 40px;
    margin-top: 0;
}

div.about-topic h2 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 30px;
    margin-top: 50px;
}
div.about-topic p a {
    text-decoration: none;
    color:rgba(58, 119, 189, 0.7);;
}
div.about-topic p a:hover {
    text-decoration: underline;
    color:rgba(58, 119, 189, 1);;
}


/* CONTACT PAGE STYLING */
section.contact {
    margin: 70px auto 40px auto;
    max-width: 60%;
    padding-bottom: 60px;
    border-bottom: solid 1px rgba(0, 0, 0, .2);
}
section.contact h1 {
    text-transform: uppercase; 
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 5px;
}
form {
    margin-top: 30px;
}
div.fullname {
    display: flex;
    margin-bottom: 20px;
}
div.fname {
    flex: 1;
    margin: 0 25px 0 auto;
}
div.lname {
    flex: 1;
    margin: 0 auto 0 25px;
}
input[name="first_name"] {
    width: 100%;
}
input[name="last_name"]{
    width: 100%;
}
div.form_section {
    margin: 0 auto 20px auto;
}
div.form_section input[type="text"] {
    width: 100%;
}
label {
    color: rgba(0, 0, 0, .6);
    font-size: 18px;
    font-weight: 400;  
    line-height: 40px;
    margin-top: 0;
}
span.small {
    font-size: small;
}
input[type="text"] {
    border: 1px solid rgba(0, 0, 0, .3);
    background-color: rgba(232, 235, 234, 0.443);
    padding: 15px 10px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}
div.message textarea[name="message"] {
    height: 200px;
    max-width: 100%;
    min-width: 100%;
    border: 1px solid rgba(0, 0, 0, .3);
    background-color: rgba(232, 235, 234, 0.443);
    padding: 15px 10px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}
div.form_section button {
    margin-top: 10px;
    background-color: white;
    border: 2px solid rgba(0, 0, 0, 1);
    padding: 20px 40px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}
div.form_section button:hover {
    background-color: rgba(0, 0, 0, 1);
    color: white;
    cursor: pointer;
}
div.map {
    margin-top: 50px;
}
div.map iframe {
    width: 100%;
    height: 400px;
     -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}
/* Thank You Page */
section.thank-you {
    margin: 70px auto 40px auto;
    max-width: 60%;
    padding-bottom: 60px;
    border-bottom: solid 1px rgba(0, 0, 0, .2);
    text-align: center;
}
section.thank-you img {
    max-width: 25%;
    margin-bottom: 20px;
}
section.thank-you h1 {
     text-transform: uppercase; 
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 3px;
}
section.thank-you p {
    color: rgba(0, 0, 0, .6);
    font-size: 18px;
    font-weight: 400;
    padding-top: 0px;
    padding-bottom: 20px;
    line-height: 40px;
}
section.thank-you h3 {
    letter-spacing: 2px;
}
section.thank-you h3 a  {
    text-decoration: none;
    color: rgba(0, 0, 0, .6);
}
section.thank-you h3 a:hover  {
    text-decoration: none;
    color: rgba(0, 0, 0, 1)
}

/* MEDIA SCREENS UNDER 800px */
@media only screen and (max-width: 800px) {
     /* All PAGES */
     ul.navDesktop {
        display: none;
    } 
    div.heropic img {
        margin: 20px auto 0 auto;
    }
    /*Home Page*/
    section.intro h3 { 
        line-height: 22px;
    }
     section.intro {
        max-width: 75%;
    }
    /*Portfolio PAGE*/
    section.allProjects {
        max-width: 75%;
    }
    section.allProjects div.flex-container {
        display: block;
        margin-bottom: 20px;
    }    
    div.project {
        margin: 20px auto 0 auto;
    }
    section.topic {
        max-width: 75%;
    }
    /*Profile Page*/
    section.about {
        max-width: 75%;
    }
    section.topic {
        margin: 40px auto 30px auto;
    }
    img.profilepic_float {
        max-width: 100%;
        margin: 0 auto 10px auto;
        float: none;
    }
    /*CONTACT PAGE*/
    section.contact {
        margin: 40px auto 40px auto;
        max-width: 75%;
    }
    div.fullname {
        display: block;
        margin-bottom: 20px;
    }
    div.fname {
        margin: 0 auto 20px auto;
    }
    div.lname {
        margin: 0 auto;
    }
    /* Thank You Page */
    section.thank-you {
        max-width: 75%;
    }
}

/* MEDIA SCREENS OVER 800px */
@media only screen and (min-width: 801px) {
    /*All PAGES*/
    button.menu {
        display: none;
    }
    div#myNav {
        display: none;
    }
    button.plus {
        display: none;
    }
    div.collapsible {
        display: none;
    }
}

/* MEDIA SCREENS UNDER 600px */
@media only screen and (max-width: 600px) {
    /* ALL PAGES */
    div.name h1 {
        font-size: 32px;
        font-weight: 400;
        letter-spacing: 5px;
    }
    button.menu {
        top: 43px;
    }
    button.close {
        margin: 68px 25px 0 0;
}
    /*HOME PAGE*/
    section.intro {
        margin: 50px auto 40px auto;
}
    section.intro h1 {
        font-size: 18px;
        letter-spacing: 4px;
}
    section.intro p {
        line-height: 40px;
}
    /* ABOUT PAGE */
    section.topic h1 {
        font-size: 18px;
        letter-spacing: 4px;
}
    section.topic p {
        line-height: 40px;
}
    /*CONTACT PAGE*/
    section.contact h1 {
        font-size: 18px;
        letter-spacing: 4px;
}
   
}
/* MEDIA SCREENS UNDER 500px */
@media only screen and (max-width: 500px) {
    /*HOME PAGE */
     div.name {
       margin: 0 auto;
       width: 200px;
    }
    div.name h1 {
        font-size: 25px;
        font-weight: 400;
        letter-spacing: 5px;
    }
     button.menu {
       top: 54px
    }
     button.close {
        margin: 79px 25px 0 0;
    }
   section.intro {
       display: block;
       margin-top: 45px;
       text-align: center;
   }
   section.intro p {
       margin-top: 10px;
   }
   /*PORTFOLIO PAGE*/
   div.project h4 {
       font-size: 15px;
   }
}



