@import url(https://fonts.googleapis.com/css?family=Montserrat:700);
@import url(https://fonts.googleapis.com/css?family=Merriweather);
/*body {*/
/*    font-family: "Merriweather", serif;*/
/*}*/

/*h1,*/
/*h2,*/
/*h3,*/
/*h4,*/
/*h5,*/
/*h6 {*/
/*    font-family: "Montserrat", sans-serif;*/
/*}*/

/**,*/
/**:before,*/
/**:after {*/
/*    box-sizing: border-box;*/
/*}*/

#main-filter {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-pack: center;
    justify-content: center;
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
}

#main-filter .nav {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-flow: row wrap;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-flex: 1;
    flex: 1 1 auto;
    padding: 10px 20px;
    margin-top: 40px;
}

#main-filter .nav-item {
    position: relative;
    padding: 0 5px;
    margin: 0 5px;
    font-size: 1.5em;
    font-weight: 700;
    color: #595959;
    text-decoration: none;
    line-height: 1.5;
}
#main-filter .nav-item:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #595959;
    -webkit-transition: all 500ms;
    transition: all 500ms;
}
#main-filter .nav-item.active {
    color: black;
    -webkit-transition: all 350ms;
    transition: all 350ms;
}
#main-filter .nav-item.active:before {
    width: 100%;
}

.portfolio {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-flow: row wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    margin-top: 40px;
}

.project {
    position: relative;
    -webkit-box-flex: 1;
    flex: 1 0 calc(100% - 20px);
    margin: 10px;
}

.project:hover .project-info {
    background: rgba(237, 183, 19, 0.8);
    transition: all, 0.3s, linear;
    display: none;

}
@media (min-width: 520px) {
    .project {
        -webkit-box-flex: 0;
        flex: 0 0 calc((100% / 2) - 20px);
    }
}
@media (min-width: 860px) {
    .project {
        -webkit-box-flex: 0;
        flex: 0 0 calc((100% / 4) - 20px);
    }
}

.project-image img {
    display: block;
    /*width: 100%;*/
    /*height: auto;*/
    height: 50%;
    border-radius: 50%;
    max-width: 182px;
    max-height: 182px;
    margin: auto;
}
@-moz-document url-prefix() {
  .project-image img {
    clip-path: circle(6rem);
  }
}
.work-title{
    margin-top: 10px;
    text-align: center;
}
.project-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    padding: 40px;
    color: #f6f6f6;
    background: rgba(89, 89, 89, 0.8);
    opacity: 0;
    -webkit-transition: all 350ms ease-in;
    transition: all 350ms ease-in;
}
.project-info:hover {
    opacity: 1;
}
@media (max-width: 520px) {
    .project-info {
        opacity: 0.8;
    }
}

.project-info-title {
    margin: 0 0 0.5em;
    font-size: 2.5em;
    text-align: center;
    text-transform: uppercase;
    display: none;
}

.project-info-button {
    padding: 0.5em 1em;
    color: inherit;
    text-decoration: none;
    border: 1px solid #f6f6f6;
    border-radius: 3px;
    -webkit-transition: all 350ms;
    transition: all 350ms;
}
.project-info-button:hover {
    color: #595959;
    background: #f6f6f6;
    border-color: #f6f6f6;
}

.opacity{
    opacity: 0.35;
}
