.gal-cell {
    margin-bottom: 25px;
    transition: var(--main-easing);
    transform-origin: center;
}
.and-gal-wrap .gal-cell:last-child {
    margin-bottom: 0;
}
.gal-cell.type-1 {
    height: 250px;
}
.gal-cell.type-2 {
    height: 446px;
}
.gal-cell.type-3 {
    height: 721px;
}
.gal-cell video,
.gal-cell img {
    transform-origin: center;
    transition: var(--main-easing);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    display: block;
    max-width: 722px;
    max-height: 722px;
    min-width: 100%;
    min-height: 100%;
}
.gal-cell:hover {
    transform: scale(0.95);
}
.gal-cell:hover video,
.gal-cell:hover img {
    transform: translate(-50%, -50%) scale(1.05);
}

@media (max-width: 1024px) {
    .gal-cell.type-1 {height: 200px;}
    .gal-cell.type-2 {height: 396px;}
    .gal-cell.type-3 {height: 621px;}
}
@media (max-width: 768px) {
    .gal-cell.type-1,
    .gal-cell.type-2,
    .gal-cell.type-3 {height: 280px;}
}