#project-buttons {
    background-color: var(--dark-green);
    padding: 20px 0;
}

#project-buttons .row {
    justify-content: center;
}

#project-buttons button {
    font-size: 20px;
    color: var(--white);
    line-height: 24px;
    font-weight: 300;
    display: flex;
    flex-wrap: wrap;
    padding: 10px 24px;
    border-radius: 10px;
    border: none;
    outline: none;
    margin: 0 5px;
}

#project-buttons button:first-of-type {
    margin-left: 0;
}

#project-buttons button:last-of-type {
    margin-right: 0;
}

#project-buttons button:hover,
#project-buttons button.active {
    background-color: rgba(157, 205, 69, .2);
    color: var(--light-green);
}

@media only screen and (max-width: 1480px) {
    #project-buttons button {
        font-size: 16px;
    }
}

@media only screen and (max-width: 1279.9px) {
    #project-buttons button {
        font-size: 16px;
        padding: 13px;
        margin: 0;
    }

}

@media only screen and (max-width: 1140px) {
    #project-buttons button {
        font-size: 16px;
        padding: 10px;
        margin: 0;
    }
}

@media only screen and (max-width: 991.8px) {
    #project-buttons {
        position: relative;
    }

    #mobile-filter {
        position: absolute;
        top: 64px;
        z-index: -9;
        opacity: 0;
        display: block;
        background-color: var(--dark-green);
        padding: 15px;
    }

    #mobile-filter.visible {
        opacity: 1;
        z-index: 4;
    }

    #project-buttons .row {
        justify-content: flex-start;
    }

    #mobile-filter .button-wrapper {
        width: 33.33%;
        flex-basis: 33.33%;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: flex-start;
        margin-bottom: 5px;
    }

    #project-buttons button {
        font-size: 18px;
        padding: 13px;
        margin: 0;
    }

    #projects-filter {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    #filter-button {
        font-size: 14px;
        text-transform: uppercase;
        color: var(--white);
        font-weight: 600;
        text-decoration-line: none;

        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    #filter-button:before {
        content: "";
        display: block;
        position: absolute;
        right: 15px;
        top: calc(50% - 7px);
        flex-basis: 21px;
        width: 21px;
        height: 13px;
        mask: url('../icons/filter-arrow.svg') no-repeat center;
        -webkit-mask: url('../icons/filter-arrow.svg') no-repeat center;
        -webkit-mask-size: 100%;
        mask-size: 100%;
        background-color: var(--light-green);
        webkit-transition: all .4s ease-out;
        -moz-transition: all .4s ease-out;
        -o-transition: all .4s ease-out;
        transition: all .4s ease-out;
        transform: rotate(180deg);
    }

    #filter-button[aria-expanded="true"]:before {
        transform: rotate(0deg);
    }

    #filter-value {
        font-size: 14px;
        text-transform: uppercase;
        color: var(--light-green);
        font-weight: 600;
        text-decoration-line: none;
        margin-left: 14px;
    }

    #filter-icon {
        position: relative;
        width: 26px;
        flex-basis: 26px;
        height: 19px;
        display: inline-flex;
        margin-right: 14px;
    }

    #filter-icon:before {
        content: "";
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        flex-basis: 26px;
        width: 26px;
        height: 19px;
        mask: url('../icons/filter.svg') no-repeat center;
        -webkit-mask: url('../icons/filter.svg') no-repeat center;
        -webkit-mask-size: 100%;
        mask-size: 100%;
        background-color: var(--light-green);
        webkit-transition: all .4s ease-out;
        -moz-transition: all .4s ease-out;
        -o-transition: all .4s ease-out;
        transition: all .4s ease-out;
    }

}

@media only screen and (max-width: 767.8px) {
    #mobile-filter .button-wrapper {
        width: 50%;
        flex-basis: 50%;
    }


}

@media only screen and (max-width: 440.8px) {
    #mobile-filter .button-wrapper {
        width: 100%;
        flex-basis: 100%;
    }

    #filter-value,
    #filter-button {
        font-size: 13px;
    }


}

