html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    color: #686e68;
    background: #f2f5f5;
    margin-bottom: 250px;
    letter-spacing: 0.7px;
    min-height: 100%;
}

h1 { color: #5C688A; font-family: 'Nunito Sans', sans-serif; font-size: 34px; font-weight: 300; line-height: 40px; margin: 0 0 16px; }

h2 { color: #5C688A; font-family: 'Nunito Sans', sans-serif; font-size: 24px; font-weight: 300; line-height: 32px; margin: 0 0 14px; }

h3 { color: #5C688A; font-family: 'Nunito Sans', sans-serif; font-size: 22px; font-weight: 300; line-height: 32px; margin: 0 0 14px; }

h4 { color: #5C688A; font-family: 'Nunito Sans', sans-serif; font-size: 19px; font-weight: 300; line-height: 32px; margin: 0 0 14px; }

p { color: #222; font-family: 'Nunito Sans', sans-serif; font-size: 14px; font-weight: 400; line-height: 24px; margin: 0 0 14px; }


a { background: #f2f5f5; color: #222; text-decoration: none; }

a:hover { background: #5C688A; color: #eee; text-decoration: none; transition: all 0.30s ease;}


.footer {
    bottom: 0;
    width: 100%;
    background: #f2f5f5;
    color: #686e68;
    height: 80px;
    padding: 80% 18% 5px 18%;
    text-align: center;
}

.contact {
    padding-top:20px;
    font-size: 30px;
    text-align: left;
}

.contacts {
    display:inline-block;
    border-radius: 6px;
    color: #686e68;
    padding: 10px 15px;
    font-size: .5em;
    background: #f2f5f5;
    margin:0px;
    font-weight: 600;
    text-align: center;
    
}

.contacts:hover {
    color: #eee;
    transition: all 0.30s ease;
}

.title {
   padding: 10% 10% 2% 10%;
   font-size: 25px;
}

.page-section {
   padding: 1% 25% 4% 25%;
   text-align: center;
   font-size: 25px;
}

.page-links {
    padding:10px;
    color: #5C688A;
    display:inline-block;
    border-radius: 6px;
    background: #f2f5f5;
    text-align: center;
}

#header-bg { 
    background-position: center top;
    background-size: cover;
    padding: 8% 10% 9% 10%;
}

.portrait {
    background: url(media/headshot5.png) no-repeat;
    /*transform: rotate(90deg) */ 
    border-radius: 50%; 
    margin: 0 auto; 
    margin-bottom: 10px;
    background-size:cover; 
    height: 275px;
    width: 275px;
}

.montana {
    background: url(media/montana_trip.jpeg) no-repeat;
    border-radius: 3%;
    background-size:cover;
    position: relative;
    width: 80%;
    height: 0;
    padding-bottom: 100%;
}

.header {
    text-align: center;
    color: #686e68;
}

#name {
    font-size: 30px;
}

ol {
	list-style-type: none;
	counter-reset: li;
}
li {
	font-size: 1rem;
}

li:before {
  counter-increment: li;
  content: counter(li, decimal-leading-zero);
	color: #8176A3;
	margin-right: 0.25em;
}


@media only screen and (max-width: 500px) {
    .nav-menu {
        font-size: 20px;
    }
    
    #name {
        font-size: 40px;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 25px;
    }
    
    h3 {
	    font-size: 20px;
    }

    h4 {
        font-size: 18px;
    }

    p {
        font-size: 12px;
    }
    
    .content {
        padding: 70px 5px 30px 5px;
    }

}

@media only screen and (min-width: 1200px) {
    .fix-width {
        width: 1200px;
    }

    .content-box {
        height: 375px;
    }
}

@media only screen and (min-width: 500px) and (max-width:1350px) {
    .about-spacing {
        padding-left: 10%;
        padding-right: 10%;
    }
}


@media only screen and (min-width: 500px) and (max-width:767px) {
    .footer {
        text-align: center;
    }

    .contacts {
	text-align: center;
    }
    

}


/*

#projects {
    padding-top: 20px;
    text-align: left;
    font-size: 35px;
    color: #6B7A8F;
}

#projects-container {
    background: #30415D;
    background: #f2f5f5;
}

#project-1, #senior-project, #portfolio, #datascience {
    color: #E9E9E9;
    display:block;
    height: 100%;
	
}

#project-1, #senior-project, #portfolio, #datascience:hover {
    cursor: pointer;

}


.content {
    padding: 20px 20px 30px 20px;
}

.box-spacer {
    padding-top: 15px;
    text-align:center;
}

.content-box {
    color:#E9E9E9;	
    height: 300px;
    max-width:600px;
    padding-top: 10px;
    box-shadow: -2px 2px 4px #000000;
}


.parallax {
    background: url(media/parallax.jpg) no-repeat top center fixed;
    background-size: cover;
    height: 200px;   
    margin: 0;
    padding 0;
    color:#fff;
    text-align: center;

}


.resume-button {
    border-radius: 6px;
    color: #fff;
    font-weight: 400;
    padding: 20px 30px;
    margin: 10px;
    font-size: 1em;
    text-transform: uppercase;
    background: #6B7A8F;
    border: 1px solid #E9E9E9;
    display:inline-block;
}

.resume-button:hover {
    color: #000000;
    background: #E9E9E9;
    border: 1px solid #E9E9E9;
    transition: all 0.50s ease;
}

#resume-buttons {
    padding-top: 80px;
    padding-bottom: 80px;
    margin: 0;
    text-align: center;

}

.nav-style {
    color:#fff;
    background: transparent;
    padding-bottom: 0px;
    margin-bottom: 0px;
    transition: all 0.25s ease;
}

.nav {
    color: #fff;
}

.after-header {
    background: #000000;
}

.nav-menu, #button {
    padding-top: 0px;
    font-size: 25px;
    letter-spacing: .5px;
    text-transform: uppercase;
    list-style: none;
}

@media (min-width:48em) {
    .nav-menu li {
        display: inline;
    }
}

.nav:hover, #button:hover {
    color: #C71F1F;

}




*/
