html {
  position: relative;
  min-height: 100%;
}

body {
/*  padding-top: 5rem;*/
  font-family: 'Lato';
  margin-bottom: 60px;
  overflow-x: hidden;
}

.header {
  background-color: #03192f;
  color: white
}

.navbar {
/*  Remove these lines to push down content for mobile menu*/
  position: absolute;
  top: 0;
  width: 100%;
/*end*/
  background-color: #03192f;
  padding-top: 2rem;
  padding-bottom: 2rem;
  z-index: 100;
}


@media (min-width: 768px) {
  .navbar {
    position: relative;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  
  .navbar-dark, .bg-dark {
    background-color: white;
  }
  
  .navbar-dark .navbar-nav .nav-link {
    color: rgba(0,0,0,.5)
  }
  
  .navbar-dark .navbar-nav .nav-link:hover,
  .navbar-dark .navbar-nav .nav-link:focus {
    color: rgba(0,0,0,.9)
  }
  
  .navbar-dark .navbar-nav .active > .nav-link {
    color: rgba(0,0,0,1)
  }
}

nav .navbar-toggler {
  z-index: 10;
}

/* 
  May be able to remove this if .name 
  only exists on mobile
*/
.name {
  padding-top: 1rem;
  padding-bottom: 2rem;
  width: 100%;
  text-align: center;
  color: white;
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  padding-left: 80px;
  padding-right: 80px;
  font-size: 14pt;
}

@media (min-width: 768px) { 
  .name {
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 16pt;
  }
}

main {
  margin-top: 130px;
  margin-bottom: 8rem;
}

@media (min-width: 768px) {
  main {
    margin-top: 20px;
  }
}

main .row div {
  padding-top: 10px;
  padding-bottom: 10px;
  
}

#headshot {
  display: block;
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  max-width: 250px;
  height: auto;
}


main h1 {
  margin-bottom: 2rem;
}


.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
  background-color: #f5f5f5;
}

.footer a {
  color: rgba(0,0,0,0.7);
}


/** RESEARCH SECTION **/
.research-section {
  margin-bottom: 40px
}

/** TEACHING SECTION **/
.teaching-section {
  margin-bottom: 40px;
}