* {
    box-sizing: border-box;
}

body {
    text-align: center;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
    background: #F3F3F3;
    color: #4A4A4A;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
}

i {
    font-size: 2em;
}

.emphasis {
    color: #221E1F;
    font-weight: 900;
}

/*Links*/
a {
    color: #4A4A4A;
    text-decoration: underline;
    padding: 0;
    margin: 0;
    font-weight: bolder;
}

a:hover {
    background: #EF5000;
    color: #221E1F;
    cursor: pointer;
    transition: background-color 2s;
}

button {
    background: none;
    border: none;
}

button:hover {
    background: #EF5000;
    cursor: pointer;
    transition: background-color 2s;
}

.nav-item:hover {
    color: #221E1F;
}

/*Nav Bar Section*/
nav, footer {
    background: #F3F3F3;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 2% 4%;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

.nav-top, .nav-left {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-bar {
    display: inline-block;
}

.logo {
    max-height: 60px;
}

.hamburger {
    margin-right: 15px;
    font-size: 1.5em;
    font-weight: 900;
}

.nav-items {
    margin: 0;
    padding: 0;
    width: 100%;
    background: #E5E4E9;
    display: flex;
    justify-content: space-around;
}

.nav-items a {
    padding: 5px 10px;
    font-size: 1.0em;
    color: #4A4A4A;
}

.hidden {
    display: none;
}

/*Main section*/
header {
    padding: 50% 10% 15% 10%;
    font-size: .8em;
}

.heading-emphasis {
    color: #EF5000;
}

.bio, .project-info, .contact {
    background: #E5E4E9;
    padding: 5%;
    text-align: left;
}

.project-heading {
    margin-top: 15%;
}

.project {
    margin: 5%;
}

.project-image {
    width: 100%;
    padding: 6% 0 3%;
}

.tech-icons {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-evenly;
}

/*Footer Section*/
footer {
    padding: 4% 0;
    background: #221E1F;
    color: #F3F3F3;
    display: flex;
    justify-content: space-evenly;
}

.orange-bar {
    background: #EF5000;
    height: 5px;
}

footer a {
    color: #F3F3F3;
}

footer a:hover {
    background: none;
    color: #EF5000;
    font-size: 1.05em;
    transition: .5s;
}

/*Media queries*/

@media screen and (min-width: 420px) {
    .name {
        display: inline-block;
    }

    header {
        padding: 35% 10% 15% 10%;
        font-size: 1em;
    }

    .project-image {
        max-width: 600px;
    }
}
  

@media screen and (min-width: 850px) {
    /*Nav changes*/
    .hamburger {
        display: none;
    }

    nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .nav-items {
        background: #F3F3F3;
    }

    .nav-items a {
        padding: 5px 15px;
    }

    .hidden {
        display: inline-block;
    }


    /*Header and Bio*/

    header {
        background-image: url("./images/background-image.svg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: bottom center;
        padding: 23% 10% 23% 10%;
    }

    header h1 {
        position: relative;
        right: 20px;
        max-width: 681px;
    }

    .bio {
        padding-left: 30%;
        padding-right: 10%;
    }

    /*Project changes*/
    
    .project {
        display: flex;
        align-items: center;
    }

    .project-image {
        width: 100%;
        height: auto;
        padding: 0;
    }

    .image-wrapper {
        width: 45%;
        margin-right: 2%;
    }

    .project-info {
        width: 55%;
        margin-left: 2%;
    }
}