.panel-galeri {
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
    /* min-height: auto; */
}

.panel-title-galeri {
    /* padding: 20px; */
    padding-top: 60px;
    text-align: center;
}

.panel-title-galeri h1 {
    color: var(--white);
    font-size: 2.5rem;
}

.panel-galeri-show-desc {
    padding-top: 20px;
    padding-bottom: 30px;
}

.gallery-grid-container {
    min-height: 40vh;
    margin: 50px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 16px;
    padding: 16px;
}

.gallery-tile-box {
    /* background: #f0f0f0; */
    /* border: 1px solid #ccc; */
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    position: relative;
    height: 220px;
}

.gallery-tile-box-img img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: auto;
}

.gallery-tile-box-title {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--white);
    /* background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px); */
    padding: 10px;
    font-size: 26px;
    font-weight: bold;
}


/* gallery-detail */

.gallery-cover {
    height: 300px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-cover img{
    object-fit: cover;
    height: auto;
    width: 100%; 
    position: absolute; 
    top: -50%; 
    left: 0;
    filter: grayscale(10%) brightness(50%);
}

.gallery-cover-title {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--white);
    padding: 10px;
    font-size: 42px;
    font-weight: bold;
    /* backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px); */
}

.gallery-tile-box-title-left {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: left;
    color: var(--white);
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 10px 0 10px 30px;
    font-size: 1.7rem;
    font-weight: bold;
}

/* gallery-show */

:root {
    --galeri-show-height : 70vh;
    --galeri-show-width : 100%;
    --galeri-show-border-radius: 20px;
}

.panel-galeri-show {
    padding-top: 70px;
}

.galeri-show-box {
    height: var(--galeri-show-height);
    width: var(--galeri-show-width);
    /* display: flex; */
    /* text-align: center; */
    /* align-items: center; */
    /* justify-content: center; */
    /* border-radius: var(--galeri-border-radius); */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); */
    /* margin-bottom: 10px; */
    margin-top: 15px;
    margin-bottom: 15px;
    padding-left: 5px;
    padding-right: 5px;
}

.galeri-show-box-img {
    height: var(--galeri-show-height);
    width: 100%;
    border-radius: var(--galeri-show-border-radius);
    /* border: black 1px solid; */
}

.galeri-show-tint {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.0) 50%,rgba(0,0,0,1) 100%);
}

.galeri-show-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: var(--galeri-border-radius);
    position: absolute;
    bottom: 0;
    z-index: 1;
    opacity: 1;
}

.galeri-show-tint-container {
    height: 100%;
    width: 100%;
    /* backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px); */
    position: relative;
    top: 0;
    border-radius: var(--galeri-show-border-radius);
    z-index: 3;
}

.galeri-show-box-title {
    display: flex;
    align-items: flex-end; /* Aligns items to the bottom */
    width: 100%;
    height: 100%;
    padding: 10px;
    background-color: linear-gradient(180deg, rgba(0,0,0,1) 0%,rgba(0,0,0,1) 100%);
    position: absolute;
    bottom: 0;
    border-radius: 0 0 var(--galeri-show-border-radius) var(--galeri-show-border-radius);
    z-index: 2;
}

.galeri-show-box-title > h5 {
    color: var(--white);
    font-size: 15px;
    font-weight: bold;
}

/* responsive */

@media screen and (min-width: 320px) {
    .gallery-cover {
        height: 150px;
    }
    
    .gallery-cover img{
        top: 0; 
    }
}

@media screen and (min-width: 425px) {
    .gallery-cover {
        height: 200px;
    }
    
    .gallery-cover img{
        top: 0; 
    }
}

@media screen and (min-width: 576px) {
    .gallery-cover {
        height: 200px;
    }
    
    .gallery-cover img{
        top: 0; 
    }
}

@media screen and (min-width: 768px) {
    .gallery-cover {
        height: 200px;
    }
    
    .gallery-cover img{
        top: 0; 
    }
}

@media screen and (min-width: 992px) {
    .gallery-cover {
        height: 300px;
    }
    
    .gallery-cover img{
        top: 0; 
    }
}

@media screen and (min-width: 1200px) {
    .gallery-cover {
        height: 300px;
    }
    
    .gallery-cover img{
        top: -50px; 
    }
}
