.portfolio-container {
    /* display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row; */
}

.portfolio-container img {
    width: 100%;
    display: inline-block;
}

.portfolio-filter {
    padding: 15px 0;
    display: flex;
    justify-content: center;
}

.portfolio-filter a {
    margin-right: 6px;
    color: black;
    text-decoration: none;
    padding: 4px 15px;
    display: inline-block;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    border: 1px solid transparent;
}

.portfolio-filter a:hover {
    color: var(--primary-color);
    background-color: white;
    border: 1px solid var(--primary-color);
    transition: 0.3s;
}

.portfolio-filter a.current {
    color: white;
    border-bottom: 3px solid var(--primary-color);
    background: var(--primary-color);
}

.isotope-item {
    z-index: 2;
}

.isotope-hidden.isotope-item {
    pointer-events: none;
    z-index: 1;
}

.isotope,
.isotope .isotope-item {
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    transition-duration: 0.8s;
}

.isotope {
    -webkit-transition-property: height, width;
    -moz-transition-property: height, width;
    transition-property: height, width;
}

.isotope .isotope-item {
    -webkit-transition-property: -webkit-transform, opacity;
    -moz-transition-property: -moz-transform, opacity;
    transition-property: transform, opacity;
}

.grid-item {
    width: calc(33.3% - 30px);
    margin: 5px;
    position: relative;
    overflow: hidden;
}

span.play {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    font-size: 50px !important;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

span.play i {
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
}

@media (max-width: 1199px) {
    .grid-item {
        width: calc(100% - 10px);
    }
}