@import 'https://fonts.googleapis.com/css?family=Lato|Roboto+Slab:700';
html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}



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



.wrap {
  margin: 0 auto;
  max-width: 1000px;
  width: 100%;
}



.gallery-wrap,
#gallery {
  overflow: hidden;
}

#filters {
  margin: 1%;
  padding: 0;
  list-style: none;
  overflow: hidden;
  width: 100%;
  display: flex;
  justify-content: center;
}

#filters li {
  float: left;
}

#filters li span {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #666;
  cursor: pointer;
  text-transform: uppercase;
  transition: all ease-in-out 0.25s;
}

#filters li:hover span {
  color: #000;
}

#filters li span.active {
  background: #0f1e49;
  color: #fff;
}

.gallery-item {
  float: left;
  position: relative;
  z-index: 10;
  display: none;
}


.gallery-item:hover .details,
.gallery-item:hover .overlay {
  opacity: 1;
}

@media (max-width: 30em) {
  .wrap {
    padding-left: 1em;
    padding-right: 1em;
  }

  .gallery-item {
    float: none;
    width: 100%;
  }
}