body, html {
  max-height: 100%;
  width: 100%;
  font-family: 'Lato', sans-serif;
  overflow-x: hidden;
  background-color: #F9F9F9;
  overflow: auto;
}
.fa {
  font-family: 'FontAwesome';
}

a {
  color: #008055;
}
a:hover {
  color: #F7D7C4;
  text-decoration: none;
}

#home {
  padding-top: 53px;
}
@media screen and (max-width: 768px) {
    #home {
      padding-top: 53px;
    }
}

#back-to-top {
  color: #008055;
  background-color: lightgrey;
  opacity: 0.7;
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: inline-block;
}
#back-to-top:hover {
  opacity: 1;
}

/* Navbar styling */
#_navbar {
  background: linear-gradient(to right, #00754e , #008055);
  color: lightgrey;
}
#_navbar-title {
  color: lightgrey;
  padding-left: 0.8vw;
  -webkit-transition: -webkit-transform 0.5s, font-size 0,2s;
  transition-property: transform, font-size;
  transition-duration: 0.5s, 0.5s;
}
#_navbar-title:hover {
  transform: scale(1.1);
}
#_navbar-title-mobile {
  color: lightgrey;
  padding-left: 0.8vw;
  -webkit-transition: -webkit-transform 0.5s, font-size 0,2s;
  transition-property: transform, font-size;
  transition-duration: 0.5s, 0.5s;
}
#_navbar-title-mobile:hover {
  transform: scale(1.1);
}
#_navbar-home {
  color: lightgrey;
  padding-bottom: 4px;
  padding-left: 12px;
  padding-right: 12px;
}
#_navbar-about {
  color: lightgrey;
  padding-bottom: 4px;
  padding-left: 12px;
  padding-right: 12px;
}
#_navbar-experience {
  color: lightgrey;
  padding-bottom: 4px;
  padding-left: 12px;
  padding-right: 12px;
}
/************************************************
 * navbar stroke animation
 * adapted from:
 * https://codepen.io/maheshambure21/pen/QwXaRw
************************************************/
nav ul li a,
nav ul li a:after,
nav ul li a:before {
  transition: all .5s;
}
nav.stroke ul li a {
  position: relative;
}
nav.stroke ul li a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: '.';
  color: transparent;
  background: #aaa;
  height: 1px;
}
nav.stroke ul li a:hover:after {
  width: 80%;
}
/* background instead of stroke on mobile */
@media screen and (max-width: 768px) {
  nav.stroke ul li a:hover:after {
    width: 0%;
    transition: .2s;
  }
  nav.stroke ul li a:hover {
    background: #31167c;
  }
}
/************************************************/

#_content{
}

#_heading{
  height: 65vw;
  background-image: url('../static/img/header-sketch-light.jpg');
  background-repeat: no-repeat;
  background-size: 100% auto;
}
#_heading h1{
  font-size: 6.5vw/*60px*//*5vw*/;
  color: #008055;
  padding-bottom: 2vw;
}

._section-header{
  margin-top: 8%;
  margin-bottom: 5%;
}
._section-header h1{
  font-size: 30px/*2.8vw*/;
}
._section-header hr{
  color: black;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}
._greyheader {
  background-color: #e8e8e8;
  margin-top: 3%;
  margin-bottom: 20px;
}
._greyheader h3{
  padding: 1%;
  margin: 0;
}

._about-panel {
  margin-bottom: 35px;
}
._circleimage {
  width: auto;
  max-height: 200px;
  border-radius: 50%;
  margin-bottom: 6%;
}
#_about-1{}
#_about-2{}
#_about-3{}

#experience {
  margin-bottom: 10%;
}

._project{
  margin-top: 3%;
  margin-bottom: 3%;
}
._project p{
  text-align: justify;
}
._project h5{
  font-size: 23px;
}
._skills{
  padding-top: 35%;
  padding-right: 10%;
  color: #F7D7C4;
}
._skills p{
  text-align: right;
  color: #008055;
}
._project-buttons{
  padding-left: 10px;
}

._btn-purple {
  color: black;
  background-color: #dbdbdb;
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 5px;
}
._btn-purple:hover {
  color: white;
  background-color: #008055;
}

._centertable table{
  margin-left: 40%;
  margin-right: 40%;
  width: 40%;
}
._centertable th{
  padding: 8px;
}
._centertable td{
  padding: 8px;
}

._footer{
  background-color: #989898;
}
._footer a{
  color: black;
}
._footer a:hover{
  text-decoration: none;
  color: #F7D7C4;
}



