.py-100 {
    padding: 80px 0 !important;
}

.pt-100 {
    padding: 80px 0 0 0 !important;
}

.py-50 {
    padding: 50px 0 !important;
}

.pb-50 {
    padding-bottom: 50px 0 !important;
}

@media (max-width: 767px) {
    .py-100 {
        padding: 20px 0 !important;
    }
    .pt-100 {
        padding: 20px 0 0 0 !important;
    }
    .py-50 {
        padding: 10px 0 !important;
    }
    .pb-50 {
        padding-bottom: 10px 0 !important;
    }
}

.img-container {
    margin: 10vh auto;
    max-width: 100%;
    display: grid;
    grid-gap: 5px;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    grid-auto-rows: 400px;
    grid-auto-flow: dense;
}

.img-container div {
    text-align: center;
    padding: 1rem 0;
    color: white;
    font-size: 3rem;
    text-transform: uppercase;
    background: rgba(0, 0, 0, .2);
    overflow: hidden;
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.img-container div img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: all .5s;
}

.img-container div.show::before {
    content: '';
    display: block;
    position: fixed;
    z-index: 555;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .6);
}

.img-container div.show img {
    position: fixed;
    top: 0;
    left: 0;
    margin: 30px;
    align-self: center;
    object-fit: contain;
    z-index: 666;
    width: calc(100% - 60px);
    height: calc(100% - 60px);
    filter: drop-shadow(0 3px 15px black);
    cursor: url(close-button.png), grab;
    /* custom cursor to signal close on click */
}

.img-container div:not(.show):hover img {
    cursor: pointer;
    transform: scale(1.3);
}

.horizontal {
    grid-column: span 2;
}

.vertical {
    grid-row: span 2;
}

.big {
    grid-column: span 2;
    grid-row: span 2;
}

.active div:not(.show) img {
    filter: blur(3px);
}

.brand-cate {
    margin: 4em 0;
}

.n-btn {
    cursor: pointer;
}

.zoom-container {
    max-width: 100%;
}

.zoom-container div {
    text-transform: uppercase;
    overflow: hidden;
    padding: 0;
    display: flex;
    justify-content: center;
}

.zoom-container div img {
    display: block;
    object-fit: cover;
    object-position: center;
    transition: all .5s;
}

.zoom-container div.show::before {
    content: '';
    display: block;
    position: fixed;
    z-index: 555;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .6);
}

.zoom-container div.show img {
    position: fixed;
    top: 0;
    left: 0;
    margin: 30px;
    align-self: center;
    object-fit: contain;
    z-index: 666;
    width: calc(100% - 60px);
    height: calc(100% - 60px);
    filter: drop-shadow(0 3px 15px black);
    cursor: url(close-button.png), grab;
    /* custom cursor to signal close on click */
}

.zoom-container div:not(.show):hover img {
    cursor: pointer;
    transform: scale(1.3);
}


.mh-800{max-height: 800px;}
.mh-600{max-height: 600px;}
.mh-400{max-height: 400px;}
.mh-500{max-height: 500px;}
.mh-350{max-height: 350px;}
.mh-300{max-height: 300px;}
.mh-200{max-height: 202px;}
.mh-150{max-height: 150px;}