.container {
  margin: 0 auto;
  width: 80%;
}

footer { 
  text-align: center;
}

nav {
  display: flex;
  flex-direction: column;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 5px;
}

nav > a {
 flex: 1;
 text-align: center;
 text-decoration: none;
 color: #fff;
}


.nav-item.active 
{
  text-decoration: underline;
}


a.tag {
  background-color: #ddd;
  color: #333;
  display: inline-block;
  padding: 0.1em;
  font-size: 0.9em;
  text-decoration: none;
}



.center_image
{
  text-align: center;
  display: block;
}

.pagination {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 1em auto;
  padding: 0;
}

.pagination > .page-item {
  border: 1px solid #ddd;
  flex: 1;
  text-align: center;
  width: 5em;
}

.pagination .page-link {
  display: block;
  color: #000;
  text-decoration: none;
}

.pagination > .page-item.active {
  background-color: #333;
}

.pagination > .page-item.active > .page-link {
  color: #fff;
}

.pagination > .page-item.disabled > .page-link {
  color: #ddd;
}

@media only screen and (min-width: 768px) {
  nav {flex-direction: row; }

  .project-container { display: flex; }
  .project-container .project-list { width: 20%; }
  .project-container .project { flex: 1; }
  
  .pagination {
    width: 30%
  }
}


#social a {
  margin: 0 4px;
  text-decoration: none;
}

img 
{
  max-width: 100%;
  height: auto;
}
