﻿@import url(/assets/css/base-style.css);
@import url(/assets/css/header.css);
@import url(/assets/css/footer.css);

.gallery-box, .gallery-wrapper {
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
}

.gallery-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-gap: 50px;
    margin: 0 auto;
}


    .gallery-box .no-data,
    .gallery-wrapper .no-data {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 450px;
    }

    .gallery-wrapper .gallery-card {
        position: relative;
        width: 400px;
        height: 300px;
        cursor: pointer;
        transition: 1.2s;
    }

        .gallery-wrapper .gallery-card .gallery-card-thumb {
            display: flex;
            justify-content: center;
            align-items: center;
            position: absolute;
            width: 100%;
            height: 100%;
            bottom: 0;
            left: 0;
            text-align: center;
            box-sizing: border-box;
        }

            .gallery-wrapper .gallery-card .gallery-card-thumb a {
                width: 100%;
                height: 100%;
            }

            .gallery-wrapper .gallery-card .gallery-card-thumb img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }



            .gallery-wrapper .gallery-card .gallery-card-thumb.title {
                background: #11111192;
                transition: 0.5s;
            }

        .gallery-wrapper .gallery-card:hover {
        }

            .gallery-wrapper .gallery-card:hover .gallery-card-thumb.title {
                height: 60px;
            }

        .gallery-wrapper .gallery-card .gallery-card-thumb.title:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 50%;
            height: 100%;
            background: rgba(255,255,255, 0.1);
            border-radius: 15px 0 0 15px;
        }

        .gallery-wrapper .gallery-card .gallery-card-thumb.title h3 {
            text-shadow: 0 2px 5px rgba(0,0,0, .2);
            color: #fff;
            margin: 0;
            padding: 0;
            transition: 0.5s;
        }

.gallery {
    column-count: 2;
    column-gap: 1rem;
}

@media (min-width: 576px) {
    .gallery {
        column-count: 3;
    }
}

@media (min-width: 992px) {
    .gallery {
        column-count: 3;
    }
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1rem;
}


    .gallery-item img {
        width: 100%;
        display: block;
        object-fit: cover;
    }

.album-title {
    font-size: 22px;
    margin-bottom: 2rem;
}

/* =========================== Responsive =========================== */
@media (min-width: 320px) {
    .gallery-wrapper {
        max-width: 90% !important;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 10px;
    }

        .gallery-wrapper .gallery-card {
            width: 100%;
        }

            .gallery-wrapper .gallery-card .gallery-card-thumb.title h3 {
                font-size: 1.3rem;
            }
}

@media (min-width: 600px) {
    .gallery-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .gallery-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .gallery-wrapper {
        max-width: 1140px !important;
    }
}

@media (min-width: 1400px) {
    .gallery-wrapper {
        max-width: 1320px;
    }
}
