*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    list-style-type: none;
    text-decoration: none;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/*  */

.m-wrpr .gallery-wrpr {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px auto 180px auto;
}

@media only screen and (max-width: 1200px) {
    .m-wrpr .gallery-wrpr {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width: 850px) {
    .m-wrpr .gallery-wrpr {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media only screen and (max-width: 580px) {
    .m-wrpr .gallery-wrpr {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.gallery-card {
    border-radius: 6px;
    background: #fff;
    border: 1px solid #ececec;
    overflow: hidden;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.gallery-card-image {     
    position: relative;
    text-align: center;
    color: white;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.gallery-card-image a{
    display: block;
    height: inherit;
}

.gallery-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    backdrop-filter: blur(3px);
}


.gallery-card .gallery-card-title {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #252a32ad;
    padding: 6px 8px;
    border-radius: 5px;
    text-transform: capitalize;
}

.album-card {
    border-radius: 6px;
    background: #fff;
    border: 1px solid #ececec;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
}

.album-card-image {     
    position: relative;
    text-align: center;
    color: white;
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.album-card-image a{
    display: block;
    height: inherit;
}

.album-card img {
    float: right;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
}

.album-card .album-card-title {
    position: absolute;
    top: 15px;
    left: 15px;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    background-color: #252a32ad;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 6px 8px;
    border-radius: 5px;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(1px);
    transition: 0.3s;
}

.album-card .album-card-title:hover {
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
}


.gallery-card-caption {
    background-color: darkslategray;
    color: white;
    padding: 5px 4px;
    border-radius: 0px;
    font-size: 0.8375rem;
    width: 100%;
}


/* .gallery-card-caption {
    position: absolute;
    bottom: 8px;
    left: 16px;
    background-color: #252a32ad;
    color: white;
    font-size: 0.8375rem;
    padding: 6px 8px;
    border-radius: 5px;
    text-transform: capitalize;
} */