* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }
  
body {
    font-family: 'Quicksand', sans-serif;
    font-size: 20px;
    /* color: #141220; */
    color: #1c1d28;
    text-align: center;
    line-height: 1.5;
    margin: 0;
}

a {
    text-decoration: none;
} 

h1 {
    font-size: 32px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 18px;
    padding:10px;
}


header{
    padding: 12% 0;
}

/* Nav bar items */
nav, footer {
    padding: 1% 0;
    background-color: #545048;
    border: 1px solid rgb(146,140,128,0.2);
    /* background-color: #6d6870; */
}

/* NAVBAR */
.nav-bar {
    font-size: 18px;
    background-color: #141220;
    border: 1px solid rgb(75,67,120,0.2);
    padding-bottom: 10px;
    position: fixed;
    width: 100%;
    min-height: 60px;
}
  
.main-nav {
    list-style-type: none;
    display: none;
}
  
.nav-links, .logo {
    text-decoration: none;
    color: #e9e4db;
}
  
.main-nav li {
    text-align: center;
    margin: 15px auto;
}

.logo {
    float: left;
    position: relative;
    font-size: 22px;
    margin-top: 10px;
    margin-left: 20px;
}

.logo div {
  position: absolute;
}
  
.navbar-toggle {
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    color: #e9e4db;
    font-size: 24px;
}

.logo:hover, .nav-links:hover {
    color: #FDFDED;
    font-weight: 550;
}

.navbar-toggle:hover {
    color: #FDFDED;
  }

/* Font sizes for Mobile */
h1 {
    font-size: 32px;
}

h2 {
    font-size: 18px;
}

p, a{
    font-size: 16px;
    font-family: 'Muli', sans-serif;
}


/* Sections - Styles */
section {
    min-height: 200px;
    padding: 6% 0;
    background-color: #e9e4db;
    /* background-color: #babb9b; */
}
  
header {
    /* color: #e3e6b8; */
    color: white;
    border: 1px solid black;
    width: 100%;
    margin: 0 auto;
    padding: 200px 20px;
    /* unfixed background image for very small screens */
    /* added no-repeat center center - see if this works for mobile */
    background: url(Images/NASA-Night-East-tiny.PNG) no-repeat center center; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position:50% 50%;
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
}


section:nth-child(even) {
    background-color: #a49f95;
    /* background-color: #e3e6b8; */
}

.about-section, .project-section, .hobby-section, .contact-section {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 75px 20px;
}

.about-section a{
    line-height: 3;
    font-weight: bold;
    color: #641c7d;
}

.about-section a:hover{
    color: #310540;
}

.about-section p{
    padding: 20px;
}

.projects-container {
    display: flex;
    justify-content: space-evenly;
    align-items: stretch;
    flex-wrap: wrap;
}

.project {
    display: inline-block;
    max-width: 440px;
    height: 100%;
    flex-direction: column;
    margin: 20px;
    padding: 1.2em 1em;
    border: 1px solid black;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.project h3{
    line-height: 3.5;
}

.project img {
    border-radius: 8px;
    max-width: 100%;
    height: 340px;
    object-fit: cover;
}

.project p{
    max-width: 90%; 
    padding:0;
    margin: 0.2em auto;
}

.project a {
    display: block;
    line-height: 3;
    font-weight: bold;
    font-size: 16;
    color: #641c7d;
}

.project a:hover{
    color: #310540;
}

/* Hobby section (life outside) */
.fun-pic, .profile-pic {
    margin-top: 20px;
}

.hobby-section p{
    padding: 20px;
}

/* Form section - Deveop this later*/
.contact-section  {
    color:#e9e4db;
    border: 1px solid black;
    width: 100%;
    margin: 0 auto;
    padding: 200px 20px;
    /* added no-repeat center center - see if this works for mobile */
    background: url(Images/NASA-Night-West-tiny.PNG) no-repeat center center; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position:50% 50%;
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
}

.contact-section h1{
    font-size: 48px;
}

.contact-section p{
    font-size: 20px;
}

.contact-section a{
    font-size: 24px;
    font-weight: bold;
    color: #f5fb8f;
}

.contact-section a:hover{
    color: #fff654;
}

/* 
.form-container{
    display:flex;
    justify-content: center;
    width: 100%;
}

.contact-form {
  width: 95%;
}

.submit input{
    margin: 0 auto;
}

input{
    color: black;
    background:  lightgrey;
    border: 1px solid black
}

.submit-form input{
    color: #000;
    background:  lightgrey;
    border: 1px solid rgb(22, 22, 22);
}

fieldset{
    padding: 1em;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

legend{
    color: #fff;
    background:  #111;
    border: 1px solid black;
    padding: 2px 6px;
    margin: 0 auto;
}
  
label {
    float:left;
    width:25%;
    margin-right:0.5em;
    padding-top:0.2em;
    text-align:right;
    font-weight:bold;
} */

/* Footer links */
a > .fa{
    font-size: 30px;
    text-decoration: none;  
    padding: 10px 25px;  
    color: black;
}

@media screen and (min-width: 768px) {
    /* Navbar */
    .navbar {
        display: flex;
        justify-content: space-between;
        padding-bottom: 0;
        height: 70px;
        align-items: center;
    }

    .main-nav {
        display: flex;
        margin-right: 30px;
        flex-direction: row;
        justify-content: flex-end;
    }

    .main-nav li {
        margin: 0;
    }

    .nav-links {
        margin-left: 40px;
    }

    .logo {
        margin-top: 0;
    }

    .navbar-toggle {
        display: none;
    }

    .logo:hover,
    .nav-links:hover {
        color: rgba(255, 255, 255, 1);
    }

    .about-section, .project-section, .hobby-section {
        padding: 100px 60px;
    }

    /* Fixed, wide images for background */
    header {
        color: white;
        /* color: #e3e6b8; */
        border: 1px solid black;
        width: 100%;
        margin: 0 auto;
        padding: 200px 20px;
        background: url(Images/NASA-Night-Wide-tiny.PNG) no-repeat center center fixed; 
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

    .contact-section  {
        /* color:#e3e6b8; */
        color: white;
        border: 1px solid black;
        width: 100%;
        margin: 0 auto;
        padding: 200px 20px;
        background: url(Images/NASA-Night-Wide-tiny.PNG) no-repeat center center fixed; 
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        image-rendering: -webkit-optimize-contrast;
        background-position:50% 50%;
    }

        /* Font sizes for Widescreen */
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 48px;
    }

    h3 {
        font-size: 28px;
    }

    p, a{
        font-size: 16px;
    }

    header {
        padding: 200px 100px;
    }
    .about-section {
        flex-direction: row;
    }

    .project {
        margin: 25px;
    }

    .hobby-section{
        flex-direction: row;
    }
    .form-container{
        width: 40%;
    }  
}

/* Make sure header is visible on widescreens */
@media screen and (min-width: 1000px) {
    header {
        padding: 300px 100px;
    }

    .about-section, .project-section, .hobby-section {
        padding: 150px 100px;
    }

    .contact-section  {
        padding: 300px 100px;
    }
}


