

.text-portfolio {

    font-family    : "Public Sans", sans-serif;
    font-size      : 18px;
    font-weight    : 600;
    color          : #fff;
    text-transform : uppercase;
    letter-spacing : .3em;
    margin-top     : 0;
    margin-left    : 1.2rem;
    margin-bottom  : 3.2rem;
    position       : relative;
    text-align     : center;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #00000000;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.3);
    width: 80%;
    margin: 0 auto;
    padding: 10px;
}
.gallery-item {
    flex-basis: 32.7%;
    margin-bottom: 6px;
    opacity: .85;
    cursor: pointer;
}
.gallery-item:hover {
    opacity: 1;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-content {
    font-size: .8em;
}


.lightbox {
    position: fixed;
    display: none;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;              
    overflow: auto;
    top: 0;
    left: 0;
}
.lightbox-content {
    position: relative;
    width: 70%;
    height: 70%;
    margin: 5% auto;
}
.lightbox-content img {
    border-radius: 7px;
    box-shadow: 0 0 3px 0 rgba(225, 225, 225, .25);
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 7px;
    top: 45%;
    cursor: pointer;
}
.lightbox-prev {
    left: 0;
}
.lightbox-next {
    right: 0;
}
.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: .8;
}

@media (max-width: 767px) {
    .gallery-container {
        width: 100%;
    }
    .gallery-item {
        flex-basis: 49.80%;
        margin-bottom: 3px;
    }
    .lightbox-content {
        width: 80%;
        height: 60%;
        margin: 15% auto;
    }
}
@media (max-width: 480px) {
    .gallery-item {
        flex-basis: 100%;
        margin-bottom: 1px;
    }
    .lightbox-content {
        width: 90%;
        margin: 20% auto;
    }
}

.gallery-container-atl {
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #00000000;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.3);
    width: auto;
    margin: 0 auto;
    padding: 10px;
}
.gallery-item-atl {
    flex-basis: 32.7%;
    margin-bottom: 6px;
    opacity: .85;
    cursor: pointer;
}
.gallery-item-atl:hover {
    opacity: 1;
}
.gallery-item-atl img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-content-atl {
    font-size: .8em;
}

.lightbox-atl {
    position: fixed;
    display: none;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;              
    overflow: auto;
    top: 0;
    left: 0;
}
.lightbox-content-atl {
    position: relative;
    width: 70%;
    height: 70%;
    margin: 5% auto;
}
.lightbox-content-atl img {
    border-radius: 7px;
    box-shadow: 0 0 3px 0 rgba(225, 225, 225, .25);
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lightbox-prev-atl,
.lightbox-next-atl {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 7px;
    top: 45%;
    cursor: pointer;
}
.lightbox-prev-atl {
    left: 0;
}
.lightbox-next-atl {
    right: 0;
}
.lightbox-prev-atl:hover,
.lightbox-next-atl:hover {
    opacity: .8;
}

@media (max-width: 767px) {
    .gallery-container-atl {
        width: 100%;
    }
    .gallery-item-atl {
        flex-basis: 49.80%;
        margin-bottom: 3px;
    }
    .lightbox-content-atl {
        width: 80%;
        height: 60%;
        margin: 15% auto;
    }
}
@media (max-width: 480px) {
    .gallery-item-atl {
        flex-basis: 100%;
        margin-bottom: 1px;
    }
    .lightbox-content-atl {
        width: 90%;
        margin: 20% auto;
    }
}