/*
===================
PROJECTS
===================
 */
#projects {
    background-color: var(--dark-green);
    padding: 5px 0;
    position: relative;
    z-index: 2;
}

#projects .row {
    margin-left: -10px;
    margin-right: -10px;
}

.project-wrapper {
    padding: 5px;
}

.project-slide-inner {
    width: 100%;
    display: flex;
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-end;
    height: 358px;
    border-radius: 5px;

}

.project-slide-inner:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(4deg, rgba(10, 39, 37, 0.9999999999999999) 0%, rgba(10, 39, 37, 0) 100%);
    z-index: 1;
    opacity: 0;
}

.project-slide-inner img.project-slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-bottom {
    position: relative;
    z-index: 4;
    width: 100%;
    flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 35px;
    -webkit-transition: all .4s ease-out;
    -moz-transition: all .4s ease-out;
    -o-transition: all .4s ease-out;
    transition: all .4s ease-out;
    opacity: 0;
}

.project-info {
    width: calc(100% - 60px);
    flex-basis: calc(100% - 60px);
}

.project-info .h3 {
    margin-bottom: 5px;
}

.project-short-text {
    margin-bottom: 0;
}

.project-link-wrapper {
    width: 60px;
    flex-basis: 60px;
}

.project-slider-link > * {
    -webkit-transition: all .4s ease-out;
    -moz-transition: all .4s ease-out;
    -o-transition: all .4s ease-out;
    transition: all .4s ease-out;
    text-decoration-line: none;
}

.project-slider-link.responsive > * {
    -webkit-transition: all .4s ease-out;
    -moz-transition: all .4s ease-out;
    -o-transition: all .4s ease-out;
    transition: all .4s ease-out;
    text-decoration-line: none;
}

.project-slider-link:hover {
    text-decoration-line: none;
}

.project-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--light-green);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    -webkit-transition: all .4s ease-out;
    -moz-transition: all .4s ease-out;
    -o-transition: all .4s ease-out;
    transition: all .4s ease-out;
}

.project-slider-link:hover .project-arrow {
    background-color: var(--light-green);
}

.project-slider-link:hover .project-bottom,
.project-slider-link:hover .project-slide-inner:before {
    opacity: 1;
}

.projects-slider-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
    position: relative;
    margin: 30px auto;
}

.load-more-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

#load-more-projects {
    text-transform: uppercase;
    font-weight: 600;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    outline: none;
    webkit-transition: all .4s ease-out;
    -moz-transition: all .4s ease-out;
    -o-transition: all .4s ease-out;
    transition: all .4s ease-out;
    margin: 35px auto 40px auto;
}

#load-more-projects .icon {
    display: flex;
    flex-basis: 13px;
    width: 13px;
    height: 8px;
    mask: url('../icons/load-arrow.svg') no-repeat center;
    -webkit-mask: url('../icons/load-arrow.svg') no-repeat center;
    -webkit-mask-size: 100%;
    mask-size: 100%;
    background-color: var(--light-green);
    webkit-transition: all .4s ease-out;
    -moz-transition: all .4s ease-out;
    -o-transition: all .4s ease-out;
    transition: all .4s ease-out;
    margin-left: 10px;
}

#load-more-projects:hover {
    color: var(--white);
}

#load-more-projects:hover .icon {
    background-color: var(--white);
}

@media only screen and (min-width: 992px) {
    .project-slide-inner {
        height: 300px;
    }
}

@media only screen and (min-width: 1280px) {
    .project-slide-inner {
        height: 358px;
    }
}

@media only screen and (max-width: 991.8px) {
    .project-bottom {
        display: none !important;
    }

    .project-slider-link:hover .project-bottom, .project-slider-link:hover .project-slide-inner:before {
        display: none;
        opacity: 0;
    }

    .project-slide-inner {
        padding-top: 100%;
        height: auto;
    }
}
