.portfolio__header {
    background: url('images/portfolio-bg.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    padding: 90px 0 70px;
    text-align: center;
}

.portfolio__title {
    font-size: 90px;
    font-family: grotesk;
    margin-bottom: 30px;
}

.portfolio__nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.portfolio__nav-item {
    padding: 15px 30px;
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
    font-family: "gothampro-bold";
    transition: 300ms ease all;
    background: #0A1E2D;
}

.portfolio__nav-item--active {
    background: #FF9800;
    color: #fff;
    padding: 20px 30px;
}

.portfolio__nav-item:hover {
    background: #FF9800;
    color: #fff;
}

.portfolio__container {
    display: flex;
    flex-wrap: wrap;
    padding: 50px 15px 10px;
    justify-content: center;
}

.portfolio__container--direction_column {
    flex-direction: column;
}

.portfolio__load-more-button {
    margin: 0 auto 70px;
    max-width: 260px;
    display: flex;
}

.portfolio__page-button {
    display: none;
}

.portfolio--service-page {
    background: #fff;
    position: relative;
    padding-bottom: 100px;
    padding-top: 120px;
}

.portfolio--service-page::before {
    content: '';
    position: absolute;
    width: 65%;
    height: calc(100% - 120px);
    top: 120px;
    background: #F7F7F7;
    left: calc(50% - 32.5%);
}

.portfolio--service-page .portfolio__header {
    background: none;
    position: relative;
    z-index: 2;
    padding: 90px 0 0;
}

.portfolio--service-page .portfolio__nav {
    display: none;
}

.portfolio--service-page .portfolio__title {
    font-size: 60px;
    font-family: 'gothampro-bold';
    color: #002344;
}

.portfolio--service-page .portfolio__load-more-button {
    display: none;
}

.portfolio__page-button {
    margin: 0 auto;
    width: 290px;
    color: #fff;
    position: relative;
    z-index: 2;
}

.portfolio--service-page .portfolio__page-button {
    display: flex;
}

@media screen and (max-width: 1170px) {
    .portfolio__title {
        font-size: 60px;
    }
}

@media screen and (max-width: 1399px) {
    .portfolio--service-page .portfolio__title {
        font-size: 40px;
    }
}

@media screen and (max-width: 989px) {
    .portfolio__title {
        font-size: 40px;
    }
    .portfolio--service-page::before {
        content: none;
    }
    .portfolio--service-page {
        padding-top: 0;
        background: #ffff;
    }
}

@media screen and (max-width: 768px) {
    .portfolio__title {
        font-size: 30px;
    }
    .portfolio__nav {
        flex-direction: column;
    }
    .portfolio__nav-item {
        width: 80%;
    }
}
.portfolio--with-categories .portfolio__nav{
    display: flex;
}